Exemplo n.º 1
0
 function __get($k)
 {
     $v = parent::__get($k);
     // Don't display any label for hidden fields //
     if ($k == 'label' && $this->type == 'hidden') {
         return $v->hidden();
     }
     return $v;
 }
Exemplo n.º 2
0
 function __get($k)
 {
     switch ($k) {
         case 'checked':
             //Read only access
             return $this->{$k};
         default:
             return parent::__get($k);
     }
 }
Exemplo n.º 3
0
 function __construct(FormBuilder &$form, $name, $type)
 {
     parent::__construct($form, $name, 'file');
 }