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


PHP JFormField::__get方法代码示例

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


在下文中一共展示了JFormField::__get方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的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   2.0
  */
 public function __get($name)
 {
     switch ($name) {
         case 'input':
             if (empty($this->input)) {
                 $this->input = $this->getInput();
             }
             return $this->input;
             break;
         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:akeeba,项目名称:fof,代码行数:34,代码来源:ViewTemplate.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 'contentType':
             return $this->contentType;
     }
     return parent::__get($name);
 }
开发者ID:klas,项目名称:joomla-cms,代码行数:17,代码来源:ordering.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 'checked':
             return $this->{$name};
     }
     return parent::__get($name);
 }
开发者ID:WineWorld,项目名称:joomlatrialcmbg,代码行数:17,代码来源:checkbox.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   3.2
  */
 public function __get($name)
 {
     switch ($name) {
         case 'accept':
             return $this->accept;
     }
     return parent::__get($name);
 }
开发者ID:brenot,项目名称:forumdesenvolvimento,代码行数:17,代码来源:file.php

示例5: __get

 public function __get($name)
 {
     switch ($name) {
         case 'countertype':
             return $this->{$name};
     }
     return parent::__get($name);
 }
开发者ID:naka211,项目名称:studiekorrektur,代码行数:8,代码来源:vmordernumbercounters.php

示例6: __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 'plugin':
         case 'namespace':
             return $this->{$name};
     }
     return parent::__get($name);
 }
开发者ID:A-Bush,项目名称:pprod,代码行数:18,代码来源:captcha.php

示例7: __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 'max':
         case 'min':
         case 'step':
             return $this->{$name};
     }
     return parent::__get($name);
 }
开发者ID:kosir,项目名称:wp-pipes,代码行数:19,代码来源:number.php

示例8: __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.0.0
  */
 public function __get($name)
 {
     switch ($name) {
         case 'firstdayofweek':
         case 'format':
         case 'language':
             return $this->{$name};
     }
     return parent::__get($name);
 }
开发者ID:rdeutz,项目名称:babioon-event,代码行数:19,代码来源:calendar.php

示例9: __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.
  *
  */
 public function __get($name)
 {
     switch ($name) {
         case 'element':
             return $this->{$name};
             break;
     }
     $value = parent::__get($name);
     return $value;
 }
开发者ID:alesconti,项目名称:FF_2015,代码行数:18,代码来源:shlegend.php

示例10: __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 'control':
         case 'exclude':
         case 'colors':
         case 'split':
             return $this->{$name};
     }
     return parent::__get($name);
 }
开发者ID:01J,项目名称:skazkipronebo,代码行数:20,代码来源:color.php

示例11: __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   1.2.0
  */
 public function __get($name)
 {
     switch ($name) {
         /* @deprecated >= J3.2 */
         case 'size':
         case 'class':
             return $this->{$name};
             /* @enddeprecated >= J3.2 */
     }
     return parent::__get($name);
 }
开发者ID:fields-and-filters,项目名称:fields-and-filters,代码行数:20,代码来源:fieldsandfiltersextensions.php

示例12: __get

 /**
  * Method to get extended properties of the field.
  *
  * @access	public
  * @param	string	$name	Name of the property.
  *
  * @return	mixed	Field property value.
  */
 public function __get($name)
 {
     switch ($name) {
         case 'format':
         case 'position':
         case 'align':
         case 'responsive':
             return $this->element[$name];
             break;
     }
     return parent::__get($name);
 }
开发者ID:gwtrains,项目名称:comRTiPrint,代码行数:20,代码来源:field.php

示例13: __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.6
  */
 public function __get($name)
 {
     switch ($name) {
         case 'formsource':
         case 'min':
         case 'max':
         case 'layout':
         case 'groupByFieldset':
         case 'buttons':
             return $this->{$name};
     }
     return parent::__get($name);
 }
开发者ID:joomla-projects,项目名称:media-manager-improvement,代码行数:22,代码来源:subform.php

示例14: __get

 public function __get($name)
 {
     if ($name == "value") {
         if ($this->fb->getUser()) {
             $this->value = $this->fb->getAccessToken();
         } else {
             $this->value = "NONE";
         }
         return $this->value;
     } else {
         return parent::__get($name);
     }
 }
开发者ID:SheffieldWalkingGroup,项目名称:swgwebsite,代码行数:13,代码来源:facebooklogin.php

示例15: __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 'latitudefield':
         case 'longitudefield':
         case 'width':
         case 'height':
         case 'lat':
         case 'lng':
         case 'zoom':
         case 'icon':
         case 'mapOnly':
             return $this->{$name};
     }
     return parent::__get($name);
 }
开发者ID:Ricardolau,项目名称:imc,代码行数:25,代码来源:gmap.php


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