new ReflectionClass('Support\TicketTable')
Class Support\TicketTable does not exist
$arTicket = Array(
'TITLE' => $request["TITLE"],
'CATEGORY_ID' => (int)$request["CATEGORY_ID"],
'PRIORITY_ID' => (int)$request["PRIORITY_ID"],
'MESSAGE' => $_POST['MESSAGE'],
'FILES' => $request["FILES"],
);
$arTicket = Array(
'TITLE' => $request["TITLE"],
'CATEGORY_ID' => (int)$request["CATEGORY_ID"],
'PRIORITY_ID' => (int)$request["PRIORITY_ID"],
'MESSAGE' => $_POST['MESSAGE'],
'FILES' => $request["FILES"],
'PLATFORM_TECHNOLOG' => $request["PLATFORM_TECHNOLOG"]
);
[values:protected] => Array
(
[TICKET_ID] => 0
[PARRENT_MESSAGE_ID] =>
[SEND_MESSAGE] => Y
[t_submit_go] =>
[PLATFORM_TECHNOLOG] => technologist
[OWNER_ID] => 684
[sessid] => cc527ce93748c7a8981c48180090c88b
[CATEGORY_ID] => 4
[KindAction] => 1387
[TITLE] => Сколько ты зарабатываешь?!??
[MESSAGE] => ryryryr
)
$result = Support\TicketTable::add($arTicket);
$TICKET_ID = $result->getId();
if (!$result->isSuccess()) {
$arResult = $arTicket;
if ($arParams['ALLOW'] && (int)$request['PARRENT_MESSAGE_ID'] > 0) {
$arResult['PARRENT_MESSAGE_ID'] = $request['PARRENT_MESSAGE_ID'];
}
$arResult["ERRORS"] = $result->getErrorMessages();