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


PHP JFormFieldGroupedList::__get方法代码示例

本文整理汇总了PHP中JFormFieldGroupedList::__get方法的典型用法代码示例。如果您正苦于以下问题:PHP JFormFieldGroupedList::__get方法的具体用法?PHP JFormFieldGroupedList::__get怎么用?PHP JFormFieldGroupedList::__get使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在JFormFieldGroupedList的用法示例。


在下文中一共展示了JFormFieldGroupedList::__get方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: __get

 /**
  * Method to get certain otherwise inaccessible properties from the form field object.
  *
  * @param   string  $name  The property name for which to the the value.
  *
  * @return  mixed  The property value or null.
  *
  * @since   3.2
  */
 public function __get($name)
 {
     switch ($name) {
         case 'keyField':
             return $this->{$name};
     }
     return parent::__get($name);
 }
开发者ID:WineWorld,项目名称:joomlatrialcmbg,代码行数:17,代码来源:timezone.php

示例2: __get

 /**
  * Method to get certain otherwise inaccessible properties from the form field object.
  *
  * @param   string  $name  The property name for which to the the value.
  *
  * @return  mixed  The property value or null.
  *
  * @since   3.2
  */
 public function __get($name)
 {
     switch ($name) {
         case 'clientName':
         case 'template':
             return $this->{$name};
     }
     return parent::__get($name);
 }
开发者ID:01J,项目名称:skazkipronebo,代码行数:18,代码来源:templatestyle.php

示例3: __get

 /**
  * Method to get certain otherwise inaccessible properties from the form field object.
  *
  * @param   string  $name  The property name for which to the the value.
  *
  * @return  mixed  The property value or null.
  *
  * @since   3.2
  */
 public function __get($name)
 {
     switch ($name) {
         case 'menuType':
         case 'language':
         case 'published':
         case 'disable':
             return $this->{$name};
     }
     return parent::__get($name);
 }
开发者ID:grlf,项目名称:eyedock,代码行数:20,代码来源:menuitem.php

示例4: __get

 /**
  * Method to get certain otherwise inaccessible properties from the form field object.
  *
  * @param   string  $name  The property name for which to the the value.
  *
  * @return  mixed  The property value or null.
  *
  * @since   2.0
  */
 public function __get($name)
 {
     switch ($name) {
         case 'static':
             if (empty($this->static)) {
                 $this->static = $this->getStatic();
             }
             return $this->static;
             break;
         case 'repeatable':
             if (empty($this->repeatable)) {
                 $this->repeatable = $this->getRepeatable();
             }
             return $this->repeatable;
             break;
         default:
             return parent::__get($name);
     }
 }
开发者ID:WineWorld,项目名称:joomlatrialcmbg,代码行数:28,代码来源:groupedlist.php


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