Example #1
0
 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);
 }
Example #2
0
 function init($id = '', $value = '', $label = '', $options = '', $size = '', $showValues = false, $hint = '')
 {
     parent::init($id, $value, $label);
     $this->setOptions($options);
     $this->setShowValues($showValues);
     $this->size = $size;
 }
Example #3
0
 public function init($caption = '', $message = '')
 {
     parent::init();
     $this->setCaption($caption ?: 'Help');
     $this->setMessage($message ?: '');
     $this->setId('help' . uniqid());
 }
Example #4
0
 public function init($caption = '', $message = '')
 {
     parent::init();
     $this->setCaption($caption ?: _M('Alerta'));
     $this->setMessage($message ?: _M('Razão desconhecida.'));
     $this->setId('prompt' . uniqid());
 }
Example #5
0
 public function init($id = '', $value = '', $label = '', $checked = false, $text = NULL)
 {
     parent::init($id, $value, $label);
     $this->checked = $checked;
     $this->setText($text);
 }
Example #6
0
 public function init($name, $src)
 {
     parent::init();
     $this->setId($name);
     $this->source = $src;
 }
Example #7
0
 public function init($name, $label = '', $rows = 0)
 {
     $this->numRows = $rows;
     $this->numCols = 0;
     parent::init($name, array(), $label);
 }