PHP 클래스 Ojs\ApiBundle\Handler\JournalArticleFileHandler

파일 보기 프로젝트 열기: 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 ArticleFiles.
delete ( Ojs\JournalBundle\Entity\ArticleFile $entity ) : Ojs\JournalBundle\Entity\ArticleFile Delete a ArticleFile.
get ( mixed $id, boolean $normalize = false ) : Ojs\JournalBundle\Entity\ArticleFile Get a ArticleFile.
getArticle ( ) : Article Get Article.
patch ( Ojs\JournalBundle\Entity\ArticleFile $entity, array $parameters ) : Ojs\JournalBundle\Entity\ArticleFile Partially update a ArticleFile.
post ( array $parameters ) : Ojs\JournalBundle\Entity\ArticleFile Create a new ArticleFile.
put ( Ojs\JournalBundle\Entity\ArticleFile $entity, array $parameters ) : Ojs\JournalBundle\Entity\ArticleFile Edit a ArticleFile.

비공개 메소드들

메소드 설명
createArticleFile ( )
processForm ( Ojs\JournalBundle\Entity\ArticleFile $entity, array $parameters, String $method = "PUT" ) : Ojs\JournalBundle\Entity\ArticleFile Processes the form.
storeFile ( $file )

메소드 상세

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

get() 공개 메소드

Get a ArticleFile.
public get ( mixed $id, boolean $normalize = false ) : Ojs\JournalBundle\Entity\ArticleFile
$id mixed
$normalize boolean
리턴 Ojs\JournalBundle\Entity\ArticleFile

getArticle() 공개 메소드

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

patch() 공개 메소드

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

post() 공개 메소드

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

put() 공개 메소드

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