PHP 클래스 Ojs\ApiBundle\Handler\JournalArticleAuthorHandler

파일 보기 프로젝트 열기: 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 ArticleAuthors.
delete ( ArticleAuthor $entity ) : ArticleAuthor Delete a ArticleAuthor.
get ( mixed $id ) : ArticleAuthor Get a ArticleAuthor.
getArticle ( ) : Article Get Article.
patch ( ArticleAuthor $entity, array $parameters ) : ArticleAuthor Partially update a ArticleAuthor.
post ( array $parameters ) : ArticleAuthor Create a new ArticleAuthor.
put ( ArticleAuthor $entity, array $parameters ) : ArticleAuthor Edit a ArticleAuthor.

비공개 메소드들

메소드 설명
createArticleAuthor ( )
processForm ( ArticleAuthor $entity, array $parameters, String $method = "PUT" ) : ArticleAuthor Processes the form.

메소드 상세

__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 ArticleAuthors.
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 ArticleAuthor.
public delete ( ArticleAuthor $entity ) : ArticleAuthor
$entity Ojs\JournalBundle\Entity\ArticleAuthor
리턴 Ojs\JournalBundle\Entity\ArticleAuthor

get() 공개 메소드

Get a ArticleAuthor.
public get ( mixed $id ) : ArticleAuthor
$id mixed
리턴 Ojs\JournalBundle\Entity\ArticleAuthor

getArticle() 공개 메소드

Get Article.
public getArticle ( ) : Article
리턴 Ojs\JournalBundle\Entity\Article

patch() 공개 메소드

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

post() 공개 메소드

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

put() 공개 메소드

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