|
Previous Page |
Solar_Controller_Front |
Next Page |
Properties
Public
None.
Protected
$_Solar_Controller_Front
(array) User-defined configuration array.
Keys are ...
classes- (array) Base class names for page controllers.
default- (string) The default page-name.
routing- (array) Key-value pairs explicitly mapping a page-name to a controller class.
$_config
(array) Collection point for configuration values.
Inherited from Solar_Base.
Note that you do not define config defaults in $_config directly.
<?php
// DO NOT DO THIS
protected $_config = array(
'foo' => 'bar',
'baz' => 'dib',
);
?>
Instead, define config defaults in a protected property named for the class, withan underscore prefix.
For exmple, a "Vendor_Class_Name" class would define the default config array in "$_Vendor_Class_Name". This convention lets child classes inherit parent config keys and values.
<?php
// DO THIS INSTEAD
protected $_Vendor_Class_Name = array(
'foo' => 'bar',
'baz' => 'dib',
);
?>
$_default
(array) The default page name when none is specified.
$_routing
(array) Explicit page-name to class-name mappings.
$_stack
(Solar_Class_Stack) Stack of page-controller class prefixes.
Private
None.