PHP Класс Ojs\ApiBundle\Handler\JournalArticleAuthorHandler

Показать файл Открыть проект

Открытые методы

Метод Описание
__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