30 $this->_iDebug = (int) $iDebug;
40 $this->_iDebug = $iDebug;
50 $this->_sFileName = $sFile;
79 $oEx->setLogFileName($this->_sFileName);
98 if (defined(
'OXID_PHP_UNIT')) {
100 } elseif (0 != $this->_iDebug) {
121 if (0 != $this->_iDebug) {
122 $sLogMsg = date(
'Y-m-d H:i:s') . $oEx .
"\n---------------------------------------------\n";
124 if (defined(
'OXID_PHP_UNIT')) {
126 } elseif (0 != $this->_iDebug) {
152 if (defined(
'OXID_PHP_UNIT')) {
153 if (substr($sMethod, 0, 4) ==
"UNIT") {
154 $sMethod = str_replace(
"UNIT",
"_", $sMethod);
156 if (method_exists($this, $sMethod)) {
157 return call_user_func_array(array(& $this, $sMethod), $aArgs);
161 throw new oxSystemComponentException(
"Function '$sMethod' does not exist or is not accessible! (" . __CLASS__ .
")" . PHP_EOL);