PHP 클래스 Ip\Application

파일 보기 프로젝트 열기: impresspages/impresspages 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$config
$configPath

공개 메소드들

메소드 설명
__construct ( $configPath )
_handleOnlyRequest ( Request $request, array $options = [], boolean $subrequest = true ) : Ip\Response\Json | Ip\Response\PageNotFound | Ip\Response\Redirect
close ( )
getSecurityToken ( ) : string Get security token used to prevent cross site scripting attacks
getVersion ( ) : string Get framework version
handleRequest ( Request $request, array $options = [], boolean $subrequest = true ) : Ip\Response\Json | Ip\Response\Layout | Ip\Response\PageNotFound | Ip\Response\Redirect | string Handle HMVC request
handleResponse ( Ip\Response $response )
init ( )
modulesInit ( )
prepareEnvironment ( array $options = [] )
run ( array $options = [] )

보호된 메소드들

메소드 설명
addFileRoutes ( $routesFile, $plugin )
initTranslations ( $languageCode )

메소드 상세

__construct() 공개 메소드

public __construct ( $configPath )
$configPath

_handleOnlyRequest() 공개 메소드

public _handleOnlyRequest ( Request $request, array $options = [], boolean $subrequest = true ) : Ip\Response\Json | Ip\Response\PageNotFound | Ip\Response\Redirect
$request Request
$options array
$subrequest boolean
리턴 Ip\Response\Json | Ip\Response\PageNotFound | Ip\Response\Redirect

addFileRoutes() 보호된 메소드

protected addFileRoutes ( $routesFile, $plugin )

close() 공개 메소드

public close ( )

getSecurityToken() 공개 메소드

Get security token used to prevent cross site scripting attacks
public getSecurityToken ( ) : string
리턴 string security token

getVersion() 공개 정적인 메소드

Get framework version
public static getVersion ( ) : string
리턴 string

handleRequest() 공개 메소드

Handle HMVC request
public handleRequest ( Request $request, array $options = [], boolean $subrequest = true ) : Ip\Response\Json | Ip\Response\Layout | Ip\Response\PageNotFound | Ip\Response\Redirect | string
$request Request
$options array
$subrequest boolean
리턴 Ip\Response\Json | Ip\Response\Layout | Ip\Response\PageNotFound | Ip\Response\Redirect | string

handleResponse() 공개 메소드

public handleResponse ( Ip\Response $response )
$response Ip\Response

init() 공개 메소드

public init ( )

initTranslations() 보호된 메소드

protected initTranslations ( $languageCode )

modulesInit() 공개 메소드

public modulesInit ( )

prepareEnvironment() 공개 메소드

public prepareEnvironment ( array $options = [] )
$options array

run() 공개 메소드

public run ( array $options = [] )
$options array

프로퍼티 상세

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

protected $config

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

protected $configPath