Пример #1
0
 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}]");
     }
 }
Пример #2
0
 function Dump()
 {
     parent::Dump();
     echo "SQL: [{$this->SQL}]<br>";
     if (count($this->Params) > 0) {
         print_r($this->Params);
         echo "<br>";
     }
 }