/** * __construct * * @return void */ public function __construct() { $this->config =& Joy_Config::getInstance(); $this->event =& Joy_Event::getInstance(); $this->cache =& Joy_Cache::getInstance(); $this->_registerEvents(); $this->_init(); }