Exemple #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']);
 }
Exemple #2
0
 public function __construct($caption = NULL)
 {
     parent::__construct($caption);
     $this->control->setName('a');
 }
Exemple #3
0
 /**
  * @param string $caption
  */
 public function __construct($caption = NULL)
 {
     parent::__construct($caption);
     $this->control->type = 'reset';
     $this->control->class = 'button';
 }
Exemple #4
0
 /**
  * @param  string  caption
  */
 public function __construct($caption = NULL)
 {
     parent::__construct($caption);
     $this->control->type = 'submit';
 }
Exemple #5
0
Nette\Forms\ISubmitterControl{public$onClick;public$onInvalidClick;private$validationScope=TRUE;function
__construct($caption=NULL){parent::__construct($caption);$this->control->type='submit';}function