public function _initProfiler() { if ($this->getEnvironment() == 'development') { $profiler = new Zend_Db_Profiler_Firebug('All DB Queries'); $profiler->setEnabled(true); $db = Keplin_Model_Mapper_Abstract::getDefaultDb(); $db->setProfiler($profiler); } }
public static function setDefaultDb(Zend_Db_Adapter_Abstract $db) { self::$_defaultDb = $db; }
public function __construct() { parent::__construct(); $this->is_published = 1; }