Ojs\ApiBundle\Controller\Journal\JournalBoardRestController::getBoardAction PHP Метод

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

Get single Board.
public getBoardAction ( integer $id ) : array
$id integer the Board id
Результат array
    public function getBoardAction($id)
    {
        $journal = $this->get('ojs.journal_service')->getSelectedJournal();
        if (!$this->isGranted('VIEW', $journal, 'boards')) {
            throw new AccessDeniedException();
        }
        $entity = $this->getOr404($id);
        return $entity;
    }