protected function showRecords($sql, $comment = '') { if ($this->debugMode == 'debug') { echo $comment ? $comment . '<br/>' : ''; echo colesoTestShowReport($sql, $this->dbConn); } }
public function __construct($sql, $mode, $dbDriver = null) { $this->mode = $mode; $this->dbDriver = is_null($dbDriver) ? colesoDB::getConnection() : $dbDriver; $this->renderedHtml = colesoTestShowReport($sql, $this->dbDriver); $this->readMattrix($sql); }