Ojs\JournalBundle\Controller\ManagerController::ArticleTypesSettingsAction PHP Метод

ArticleTypesSettingsAction() публичный Метод

public ArticleTypesSettingsAction ( ) : Response
Результат Symfony\Component\HttpFoundation\Response
    public function ArticleTypesSettingsAction()
    {
        $em = $this->getDoctrine()->getManager();
        $journal = $this->get("ojs.journal_service")->getSelectedJournal(false);
        $this->throw404IfNotFound($journal);
        if (!$this->isGranted('EDIT', $journal)) {
            throw new AccessDeniedException("You not authorized for this page!");
        }
        $form = $this->createArticleTypesEditForm($journal);
        return $this->render('OjsJournalBundle:Manager:article_types.html.twig', array('entity' => $journal, 'form' => $form->createView()));
    }