當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。