PHP Class Ojs\ApiBundle\Handler\JournalIssueFileHandler

Afficher le fichier Open project: ojs/ojs

Méthodes publiques

Méthode Description
__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 IssueFiles.
delete ( IssueFile $entity ) : IssueFile Delete a IssueFile.
get ( mixed $id, boolean $normalize = false ) : IssueFile Get a IssueFile.
getIssue ( ) : Issue Get Issue.
patch ( IssueFile $entity, array $parameters ) : IssueFile Partially update a IssueFile.
post ( array $parameters ) : IssueFile Create a new IssueFile.
put ( IssueFile $entity, array $parameters ) : IssueFile Edit a IssueFile.

Private Methods

Méthode Description
createIssueFile ( )
processForm ( IssueFile $entity, array $parameters, String $method = "PUT" ) : IssueFile Processes the form.
storeFile ( $file )

Method Details

__construct() public méthode

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() public méthode

Get a list of IssueFiles.
public all ( integer $limit = 5, integer $offset ) : array
$limit integer the limit of the result
$offset integer starting from the offset
Résultat array

delete() public méthode

Delete a IssueFile.
public delete ( IssueFile $entity ) : IssueFile
$entity Ojs\JournalBundle\Entity\IssueFile
Résultat Ojs\JournalBundle\Entity\IssueFile

get() public méthode

Get a IssueFile.
public get ( mixed $id, boolean $normalize = false ) : IssueFile
$id mixed
$normalize boolean
Résultat Ojs\JournalBundle\Entity\IssueFile

getIssue() public méthode

Get Issue.
public getIssue ( ) : Issue
Résultat Ojs\JournalBundle\Entity\Issue

patch() public méthode

Partially update a IssueFile.
public patch ( IssueFile $entity, array $parameters ) : IssueFile
$entity Ojs\JournalBundle\Entity\IssueFile
$parameters array
Résultat Ojs\JournalBundle\Entity\IssueFile

post() public méthode

Create a new IssueFile.
public post ( array $parameters ) : IssueFile
$parameters array
Résultat Ojs\JournalBundle\Entity\IssueFile

put() public méthode

Edit a IssueFile.
public put ( IssueFile $entity, array $parameters ) : IssueFile
$entity Ojs\JournalBundle\Entity\IssueFile
$parameters array
Résultat Ojs\JournalBundle\Entity\IssueFile