当前位置: 首页>>代码示例>>PHP>>正文


PHP QBaseClass::__get方法代码示例

本文整理汇总了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;
             }
     }
 }
开发者ID:hiptc,项目名称:dle2wordpress,代码行数:33,代码来源:QReference.class.php

示例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;
             }
     }
 }
开发者ID:klucznik,项目名称:qcodo,代码行数:26,代码来源:QFormBase.class.php

示例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;
             }
     }
 }
开发者ID:vaibhav-kaushal,项目名称:qc-framework,代码行数:34,代码来源:_events.inc.php

示例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;
             }
     }
 }
开发者ID:schematical,项目名称:MJax-Includes,代码行数:26,代码来源:_events.php

示例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;
             }
     }
 }
开发者ID:proxymoron,项目名称:tracmor,代码行数:28,代码来源:QTreeNavItem.class.php

示例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;
             }
     }
 }
开发者ID:schematical,项目名称:MJax2.0,代码行数:32,代码来源:MJaxFormBase.class.php

示例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;
             }
     }
 }
开发者ID:qcodo,项目名称:qcodo-api,代码行数:14,代码来源:_actions.inc.php

示例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;
					}
			}
		}
开发者ID:rommelxcastro,项目名称:CRI-Online-Sales---Admin,代码行数:14,代码来源:QControlGrouping.class.php

示例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;
             }
     }
 }
开发者ID:qcodo,项目名称:qcodo-website,代码行数:16,代码来源:QTextStyleState.class.php

示例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;
             }
     }
 }
开发者ID:schematical,项目名称:MJax-Includes,代码行数:16,代码来源:MJaxFormBase.class.php

示例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;
             }
     }
 }
开发者ID:schematical,项目名称:MJax2.0,代码行数:18,代码来源:MJaxJqFancySlideShow.class.php

示例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;
             }
     }
 }
开发者ID:schematical,项目名称:MJax2.0,代码行数:18,代码来源:MJaxListItem.class.php

示例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;
             }
     }
 }
开发者ID:klucznik,项目名称:qcodo,代码行数:18,代码来源:_events.inc.php

示例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;
             }
     }
 }
开发者ID:RCorbet,项目名称:zf-codo,代码行数:27,代码来源:QIndex.class.php

示例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;
             }
     }
 }
开发者ID:heshuai64,项目名称:einv2,代码行数:27,代码来源:QTypeTable.class.php


注:本文中的QBaseClass::__get方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。