PHP Class Gc\Mvc\Controller\Action

Inheritance: extends Zend\Mvc\Controller\AbstractActionController
Afficher le fichier Open project: gotcms/gotcms Class Usage Examples

Protected Properties

Свойство Type Description
$aclPage array Abstract acl
$installerRoutes array Route available for installer
$routeMatch Zend\Mvc\Router\RouteMatch RouteMatch
$session Zend\Session\Container Session storage

Méthodes publiques

Méthode Description
events ( ) : StaticEventManager Retrieve event manager
getRouteMatch ( ) : Zend\Mvc\Router\Http\RouteMatch Return matched route
getSession ( ) : Zend\Session\Container Get session storage
init ( ) : mixed Initiliaze
onDispatch ( MvcEvent $e ) : mixed Execute the request
returnJson ( array $data ) : Zend\View\Model\JsonModel Return json model
setAcl ( array $array ) : void Override aclPage property
useFlashMessenger ( boolean $forceDisplay = true ) : void Initiliaze flash messenger

Méthodes protégées

Méthode Description
checkAcl ( Model $userModel ) : Zend\Http\Response | null Check user acl
construct ( ) : Zend\Http\Response | null Constructor

Method Details

checkAcl() protected méthode

Check user acl
protected checkAcl ( Model $userModel ) : Zend\Http\Response | null
$userModel Gc\User\Model User model
Résultat Zend\Http\Response | null

construct() protected méthode

Constructor
protected construct ( ) : Zend\Http\Response | null
Résultat Zend\Http\Response | null

events() public méthode

Retrieve event manager
public events ( ) : StaticEventManager
Résultat Gc\Event\StaticEventManager

getRouteMatch() public méthode

Return matched route
public getRouteMatch ( ) : Zend\Mvc\Router\Http\RouteMatch
Résultat Zend\Mvc\Router\Http\RouteMatch

getSession() public méthode

Get session storage
public getSession ( ) : Zend\Session\Container
Résultat Zend\Session\Container

init() public méthode

Initiliaze
public init ( ) : mixed
Résultat mixed

onDispatch() public méthode

Execute the request
public onDispatch ( MvcEvent $e ) : mixed
$e Zend\Mvc\MvcEvent Mvc Event
Résultat mixed

returnJson() public méthode

Return json model
public returnJson ( array $data ) : Zend\View\Model\JsonModel
$data array Data
Résultat Zend\View\Model\JsonModel

setAcl() public méthode

Override aclPage property
public setAcl ( array $array ) : void
$array array Array for acl pages
Résultat void

useFlashMessenger() public méthode

Initiliaze flash messenger
public useFlashMessenger ( boolean $forceDisplay = true ) : void
$forceDisplay boolean Force display
Résultat void

Property Details

$aclPage protected_oe property

Abstract acl
protected array $aclPage
Résultat array

$installerRoutes protected_oe property

Route available for installer
protected array $installerRoutes
Résultat array

$routeMatch protected_oe property

RouteMatch
protected RouteMatch,Zend\Mvc\Router $routeMatch
Résultat Zend\Mvc\Router\RouteMatch

$session protected_oe property

Session storage
protected Container,Zend\Session $session
Résultat Zend\Session\Container