/** * @param \ThinkopenAt\TimeFlies\Domain\Model\Category $category * @return void */ public function editAction(Category $category) { $this->view->assign('category', $category); $this->view->assign('rootCategories', $this->categoryRepository->findByParent(NULL)); $disabledCategoryIdentifiers = $this->categoryRepository->findAllIdentifiersRecursive($category); $this->view->assign('disabledCategoryIdentifiers', $disabledCategoryIdentifiers); }
/** * @param \ThinkopenAt\TimeFlies\Domain\Model\Item $item * @return void */ public function editAction(Item $item) { $this->view->assign('item', $item); $this->view->assign('rootCategories', $this->categoryRepository->findByParent(NULL)); }