Topics

Class Application

Base class for ImpressPages application

Namespace: Ip

Constants:

string ASSETS_DIR 'assets'

Methods:

string getVersion( )

Get framework version

Return values:

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

Handle HMVC request

Parameters:

Ip\Request $request
array $options
boolean $subrequest

Return values:

Ip\Response\Json|Ip\Response\Layout|Ip\Response\PageNotFound|Ip\Response\Redirect|string

Throws:

Ip\Exception
string getSecurityToken( )

Get security token used to prevent cross site scripting attacks

Return values:

string security token
comments powered by Disqus