コード例 #1
0
ファイル: ViewTemplate.php プロジェクト: akeeba/fof
 /**
  * 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);
     }
 }
コード例 #2
0
ファイル: ordering.php プロジェクト: klas/joomla-cms
 /**
  * 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);
 }
コード例 #3
0
 /**
  * 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);
 }
コード例 #4
0
ファイル: file.php プロジェクト: brenot/forumdesenvolvimento
 /**
  * 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);
 }
コード例 #5
0
 public function __get($name)
 {
     switch ($name) {
         case 'countertype':
             return $this->{$name};
     }
     return parent::__get($name);
 }
コード例 #6
0
ファイル: captcha.php プロジェクト: A-Bush/pprod
 /**
  * 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);
 }
コード例 #7
0
 /**
  * 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 'maxlength':
         case 'format':
             return $this->{$name};
     }
     return parent::__get($name);
 }
コード例 #8
0
 /**
  * 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 'forceMultiple':
         case 'checkedOptions':
             return $this->{$name};
     }
     return parent::__get($name);
 }
コード例 #9
0
ファイル: textarea.php プロジェクト: smhnaji/sdnet
 /**
  * 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 'rows':
         case 'columns':
             return $this->{$name};
     }
     return parent::__get($name);
 }
コード例 #10
0
 /**
  * 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 'descriptionfield':
         case 'flagfield':
             return $this->{$name};
     }
     return parent::__get($name);
 }
コード例 #11
0
ファイル: number.php プロジェクト: kosir/wp-pipes
 /**
  * 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);
 }
コード例 #12
0
ファイル: multiphoto.php プロジェクト: Ricardolau/imc
 /**
  * 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 'imagedir':
         case 'userstate':
         case 'side':
             return $this->{$name};
     }
     return parent::__get($name);
 }
コード例 #13
0
ファイル: text.php プロジェクト: Tommar/remate
 /**
  * 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 'maxLength':
         case 'dirname':
         case 'inputmode':
             return $this->{$name};
     }
     return parent::__get($name);
 }
コード例 #14
0
ファイル: password.php プロジェクト: deenison/joomla-cms
 /**
  * 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 'threshold':
         case 'maxLength':
         case 'meter':
             return $this->{$name};
     }
     return parent::__get($name);
 }
コード例 #15
0
ファイル: calendar.php プロジェクト: rdeutz/babioon-event
 /**
  * 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);
 }
コード例 #16
0
ファイル: rules.php プロジェクト: N6REJ/joomla-cms
 /**
  * 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 'section':
         case 'component':
         case 'assetField':
             return $this->{$name};
     }
     return parent::__get($name);
 }
コード例 #17
0
ファイル: shlegend.php プロジェクト: alesconti/FF_2015
 /**
  * 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;
 }
コード例 #18
0
ファイル: color.php プロジェクト: 01J/skazkipronebo
 /**
  * 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);
 }
 /**
  * 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);
 }
コード例 #20
0
ファイル: field.php プロジェクト: gwtrains/comRTiPrint
 /**
  * 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);
 }
コード例 #21
0
 /**
  * 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);
 }
コード例 #22
0
 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);
     }
 }
コード例 #23
0
ファイル: gmap.php プロジェクト: Ricardolau/imc
 /**
  * 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);
 }
コード例 #24
0
ファイル: FormInspectors.php プロジェクト: SysBind/joomla-cms
 /**
  * Test...
  *
  * @param   string  $name  Element name
  *
  * @return mixed
  */
 public function __get($name)
 {
     if ($name == 'element') {
         return $this->element;
     } else {
         return parent::__get($name);
     }
 }
コード例 #25
0
ファイル: media.php プロジェクト: grlf/eyedock
 /**
  * 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 'authorField':
         case 'asset':
         case 'link':
         case 'preview':
         case 'directory':
         case 'previewWidth':
         case 'previewHeight':
             return $this->{$name};
     }
     return parent::__get($name);
 }
 /**
  * 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) {
         case 'parentField':
         case 'pluginType':
         case 'layoutFolder':
             return $this->{$name};
             /* @deprecated >= J3.2 */
         /* @deprecated >= J3.2 */
         case 'size':
         case 'class':
             return $this->{$name};
             /* @enddeprecated >= J3.2 */
     }
     return parent::__get($name);
 }