/**
  * @return void
  */
 public function indexAction()
 {
     $account = $this->securityContext->getAccount();
     $this->view->assign('usrname', $account->getAccountIdentifier());
     $this->view->assign('setups', $this->setupRepository->findAll());
     $this->view->assign('listCategories', $this->categoryRepository->findAll());
 }
 /**
  * @param \SKL\Post\Domain\Model\Author $author
  * @return void
  */
 public function editAction(Author $author)
 {
     $account = $this->securityContext->getAccount();
     $this->view->assign('usrname', $account->getAccountIdentifier());
     $this->view->assign('listCategories', $this->categoryRepository->findAll());
     $this->view->assign('author', $author);
 }
 /**
  * @param \SKL\Post\Domain\Model\Post $post
  * @return void
  */
 public function updateAction(Post $post)
 {
     //		\TYPO3\Flow\var_dump($post);
     //		die();
     $this->view->assign('listCategories', $this->categoryRepository->findAll());
     $this->postRepository->update($post);
     $this->addFlashMessage('Updated the post.');
     $this->redirect('index');
 }
 /**
  * @param \SKL\Post\Domain\Model\Author $author
  * @return void
  */
 public function editAction(Author $author)
 {
     $this->view->assign('listCategories', $this->categoryRepository->findAll());
     $this->view->assign('author', $author);
 }
 /**
  * @param \SKL\Post\Domain\Model\Category $category
  * @return void
  */
 public function editAction(Category $category)
 {
     $this->view->assign('category', $category);
     $this->view->assign('listCategories', $this->categoryRepository->findAll());
 }