PHP 클래스 Ojs\ApiBundle\Controller\ApiController

상속: extends FOS\RestBundle\Controller\FOSRestController
파일 보기 프로젝트 열기: ojs/ojs

보호된 메소드들

메소드 설명
isGranted ( mixed $attributes, mixed $object = null, $field = null ) : boolean Checks if the attributes are granted against the current authentication token and optionally supplied object.
isGrantedForPublisher ( Publisher $publisher )
throw404IfNotFound ( mixed $entity, string $message = 'Not Found' ) : boolean

메소드 상세

isGranted() 보호된 메소드

Checks if the attributes are granted against the current authentication token and optionally supplied object.
protected isGranted ( mixed $attributes, mixed $object = null, $field = null ) : boolean
$attributes mixed The attributes
$object mixed The object
$field
리턴 boolean

isGrantedForPublisher() 보호된 메소드

protected isGrantedForPublisher ( Publisher $publisher )
$publisher Ojs\JournalBundle\Entity\Publisher

throw404IfNotFound() 보호된 메소드

protected throw404IfNotFound ( mixed $entity, string $message = 'Not Found' ) : boolean
$entity mixed
$message string custom not found message
리턴 boolean