public static function singleton() { if (!self::$_instance) { self::$_instance = new self(); } return self::$_instance; }
public function setConfigAction() { $confFile = $this->_appDir . DS . 'app' . DS . 'Config' . DS . self::DB_CONNECT_FILE; Framework_Model::setConfig($confFile); }