dumpResult() public static method

Displays complete result set as HTML table for debug purposes.
public static dumpResult ( ResultSet $result ) : void
$result ResultSet
return void
 /**
  * Suggested behavior: print Tracy\Dumper::toHtml() array
  * of returned rows so row count is immediately visible.
  *
  * @return Html|string
  */
 public function getResult()
 {
     ob_start();
     NDB\Helpers::dumpResult($this->result);
     return ob_get_clean();
 }
Beispiel #2
0
 /**
  * Displays complete result set as HTML table for debug purposes.
  * @return void
  */
 public function dump()
 {
     Helpers::dumpResult($this);
 }
Beispiel #3
0
getTime(){return$this->time;}function
dump(){Helpers::dumpResult($this);}static