Properties

$context

$context : object

The context object

Type

object

$viewDir

$viewDir

$viewTplDir

$viewTplDir

$viewTplAutoCompile

$viewTplAutoCompile

$data

$data

$dtds

$dtds : array

The dtd config for validator

Type

array

$acl

$acl : array

The Access Control List

Type

array

$roles

$roles : array

The current user's roles

Type

array

$constructed

$constructed : bool

A flag to indicate if subclass call LtAction::__construct()

Type

bool

$responseType

$responseType : string

The response type

Type

string

$code

$code

Result properties

$message

$message

$view

$view

$layout

$layout

Methods

__construct()

__construct() : mixed

The constructor function, initialize the URI property

Returns

mixed —

executeChain()

executeChain() : mixed

Returns

mixed —

afterConstruct()

afterConstruct() : mixed

Do something after subClass::__construct().

Returns

mixed —

validateInput()

validateInput() : array

Validate the data from client

Returns

array —

checkPrivilege()

checkPrivilege() : \boolen

Check if current user have privilege to do this

Returns

\boolen —

beforeExecute()

beforeExecute() : mixed

Do something before subClass::execute().

Returns

mixed —

execute()

execute() : mixed

Returns

mixed —

writeResponse()

writeResponse() : mixed

Returns

mixed —