Exemple #1
0
 public function __construct($name)
 {
     parent::__construct($name);
     $this->addOption('1', '');
 }
Exemple #2
0
 /**
  * The default value of the chooser,
  * refers to an item choice value or smart tags: {{first}} / {{last}}.
  *
  * @param string $default
  *
  * @return $this
  * @access public
  */
 public function setDefault($default)
 {
     parent::setDefault(array($default));
     return $this;
 }