Пример #1
0
 /**
  *
  * @param number $minimum
  * @param number $maximum 
  */
 public function __construct($minimum, $maximum)
 {
     Args::isNumeric($maximum, 'maximum');
     Args::isNumeric($minimum, 'minimum');
     $this->minimum = $minimum;
     $this->maximum = $maximum;
 }
Пример #2
0
 public function __construct($id, Pageable $pageable, $page)
 {
     parent::__construct($id, function () {
     });
     Args::isNumeric($page, 'page');
     $this->pageable = $pageable;
     $this->page = $page;
 }
Пример #3
0
 public function setWidth($width)
 {
     Args::isNumeric($width, 'width');
     $this->getOptions()->add(new NumbericOption('width', $width));
 }
Пример #4
0
 public function __construct($name, $value)
 {
     parent::__construct($name, $value);
     Args::isNumeric($value, 'value');
     $this->value = $value;
 }
Пример #5
0
 public function setWidth($width)
 {
     Args::isNumeric($width, 'width');
     $this->dialog->setWidth($width);
 }
Пример #6
0
 public function setCurrentPage($page)
 {
     Args::isNumeric($page, 'page');
     $this->currentPage = $page;
 }
Пример #7
0
 public function setRowsPerPage($rowsPerPage)
 {
     Args::isNumeric($rows, 'rowsPerPage');
     $this->gridView->setRowsPerPage($rowsPerPage);
 }