Some tips to create 'Solarified' classes - classes that adhere to the Solar standards and guidelines.
$config['Class_Full_Name'] = array( 'key' => 'value', );
* The config array is available trough $this→_config, so, inside the class:
* For exceptions you can use:
throw $this->_exception('ERR_CODE');
class Vendor_Controller_Front extends Solar_Base { /** * * User-defined configuration array. * * @var array * */ protected $_Vendor_Controller_Front = array( ); /** * * Constructor. * * @param array $config User-provided configuration values. * */ public function __construct($config) { // do the "real" construction parent::__construct($config); // continue with your constructor code [...] } }