32 $this->_iDebug = (int) $iDebug;
42 $this->_iDebug = $iDebug;
54 $this->_sFileName = $sFile;
85 $oEx->setLogFileName($this->_sFileName);
106 if (defined(
'OXID_PHP_UNIT')) {
108 } elseif (0 != $this->_iDebug) {
131 if (0 != $this->_iDebug) {
132 $sLogMsg = date(
'Y-m-d H:i:s') . $oEx .
"\n---------------------------------------------\n";
136 if (defined(
'OXID_PHP_UNIT')) {
138 } elseif (0 != $this->_iDebug) {
164 if (defined(
'OXID_PHP_UNIT')) {
165 if (substr($sMethod, 0, 4) ==
"UNIT") {
166 $sMethod = str_replace(
"UNIT",
"_", $sMethod);
168 if (method_exists($this, $sMethod)) {
169 return call_user_func_array(array(& $this, $sMethod), $aArgs);
173 throw new oxSystemComponentException(
"Function '$sMethod' does not exist or is not accessible! (" . __CLASS__ .
")" . PHP_EOL);