Beispiel #1
0
 public function __construct(Entity $page, Form\Control\Factory $formControl, Ytnuk\Orm\Grid\Control\Factory $gridControl, Repository $repository)
 {
     parent::__construct($page);
     $this->page = $page;
     $this->formControl = $formControl;
     $this->gridControl = $gridControl;
     $this->repository = $repository;
 }
Beispiel #2
0
 public function __construct(Entity $translation, Repository $repository, Form\Control\Factory $formControl, Ytnuk\Orm\Grid\Control\Factory $gridControl)
 {
     parent::__construct($translation);
     $this->translation = $translation;
     $this->repository = $repository;
     $this->formControl = $formControl;
     $this->gridControl = $gridControl;
 }
Beispiel #3
0
 public function __construct(Entity $link, Repository $repository, Control\Factory $control, Form\Control\Factory $formControl, Ytnuk\Orm\Grid\Control\Factory $gridControl)
 {
     parent::__construct($link);
     $this->link = $link;
     $this->repository = $repository;
     $this->control = $control;
     $this->formControl = $formControl;
     $this->gridControl = $gridControl;
 }
Beispiel #4
0
 public function __construct(Entity $web, Repository $repository, Form\Control\Factory $formControl, Ytnuk\Orm\Grid\Control\Factory $gridControl, Ytnuk\Menu\Control\Factory $menuControl)
 {
     parent::__construct($web);
     $this->setEntity($this->web = $web);
     $this->repository = $repository;
     $this->formControl = $formControl;
     $this->gridControl = $gridControl;
     $this->menuControl = $menuControl;
 }
Beispiel #5
0
 public function __construct(Entity $category, Repository $repository, Form\Control\Factory $formControl, Ytnuk\Orm\Grid\Control\Factory $gridControl, Ytnuk\Blog\Post\Control\Factory $postControl, Ytnuk\Blog\Post\Repository $postRepository)
 {
     parent::__construct($category);
     $this->category = $category;
     $this->repository = $repository;
     $this->formControl = $formControl;
     $this->gridControl = $gridControl;
     $this->postControl = $postControl;
     $this->postRepository = $postRepository;
 }
Beispiel #6
0
 public function __construct(Entity $menu, Repository $repository, Control\Factory $control, Form\Control\Factory $formControl, Ytnuk\Orm\Grid\Control\Factory $gridControl, Nette\Http\Request $request, Nette\Localization\ITranslator $translator)
 {
     parent::__construct($menu);
     $this->menu = $menu;
     $this->repository = $repository;
     $this->control = $control;
     $this->formControl = $formControl;
     $this->gridControl = $gridControl;
     $this->request = $request;
     $this->translator = $translator;
 }
Beispiel #7
0
 public function __construct(Nextras\Orm\Entity\IEntity $entity, Factory $form)
 {
     parent::__construct($entity);
     $this->entity = $entity;
     $this->form = $form;
 }