Class Controller
A controller implements application logic based on models and feeds data to views for rendering a corresponding output.
- Core\Object implements Core\Chainable
-
Core\Set
implements
Core\Accessor
-
Core\Controller
Direct known subclasses
Namespace: Core
Package: Core\Controller
Since: 3.0
Requires: PHP 5.3
Version: 1.1
Located at Controller.inc.php
Methods summary
protected
|
#
appendView( string $viewName = null, string $proxyInstanceName = Registry::DefaultView )
Creates a new view and assigns it to the controller. |
protected
|
|
protected
|
#
dispatch( string|boolean $controllerName, string|boolean $action = false )
Dispatches control to a different controller. All views created by the dispatch controller are assigned to the current controller. |
abstract public
|
|
protected
|
#
relocate( string|boolean $controllerName, string|boolean $action = false, array $POST = null, array $GET = null )
Resets environment and dispatches to new target. A relocation is similar
to a standard dispatch but also overwrites |
Methods inherited from Core\Object
__autocreateFactory(),
__call(),
__processParameters(),
__toString(),
attachMethod(),
chain(),
getValueForKey(),
getValueForKeyPath(),
getValueForUndefinedKey(),
hash(),
issetValueForKey(),
setValueForKey(),
setValueForKeyPath(),
setValueForUndefinedKey(),
uuid()
Constants summary
Constants inherited from Core\Object
AnyParameterType,
AutochainParameterType,
AutocreateParameterType,
BooleanParameterType,
CharParameterType,
EnumParameterType,
IntegerParameterType,
RealParameterType,
StringParameterType,
UserParameterType
Properties summary
protected
array
|
$_v_views
Array of view instances assigned to the controller. |
#
array ()
|