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