Ejemplo 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);
     }
 }
Ejemplo n.º 2
0
 public function __construct($name, $title, $mode, $help = null)
 {
     parent::__construct($name, $title, $help);
     $this->mode = $mode;
 }
Ejemplo n.º 3
0
 public function __construct($name, $title, $type = 'text', $help = null)
 {
     parent::__construct($name, $title, $help);
     $this->type = $type;
 }