Ojs\ApiBundle\Controller\Admin\JournalRestController::getJournalAction PHP 메소드

getJournalAction() 공개 메소드

Get single Journal.
public getJournalAction ( integer $id ) : array
$id integer the Journal id
리턴 array
    public function getJournalAction($id)
    {
        $entity = $this->getOr404($id, true);
        if (!$this->isGranted('VIEW', $entity)) {
            throw new AccessDeniedException();
        }
        return $entity;
    }