PHP Class Ojs\CoreBundle\Controller\OjsController

Inheritance: extends Symfony\Bundle\FrameworkBundle\Controller\Controller
Afficher le fichier Open project: ojs/ojs

Méthodes protégées

Méthode Description
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

Method Details

errorFlashBag() protected méthode

protected errorFlashBag ( $text ) : boolean
$text
Résultat boolean

isGranted() protected méthode

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
Résultat boolean

isGrantedForPublisher() protected méthode

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

successFlashBag() protected méthode

protected successFlashBag ( $text ) : boolean
$text
Résultat boolean

throw404IfNotFound() protected méthode

protected throw404IfNotFound ( mixed $entity, string $message = 'Not Found' ) : boolean
$entity mixed
$message string custom not found message
Résultat boolean