47 if ( ! method_exists(
'CDatabase',
'Query') )
52 if ( ! (is_object(
$DB) && method_exists(
$DB,
'Query')) )
55 if ( !
$DB->TableExists(
'b_learn_exceptions_log') )
59 "INSERT INTO b_learn_exceptions_log
60 (DATE_REGISTERED, CODE, MESSAGE, FFILE, LINE, BACKTRACE)
61 VALUES (" .
$DB->GetNowFunction() .
", " . (
int)
$code .
", '"
64 .
$DB->ForSQL(base64_encode(serialize($backtrace)))
const EXC_ERR_GR_SET_PROPERTY
const EXC_ERR_LP_BROKEN_PATH
const EXC_ERR_GN_FILE_UPLOAD
const EXC_ERR_GR_GET_NEIGHBOURS
learning_log_exception($message, $code, $line, $file, $backtrace)
const EXC_ERR_ALL_ACCESS_DENIED
const EXC_ERR_ALL_NOT_EXISTS
__construct($message=null, $code=0)
const EXC_ERR_GN_CHECK_PARAMS
const EXC_ERR_LL_UNREMOVABLE_CL
const EXC_ERR_GR_GET_PROPERTY
if(!is_null($config))($config as $configItem)(! $configItem->isVisible()) $code