Ejemplo n.º 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   3.6
  */
 public function __get($name)
 {
     switch ($name) {
         case 'allowAdd':
             return $this->{$name};
     }
     return parent::__get($name);
 }
Ejemplo n.º 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 'folder':
             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   3.2
  */
 public function __get($name)
 {
     switch ($name) {
         case 'forceMultiple':
         case 'checkedOptions':
             return $this->{$name};
     }
     return parent::__get($name);
 }
 public function __get($name)
 {
     switch ($name) {
         case 'filter':
         case 'directory':
             return $this->{$name};
     }
     return parent::__get($name);
 }
Ejemplo n.º 5
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;
 }
Ejemplo n.º 6
0
Archivo: sql.php Proyecto: 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 'keyField':
         case 'valueField':
         case 'translate':
         case 'query':
             return $this->{$name};
     }
     return parent::__get($name);
 }
Ejemplo n.º 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 'filter':
         case 'exclude':
         case 'hideNone':
         case 'hideDefault':
         case 'directory':
             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 'exclude':
             return $this->{$name};
             /* @deprecated >= J3.2 */
         /* @deprecated >= J3.2 */
         case 'class':
             return $this->{$name};
             /* @enddeprecated >= J3.2 */
     }
     return parent::__get($name);
 }
Ejemplo n.º 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   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);
     }
 }
 /**
  * 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 'inputType':
         case 'checked':
         case 'context':
         case 'states':
         case 'modes':
             return $this->{$name};
             /* @deprecated >= J3.2 */
         /* @deprecated >= J3.2 */
         case 'class':
             return $this->{$name};
             /* @enddeprecated >= J3.2 */
     }
     return parent::__get($name);
 }