Esempio n. 1
0
 /**
  * @param DataGrid     $grid
  */
 public function __construct($grid)
 {
     parent::__construct($this->text);
     $this->grid = $grid;
     $this->text = 'ublaboo_datagrid.filter_submit_button';
     $this->class = 'btn btn-sm btn-primary';
     $this->icon = 'search';
     $this->control = Html::el('button', ['type' => 'submit', 'name' => 'submit']);
 }
Esempio n. 2
0
 public function __construct($caption = NULL)
 {
     parent::__construct($caption);
     $this->control->setName('a');
 }
Esempio n. 3
0
 /**
  * @param string $caption
  */
 public function __construct($caption = NULL)
 {
     parent::__construct($caption);
     $this->control->type = 'reset';
     $this->control->class = 'button';
 }
Esempio n. 4
0
 /**
  * @param  string  caption
  */
 public function __construct($caption = NULL)
 {
     parent::__construct($caption);
     $this->control->type = 'submit';
 }
Esempio n. 5
0
Nette\Forms\ISubmitterControl{public$onClick;public$onInvalidClick;private$validationScope=TRUE;function
__construct($caption=NULL){parent::__construct($caption);$this->control->type='submit';}function