|
Previous Page |
Solar_Class_Map |
Next Page |
Properties
Public
None.
Protected
$_Solar_Class_Map
(array) User-defined configuration values.
Keys are ...
base- (string) The base directory of the class hierarchy. Default is the base directory for this class, typically the PEAR directory.
$_base
(string) The path to the base of the class hierarchy.
By default, uses the base path for this class in the file system.
$_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',
);
?>
$_map
(array) The class-to-file mappings.
Private
None.