Пример #1
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   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
 /**
  * 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
 /**
  * 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);
 }
 public function __get($name)
 {
     switch ($name) {
         case 'countertype':
             return $this->{$name};
     }
     return parent::__get($name);
 }
Пример #6
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 '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
 /**
  * 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
 /**
  * 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
 /**
  * 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
 /**
  * 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
 /**
  * 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
 /**
  * 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
 /**
  * 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
 /**
  * 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
 /**
  * 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
 /**
  * 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);
 }
 /**
  * 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);
 }
 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
 /**
  * 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
 /**
  * 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
 /**
  * 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);
 }