PHP Class Ojs\CoreBundle\Service\ApiHandlerHelper

Afficher le fichier Open project: ojs/ojs

Méthodes publiques

Méthode Description
__construct ( Symfony\Component\HttpKernel\KernelInterface $kernel, Doctrine\Common\Annotations\Reader $reader, Liip\ImagineBundle\Templating\ImagineExtension $imagine, Symfony\Component\HttpFoundation\RequestStack $requestStack )
createFileHistory ( $fileName, $originalName, $type, $em, boolean $save = true ) : Jb\Bundle\FileUploaderBundle\Entity\FileHistory
getRequestStack ( ) : Symfony\Component\HttpFoundation\RequestStack
normalizeEntities ( $entities )
normalizeEntity ( $entity )

Method Details

__construct() public méthode

public __construct ( Symfony\Component\HttpKernel\KernelInterface $kernel, Doctrine\Common\Annotations\Reader $reader, Liip\ImagineBundle\Templating\ImagineExtension $imagine, Symfony\Component\HttpFoundation\RequestStack $requestStack )
$kernel Symfony\Component\HttpKernel\KernelInterface
$reader Doctrine\Common\Annotations\Reader
$imagine Liip\ImagineBundle\Templating\ImagineExtension
$requestStack Symfony\Component\HttpFoundation\RequestStack

createFileHistory() public méthode

public createFileHistory ( $fileName, $originalName, $type, $em, boolean $save = true ) : Jb\Bundle\FileUploaderBundle\Entity\FileHistory
$fileName
$originalName
$type
$em
$save boolean
Résultat Jb\Bundle\FileUploaderBundle\Entity\FileHistory

getRequestStack() public méthode

public getRequestStack ( ) : Symfony\Component\HttpFoundation\RequestStack
Résultat Symfony\Component\HttpFoundation\RequestStack

normalizeEntities() public méthode

public normalizeEntities ( $entities )

normalizeEntity() public méthode

public normalizeEntity ( $entity )
$entity