/** * Create new instance. */ public function __construct() { parent::__construct(); $this->addAttributeNames(array('name', 'cols', 'rows', 'wrap', 'title')); // some defaults $this->setRows(5); $this->setCols(60); }
/** * Create new instance. */ public function __construct() { parent::__construct(); $this->addAttributeNames(array('size', 'multiple', 'title')); $this->options = array(); // defaults $this->set('style', 'select'); }
/** * Create new instance. */ public function __construct() { parent::__construct(); // defaults $this->set('style', 'checkbox'); // use underscore as zc sanitize converts '.' to '_' $this->set('label_true', 'True'); $this->set('label_false', 'False'); }
/** * Create new instance. */ public function __construct() { parent::__construct(); $this->addAttributeNames(array('size', 'maxlength', 'autocomplete', 'title', 'readonly')); }