本文整理汇总了PHP中QBaseClass::__get方法的典型用法代码示例。如果您正苦于以下问题:PHP QBaseClass::__get方法的具体用法?PHP QBaseClass::__get怎么用?PHP QBaseClass::__get使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类QBaseClass
的用法示例。
在下文中一共展示了QBaseClass::__get方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: __get
/**
* Override method to perform a property "Get"
* This will get the value of $strName
*
* @param string $strName Name of the property to get
* @return mixed
*/
public function __get($strName)
{
switch ($strName) {
case 'KeyName':
return $this->strKeyName;
case 'Table':
return $this->strTable;
case 'Column':
return $this->strColumn;
case 'PropertyName':
return $this->strPropertyName;
case 'VariableName':
return $this->strVariableName;
case 'VariableType':
return $this->strVariableType;
case 'IsType':
return $this->blnIsType;
default:
try {
return parent::__get($strName);
} catch (QCallerException $objExc) {
$objExc->IncrementOffset();
throw $objExc;
}
}
}
示例2: __get
public function __get($strName)
{
switch ($strName) {
case "FormId":
return $this->strFormId;
case "CallType":
return $this->strCallType;
case "DefaultWaitIcon":
return $this->objDefaultWaitIcon;
case "FormStatus":
return $this->intFormStatus;
case "HtmlIncludeFilePath":
return $this->strHtmlIncludeFilePath;
case "CssClass":
return $this->strCssClass;
case "UrlHash":
return $this->strUrlHash;
default:
try {
return parent::__get($strName);
} catch (QCallerException $objExc) {
$objExc->IncrementOffset();
throw $objExc;
}
}
}
示例3: __get
/**
* The PHP Magic function for this class
* @param string $strName Name of the property to fetch
*
* @return int|mixed|null|string
* @throws Exception|QCallerException
*/
public function __get($strName)
{
switch ($strName) {
case 'EventName':
$strEvent = constant(get_class($this) . '::EventName');
if ($this->strSelector) {
$strEvent .= '","' . addslashes($this->strSelector);
}
return $strEvent;
case 'Condition':
return $this->strCondition;
case 'Delay':
return $this->intDelay;
case 'JsReturnParam':
$strConst = get_class($this) . '::JsReturnParam';
return defined($strConst) ? constant($strConst) : '';
case 'Selector':
return $this->strSelector;
default:
try {
return parent::__get($strName);
} catch (QCallerException $objExc) {
$objExc->IncrementOffset();
throw $objExc;
}
}
}
示例4: __get
public function __get($strName)
{
switch ($strName) {
case "Once":
return $this->blnOnce;
case "Rendered":
return $this->blnRendered;
case "Selector":
return $this->strSelector;
case "EventName":
return $this->strEventName;
case "Action":
return $this->objAction;
case "KeyCode":
return $this->strKeyCode;
case "Control":
return $this->objControl;
default:
try {
return parent::__get($strName);
} catch (QCallerException $objExc) {
$objExc->IncrementOffset();
throw $objExc;
}
}
}
示例5: __get
public function __get($strName)
{
switch ($strName) {
case "Name":
return $this->strName;
case "Value":
return $this->strValue;
case "Selected":
return $this->blnSelected;
case "Expanded":
return $this->blnExpanded;
case "ChildItemArray":
return (array) $this->objChildItemArray;
case "ItemId":
return $this->strItemId;
case "TreeNav":
return $this->objTreeNav;
case "ParentItemId":
return $this->strParentItemId;
default:
try {
return parent::__get($strName);
} catch (QCallerException $objExc) {
$objExc->IncrementOffset();
throw $objExc;
}
}
}
示例6: __get
public function __get($strName)
{
switch ($strName) {
case "Title":
return $this->strTitle;
case "Transition":
return $this->strTransition;
case "FormId":
return $this->strFormId;
case "CallType":
return $this->strCallType;
case "ActiveEvent":
return $this->objActiveEvent;
case "MainWindow":
return $this->pxyMainWindow;
case "UseHeader":
return $this->blnUseHeader;
case "Controls":
return $this->arrControls;
case "SkipMainWindowRender":
return $this->blnSkipMainWindowRender;
case "ForceRenderFormState":
return $this->ForceRenderFormState;
default:
try {
return parent::__get($strName);
} catch (QCallerException $objExc) {
$objExc->IncrementOffset();
throw $objExc;
}
}
}
示例7: __get
public function __get($strName)
{
switch ($strName) {
case 'Event':
return $this->objEvent;
default:
try {
return parent::__get($strName);
} catch (QCallerException $objExc) {
$objExc->IncrementOffset();
throw $objExc;
}
}
}
示例8: __get
public function __get($strName) {
switch ($strName) {
case "GroupingId": return $this->strGroupingId;
case "Modified": return $this->blnModified;
default:
try {
return parent::__get($strName);
} catch (QCallerException $objExc) {
$objExc->IncrementOffset();
throw $objExc;
}
}
}
示例9: __get
public function __get($strName)
{
switch ($strName) {
case 'State':
return $this->intState;
case 'Buffer':
return $this->strBuffer;
default:
try {
return parent::__get($strName);
} catch (QCallerException $objExc) {
$objExc->IncrementOffset();
throw $objExc;
}
}
}
示例10: __get
public function __get($strName)
{
switch ($strName) {
case "FormId":
return $this->strFormId;
case "CallType":
return $this->strCallType;
default:
try {
return parent::__get($strName);
} catch (QCallerException $objExc) {
$objExc->IncrementOffset();
throw $objExc;
}
}
}
示例11: __get
public function __get($strName)
{
switch ($strName) {
case "Src":
return $this->strControlId;
case "Alt":
return $this->objForm;
case "Href":
return $this->strActionParameter;
default:
try {
return parent::__get($strName);
} catch (QCallerException $objExc) {
$objExc->IncrementOffset();
throw $objExc;
}
}
}
示例12: __get
public function __get($strName)
{
switch ($strName) {
case "Value":
return $this->strValue;
case "Selected":
return $this->blnSelected;
case "Text":
return $this->strText;
default:
try {
return parent::__get($strName);
} catch (QCallerException $objExc) {
$objExc->IncrementOffset();
throw $objExc;
}
}
}
示例13: __get
public function __get($strName)
{
switch ($strName) {
case 'JavaScriptEvent':
return $this->strJavaScriptEvent;
case 'Condition':
return $this->strCondition;
case 'Delay':
return $this->intDelay;
default:
try {
return parent::__get($strName);
} catch (QCallerException $objExc) {
$objExc->IncrementOffset();
throw $objExc;
}
}
}
示例14: __get
/**
* Override method to perform a property "Get"
* This will get the value of $strName
*
* @param string strName Name of the property to get
* @return mixed
*/
public function __get($strName)
{
switch ($strName) {
case 'KeyName':
return $this->strKeyName;
case 'Unique':
return $this->blnUnique;
case 'PrimaryKey':
return $this->blnPrimaryKey;
case 'ColumnNameArray':
return $this->strColumnNameArray;
default:
try {
return parent::__get($strName);
} catch (QCallerException $objExc) {
$objExc->IncrementOffset();
throw $objExc;
}
}
}
示例15: __get
/**
* Override method to perform a property "Get"
* This will get the value of $strName
*
* @param string strName Name of the property to get
* @return mixed
*/
public function __get($strName)
{
switch ($strName) {
case 'Name':
return $this->strName;
case 'ClassName':
return $this->strClassName;
case 'NameArray':
return $this->strNameArray;
case 'TokenArray':
return $this->strTokenArray;
default:
try {
return parent::__get($strName);
} catch (QCallerException $objExc) {
$objExc->IncrementOffset();
throw $objExc;
}
}
}