Esempio n. 1
0
 public function __construct($name, $title, array $options = array(), $help = null)
 {
     parent::__construct($name, $title, $help);
     foreach ($options as $key => $value) {
         $this->addOption($key, $value);
     }
 }
Esempio n. 2
0
 public function __construct($name, $title, $type = 'text', $help = null)
 {
     parent::__construct($name, $title, $help);
     $this->type = $type;
 }
Esempio n. 3
0
 public function __construct($name, $title, $mode, $help = null)
 {
     parent::__construct($name, $title, $help);
     $this->mode = $mode;
 }