PHP 클래스 Ojs\ApiBundle\Handler\JournalIssueHandler

파일 보기 프로젝트 열기: ojs/ojs

공개 메소드들

메소드 설명
__construct ( Doctrine\Common\Persistence\ObjectManager $om, $entityClass, Symfony\Component\Form\FormFactoryInterface $formFactory, JournalService $journalService, Symfony\Component\HttpKernel\KernelInterface $kernel, ApiHandlerHelper $apiHelper )
all ( integer $limit = 5, integer $offset ) : array Get a list of Issues.
delete ( Issue $entity ) : Issue Delete a Issue.
get ( mixed $id, boolean $normalize = false ) : Issue Get a Issue.
patch ( Issue $entity, array $parameters ) : Issue Partially update a Issue.
post ( array $parameters ) : Issue Create a new Issue.
put ( Issue $entity, array $parameters ) : Issue Edit a Issue.

비공개 메소드들

메소드 설명
createIssue ( )
processForm ( Issue $entity, array $parameters, String $method = "PUT" ) : Issue Processes the form.
storeFile ( $file, boolean $isImage = false ) : string

메소드 상세

__construct() 공개 메소드

public __construct ( Doctrine\Common\Persistence\ObjectManager $om, $entityClass, Symfony\Component\Form\FormFactoryInterface $formFactory, JournalService $journalService, Symfony\Component\HttpKernel\KernelInterface $kernel, ApiHandlerHelper $apiHelper )
$om Doctrine\Common\Persistence\ObjectManager
$formFactory Symfony\Component\Form\FormFactoryInterface
$journalService Ojs\JournalBundle\Service\JournalService
$kernel Symfony\Component\HttpKernel\KernelInterface
$apiHelper Ojs\CoreBundle\Service\ApiHandlerHelper

all() 공개 메소드

Get a list of Issues.
public all ( integer $limit = 5, integer $offset ) : array
$limit integer the limit of the result
$offset integer starting from the offset
리턴 array

delete() 공개 메소드

Delete a Issue.
public delete ( Issue $entity ) : Issue
$entity Ojs\JournalBundle\Entity\Issue
리턴 Ojs\JournalBundle\Entity\Issue

get() 공개 메소드

Get a Issue.
public get ( mixed $id, boolean $normalize = false ) : Issue
$id mixed
$normalize boolean
리턴 Ojs\JournalBundle\Entity\Issue

patch() 공개 메소드

Partially update a Issue.
public patch ( Issue $entity, array $parameters ) : Issue
$entity Ojs\JournalBundle\Entity\Issue
$parameters array
리턴 Ojs\JournalBundle\Entity\Issue

post() 공개 메소드

Create a new Issue.
public post ( array $parameters ) : Issue
$parameters array
리턴 Ojs\JournalBundle\Entity\Issue

put() 공개 메소드

Edit a Issue.
public put ( Issue $entity, array $parameters ) : Issue
$entity Ojs\JournalBundle\Entity\Issue
$parameters array
리턴 Ojs\JournalBundle\Entity\Issue