public function getConfig() { if (self::$__config === null) { self::$__config = Yaf_Application::app()->getConfig(); $this->config = self::$__config; } return self::$__config; }