/** * Added extra information for debug purposes on the error handler screen * * @param string $name * @param string $value */ public function addExtraInfo($name, $value) { if (method_exists($this->_handler, 'addDataTable')) { $data = $this->_handler->getDataTable(); $this->_handler->addDataTable('Info #' . (count($data) + 1), array($name => $value)); } }
/** * Added extra information for debug purposes on the error handler screen * * @param string $name * @param value $value */ public function addExtraInfo($name, $value) { if (method_exists($this->_handler, 'addDataTable')) { $this->_handler->addDataTable('Xmlnuke Debug', array($name => $value)); } }