public function __construct() { // intentionally without parameters parent::__construct(); $this->addComponent(new ComponentContainer(), "toolbar"); $this->addComponent(new ComponentContainer(), "actions"); $this->addComponent(new ComponentContainer(), "columns"); }
public function __construct(\Nette\IComponentContainer $parent = null, $name = null) { parent::__construct($parent, $name); $this->addComponent(new ComponentContainer(), "toolbar"); $this->addComponent(new ComponentContainer(), "actions"); $this->addComponent(new ComponentContainer(), "columns"); $this->paginator = new Paginator(); $this->paginator->setItemsPerPage($this->defaultItemsPerPage); }
public function __construct(\Nette\IComponentContainer $parent = NULL, $name = NULL) { parent::__construct($parent, $name); $this->init(); }