\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 : 

Type

$viewTplDir

$viewTplDir : 

Type

$viewTplAutoCompile

$viewTplAutoCompile : 

Type

$constructed

$constructed : boolean

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

Type

boolean

$data

$data : 

Type

$responseType

$responseType : string

The response type

Type

string

$code

$code : 

Result properties

Type

$message

$message : 

Type

$view

$view : 

Type

$layout

$layout : 

Type

Methods

__construct()

__construct() 

The constructor function

executeChain()

executeChain() 

afterConstruct()

afterConstruct() 

beforeExecute()

beforeExecute() 

Do something before subClass::execute().

execute()

execute() 

writeResponse()

writeResponse()