Class Primary
The primary controller is a global hub controller that connects the dispatcher with dynamically created views and the query interface.
- Core\Object implements Core\Chainable
- Core\Set implements Core\Accessor
- Core\Controller
- Core\Controller\Primary
Package: Core\Controller
Since: 3.0
Requires: PHP 5.3
Version: 1.0
Located at Controller/Primary.inc.php
Methods summary
public
|
|
public static
static
|
|
public
|
#
executeViews(
Executes all views created by a controller in the order of their creation. Additionally executes all globally registered views if no error occurred during the previous execution round. |
public
|
#
main( )
Executes configured dispatcher and renders views. In case of an error, an automated error dispatch is performed. |
Methods inherited from Core\Controller
Methods inherited from Core\Object
__autocreateFactory()
,
__call()
,
__processParameters()
,
__toString()
,
attachMethod()
,
chain()
,
getValueForKey()
,
getValueForKeyPath()
,
getValueForUndefinedKey()
,
hash()
,
issetValueForKey()
,
setValueForKey()
,
setValueForKeyPath()
,
setValueForUndefinedKey()
,
uuid()
Constants summary
string |
DispatcherParameter
URI string for dispatcher to use. Most applications use the default
dispatcher with the URI string |
#
'dispatcher'
|
string |
QueryParameter
URI string for the query parser and builder interface to use. See the list of available query drivers for more details on specific query interfaces and their requirements. |
#
'query'
|
Constants inherited from Core\Object
AnyParameterType
,
AutochainParameterType
,
AutocreateParameterType
,
BooleanParameterType
,
CharParameterType
,
EnumParameterType
,
IntegerParameterType
,
RealParameterType
,
StringParameterType
,
UserParameterType
Properties summary
protected
|
$_v_dispatcher
Configured dispatcher instance. |
|
protected
array
|
$_v_parameters
Configuration parameters. |
|
protected
|
$_v_query
Configured query instance. |
Properties inherited from Core\Controller
Magic properties
public read-only
|
$dispatcher
Dispatcher instance in use. |
public read-only
array
|
$parameters
Associative array of configuration parameters. |
public read-only
|
$query
Query instance in use. |