PHP Class Ojs\ApiBundle\Handler\JournalThemeHandler

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 )
all ( integer $limit = 5, integer $offset ) : array Get a list of JournalThemes.
delete ( JournalTheme $entity ) : JournalTheme Delete a JournalTheme.
get ( mixed $id ) : JournalTheme Get a JournalTheme.
patch ( JournalTheme $entity, array $parameters ) : JournalTheme Partially update a JournalTheme.
post ( array $parameters ) : JournalTheme Create a new JournalTheme.
put ( JournalTheme $entity, array $parameters ) : JournalTheme Edit a JournalTheme.

Private Methods

Méthode Description
createJournalTheme ( )
processForm ( JournalTheme $entity, array $parameters, String $method = "PUT" ) : JournalTheme Processes the form.

Method Details

__construct() public méthode

public __construct ( Doctrine\Common\Persistence\ObjectManager $om, $entityClass, Symfony\Component\Form\FormFactoryInterface $formFactory, JournalService $journalService )
$om Doctrine\Common\Persistence\ObjectManager
$formFactory Symfony\Component\Form\FormFactoryInterface
$journalService Ojs\JournalBundle\Service\JournalService

all() public méthode

Get a list of JournalThemes.
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 JournalTheme.
public delete ( JournalTheme $entity ) : JournalTheme
$entity Ojs\JournalBundle\Entity\JournalTheme
Résultat Ojs\JournalBundle\Entity\JournalTheme

get() public méthode

Get a JournalTheme.
public get ( mixed $id ) : JournalTheme
$id mixed
Résultat Ojs\JournalBundle\Entity\JournalTheme

patch() public méthode

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

post() public méthode

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

put() public méthode

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