\LtComponent

The Component class

Summary

Methods
Properties
Constants
__construct()
executeChain()
$context
$viewDir
$viewTplDir
$viewTplAutoCompile
$constructed
$data
No constants found
afterConstruct()
beforeExecute()
execute()
writeResponse()
$responseType
$code
$message
$view
$layout
N/A
No private methods found
No private properties found
N/A

Properties

$context

$context : object

The context object

Type

object

$viewDir

$viewDir

$viewTplDir

$viewTplDir

$viewTplAutoCompile

$viewTplAutoCompile

$constructed

$constructed : bool

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

Type

bool

$data

$data

$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

Returns

mixed —

executeChain()

executeChain() : mixed

Returns

mixed —

afterConstruct()

afterConstruct() : mixed

Returns

mixed —

beforeExecute()

beforeExecute() : mixed

Do something before subClass::execute().

Returns

mixed —

execute()

execute() : mixed

Returns

mixed —

writeResponse()

writeResponse() : mixed

Returns

mixed —