public function saveState(array &$params, $reflection = NULL) { $this->page = $this->paginator->getPage(); parent::saveState($params, $reflection); }
protected function attached($control) { parent::attached($control); $this->active = $this->getParameter('active'); }
public function __construct(Nextras\Orm\Repository\IRepository $repository, Ytnuk\Orm\Form\Factory $form) { parent::__construct(); $this->repository = $repository; $this->form = $form; }
public function setCacheStorage(Nette\Caching\IStorage $storage) { parent::setCacheStorage($storage); $this->storage = $storage; }
public function __construct(Category\Control\Factory $categoryControl, Post\Control\Factory $postControl) { parent::__construct(); $this->categoryControl = $categoryControl; $this->postControl = $postControl; }
public function setRelated(self $control, string $view) { $this->related[$this->view][substr($control->getUniqueId(), strlen($this->getUniqueId()) + 1)][$view] = $control->getSnippetId(); }