function Execute() { parent::Execute(); if ($this->Page->Debug) { $q = trim(str_replace(array("\n", "\r"), array(" ", ""), $this->InterpolatedQuery())); $this->Debug(($this->Result ? 'successful' : 'failed') . " query [{$q}]"); } }
function Dump() { parent::Dump(); echo "SQL: [{$this->SQL}]<br>"; if (count($this->Params) > 0) { print_r($this->Params); echo "<br>"; } }