public function init($id = '', $value = '', $label = '', $size = 10, $hint = '', $validator = NULL, $isReadOnly = false) { parent::init($id, $value, $label, '', $hint); $this->setReadOnly($isReadOnly); $this->setValidator($validator); $this->setSize($size); }
function init($id = '', $value = '', $label = '', $options = '', $size = '', $showValues = false, $hint = '') { parent::init($id, $value, $label); $this->setOptions($options); $this->setShowValues($showValues); $this->size = $size; }
public function init($caption = '', $message = '') { parent::init(); $this->setCaption($caption ?: 'Help'); $this->setMessage($message ?: ''); $this->setId('help' . uniqid()); }
public function init($caption = '', $message = '') { parent::init(); $this->setCaption($caption ?: _M('Alerta')); $this->setMessage($message ?: _M('Razão desconhecida.')); $this->setId('prompt' . uniqid()); }
public function init($id = '', $value = '', $label = '', $checked = false, $text = NULL) { parent::init($id, $value, $label); $this->checked = $checked; $this->setText($text); }
public function init($name, $src) { parent::init(); $this->setId($name); $this->source = $src; }
public function init($name, $label = '', $rows = 0) { $this->numRows = $rows; $this->numCols = 0; parent::init($name, array(), $label); }