PHP Класс Ojs\ApiBundle\Controller\ApiController

Наследование: extends FOS\RestBundle\Controller\FOSRestController
Показать файл Открыть проект

Защищенные методы

Метод Описание
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