/** * Allows for the disabling of DB profiling while in middle of the script * * @return void */ public function DisableProfiling() { if ($this->blnConnectedFlag && $this->IsProfilingSupported() && $this->blnEnableProfiling) { $this->NonQuery('SET PROFILING = 0;'); } parent::DisableProfiling(); }
public function __get($strName) { switch ($strName) { case 'AffectedRows': return mysql_affected_rows($this->objDb); default: try { return parent::__get($strName); } catch (QCallerException $objExc) { $objExc->IncrementOffset(); throw $objExc; } } }