Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
lithium
test
Controller
PHP Class lithium\test\Controller
Inheritance:
extends
lithium\core\Object
Show file
Open project: unionofrad/lithium
Protected Properties
Property
Type
Description
$_context
array
Saved context.
Public Methods
Method
Description
__invoke
(
Request
$request
,
array
$dispatchParams
,
array
$options
= [] ) :
string
Magic method to make Controller callable.
Protected Methods
Method
Description
_restoreCtrlContext
( )
_saveCtrlContext
( )
Method Details
__invoke()
public
method
Magic method to make Controller callable.
See also:
lithium\action\Dispatcher::_callable()
public
__invoke
(
Request
$request
,
array
$dispatchParams
,
array
$options
= [] ) :
string
$request
lithium\action\Request
$dispatchParams
array
Array of params after being parsed by router.
$options
array
Some basic options for this controller.
return
string
_restoreCtrlContext()
protected
method
protected
_restoreCtrlContext
( )
_saveCtrlContext()
protected
method
protected
_saveCtrlContext
( )
Property Details
$_context
protected property
Saved context.
protected
array
$_context
return
array