コード例 #1
0
 /**
  *
  * @access public
  * @param  \Map2u\ForumBundle\Entity\Forum                        $forum
  * @param  \Map2u\ForumBundle\Entity\Board                        $board
  * @return \Map2u\ForumBundle\Component\Crumbs\Factory\CrumbTrail
  */
 public function addUserBoardShow(Forum $forum, Board $board)
 {
     return $this->addUserCategoryShow($forum, $board->getCategory())->add($board->getName(), array('route' => 'ccdn_forum_user_board_show', 'params' => array('forumName' => $forum->getName(), 'boardId' => $board->getId())));
 }