PHP Класс Ojs\CoreBundle\Controller\OjsController

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

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

Метод Описание
errorFlashBag ( $text ) : boolean
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 )
successFlashBag ( $text ) : boolean
throw404IfNotFound ( mixed $entity, string $message = 'Not Found' ) : boolean

Описание методов

errorFlashBag() защищенный метод

protected errorFlashBag ( $text ) : boolean
$text
Результат 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

successFlashBag() защищенный метод

protected successFlashBag ( $text ) : boolean
$text
Результат boolean

throw404IfNotFound() защищенный метод

protected throw404IfNotFound ( mixed $entity, string $message = 'Not Found' ) : boolean
$entity mixed
$message string custom not found message
Результат boolean