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