PHP 클래스 Gc\Mvc\Controller\Action

상속: extends Zend\Mvc\Controller\AbstractActionController
파일 보기 프로젝트 열기: gotcms/gotcms 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$aclPage array Abstract acl
$installerRoutes array Route available for installer
$routeMatch Zend\Mvc\Router\RouteMatch RouteMatch
$session Zend\Session\Container Session storage

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
checkAcl ( Model $userModel ) : Zend\Http\Response | null Check user acl
construct ( ) : Zend\Http\Response | null Constructor

메소드 상세

checkAcl() 보호된 메소드

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

construct() 보호된 메소드

Constructor
protected construct ( ) : Zend\Http\Response | null
리턴 Zend\Http\Response | null

events() 공개 메소드

Retrieve event manager
public events ( ) : StaticEventManager
리턴 Gc\Event\StaticEventManager

getRouteMatch() 공개 메소드

Return matched route
public getRouteMatch ( ) : Zend\Mvc\Router\Http\RouteMatch
리턴 Zend\Mvc\Router\Http\RouteMatch

getSession() 공개 메소드

Get session storage
public getSession ( ) : Zend\Session\Container
리턴 Zend\Session\Container

init() 공개 메소드

Initiliaze
public init ( ) : mixed
리턴 mixed

onDispatch() 공개 메소드

Execute the request
public onDispatch ( MvcEvent $e ) : mixed
$e Zend\Mvc\MvcEvent Mvc Event
리턴 mixed

returnJson() 공개 메소드

Return json model
public returnJson ( array $data ) : Zend\View\Model\JsonModel
$data array Data
리턴 Zend\View\Model\JsonModel

setAcl() 공개 메소드

Override aclPage property
public setAcl ( array $array ) : void
$array array Array for acl pages
리턴 void

useFlashMessenger() 공개 메소드

Initiliaze flash messenger
public useFlashMessenger ( boolean $forceDisplay = true ) : void
$forceDisplay boolean Force display
리턴 void

프로퍼티 상세

$aclPage 보호되어 있는 프로퍼티

Abstract acl
protected array $aclPage
리턴 array

$installerRoutes 보호되어 있는 프로퍼티

Route available for installer
protected array $installerRoutes
리턴 array

$routeMatch 보호되어 있는 프로퍼티

RouteMatch
protected RouteMatch,Zend\Mvc\Router $routeMatch
리턴 Zend\Mvc\Router\RouteMatch

$session 보호되어 있는 프로퍼티

Session storage
protected Container,Zend\Session $session
리턴 Zend\Session\Container