public getBoardAction ( integer $id ) : array | ||
$id | integer | the Board id |
Résultat | 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;
}