/** * Get db profiler object * * @return Zend_Db_Profiler_Firebug */ public function getProfiler() { if (NULL == $this->profiler) { $this->profiler = Uni_Fox::getDatabaseAdapter()->getProfiler(); } return $this->profiler; }
/** * Constructor * * @return void */ public function __construct() { $this->dbAdapter = Uni_Fox::getDatabaseAdapter(); }