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