Beispiel #1
0
 public function init($id = '', $label = '', $action = '', $text = '', $target = '')
 {
     parent::init($id, '', $label);
     $this->setText($text);
     $this->setAction($action);
     $this->setTarget($target);
 }
Beispiel #2
0
 public function init($name = '', $value = '', $action = NULL, $image = NULL)
 {
     parent::init($name, $value);
     $this->setAction($action ?: 'submit');
     $this->image = $image;
 }
Beispiel #3
0
 public function init($icon, $action = 'submit')
 {
     parent::init();
     $this->setAction($action ?: 'submit');
     $this->icon = $icon;
 }