PHP 클래스 Ojs\JournalBundle\Controller\BoardController

상속: extends Ojs\CoreBundle\Controller\OjsController
파일 보기 프로젝트 열기: ojs/ojs

공개 메소드들

메소드 설명
addMemberAction ( Request $request, $boardId ) : RedirectResponse add posted user id as board member with given board id
createAction ( Request $request ) : RedirectResponse | Response Creates a new Board entity.
deleteAction ( Request $request, Board $entity ) : RedirectResponse Deletes a Board entity.
editAction ( Board $board ) : Response Displays a form to edit an existing Board entity.
indexAction ( Request $request ) Lists all Board entities.
memberSortAction ( Request $request, $boardId ) : Response
newAction ( ) Displays a form to create a new Board entity.
otoGenerateAction ( Request $request ) : RedirectResponse
removeMemberAction ( $boardId, $id ) : RedirectResponse
showAction ( Board $board ) : Response Finds and displays a board and it's details.
sortAction ( Request $request ) : Response
updateAction ( Request $request, Board $entity ) : RedirectResponse | Response Edits an existing Board entity.

비공개 메소드들

메소드 설명
createAddMemberForm ( BoardMember $entity, Board $board, Journal $journal ) : Form Creates a form to add Member to Board entity.
createCreateForm ( Board $entity, Journal $journal ) : Form Creates a form to create a Board entity.
createEditForm ( Board $entity ) : Form Creates a form to edit a Board entity.

메소드 상세

addMemberAction() 공개 메소드

add posted user id as board member with given board id
public addMemberAction ( Request $request, $boardId ) : RedirectResponse
$request Symfony\Component\HttpFoundation\Request
$boardId
리턴 Symfony\Component\HttpFoundation\RedirectResponse

createAction() 공개 메소드

Creates a new Board entity.
public createAction ( Request $request ) : RedirectResponse | Response
$request Symfony\Component\HttpFoundation\Request
리턴 Symfony\Component\HttpFoundation\RedirectResponse | Symfony\Component\HttpFoundation\Response

deleteAction() 공개 메소드

Deletes a Board entity.
public deleteAction ( Request $request, Board $entity ) : RedirectResponse
$request Symfony\Component\HttpFoundation\Request
$entity Ojs\JournalBundle\Entity\Board
리턴 Symfony\Component\HttpFoundation\RedirectResponse

editAction() 공개 메소드

Displays a form to edit an existing Board entity.
public editAction ( Board $board ) : Response
$board Ojs\JournalBundle\Entity\Board
리턴 Symfony\Component\HttpFoundation\Response

indexAction() 공개 메소드

Lists all Board entities.
public indexAction ( Request $request )
$request Symfony\Component\HttpFoundation\Request

memberSortAction() 공개 메소드

public memberSortAction ( Request $request, $boardId ) : Response
$request Symfony\Component\HttpFoundation\Request
$boardId
리턴 Symfony\Component\HttpFoundation\Response

newAction() 공개 메소드

Displays a form to create a new Board entity.
public newAction ( )

otoGenerateAction() 공개 메소드

public otoGenerateAction ( Request $request ) : RedirectResponse
$request Symfony\Component\HttpFoundation\Request
리턴 Symfony\Component\HttpFoundation\RedirectResponse

removeMemberAction() 공개 메소드

public removeMemberAction ( $boardId, $id ) : RedirectResponse
$boardId
$id
리턴 Symfony\Component\HttpFoundation\RedirectResponse

showAction() 공개 메소드

This page is also an arrangement page for a board. In this page journal manager can : - list members - add members to a board - change orders of the members
public showAction ( Board $board ) : Response
$board Ojs\JournalBundle\Entity\Board
리턴 Symfony\Component\HttpFoundation\Response

sortAction() 공개 메소드

public sortAction ( Request $request ) : Response
$request Symfony\Component\HttpFoundation\Request
리턴 Symfony\Component\HttpFoundation\Response

updateAction() 공개 메소드

Edits an existing Board entity.
public updateAction ( Request $request, Board $entity ) : RedirectResponse | Response
$request Symfony\Component\HttpFoundation\Request
$entity Ojs\JournalBundle\Entity\Board
리턴 Symfony\Component\HttpFoundation\RedirectResponse | Symfony\Component\HttpFoundation\Response