Skip to main content

Hooks

You can listen to these events using listener. See bootstrap.php file

Chat start event

These are all different variations of chat started event.

FileIdentifierArgumentsDescription
./modules/lhwidgetrestapi/submitonline.phpchat.chat_startedarray('chat' => & $chat, 'msg' => $messageInitial));
./lib/core/lhchat/lhchatvalidator.phpchat.chat_startedarray('chat' => & $chat));
./modules/lhchat/startchat.phpchat.chat_startedarray('chat' => & $chat, 'msg' => $messageInitial));
./modules/lhchat/chatwidget.phpchat.chat_startedarray('chat' => & $chat, 'msg' => $messageInitial));
./modules/lhchat/readoperatormessage.phpchat.chat_startedarray('chat' => & $chat, 'msg' => $messageInitial));
./modules/lhrestapi/startchat.phpchat.chat_startedarray('chat' => & $chat, 'msg' => $messageInitial));
./modules/lhchat/startchat.phpchat.startchat_data_fieldsarray('data_fields' => & $startDataFields, 'params' => $Params));
./modules/lhchat/startchat.phpchat.before_chat_startedarray('chat' => & $chat, 'errors' => & $Errors, 'offline' => (isset($additionalParams['offline']) && $additionalParams['offline'] == true)));
./modules/lhchat/startchat.phpchat.chat_offline_request_presendarray(
./modules/lhchat/startchat.phpchat.chat_offline_requestarray(
./modules/lhchat/startchat.phpchat.startchatarray('result' => & $Result,'tpl' => & $tpl, 'params' => & $Params, 'inputData' => & $inputData));

General purpose chat events

FileIdentifierArgumentsDescription
./modules/lhchat/addmsguser.phpchat.validstatus_chatarray('chat' => & $chat, 'valid_statuses' => & $validStatuses));
./modules/lhchat/syncuser.phpchat.validstatus_chatarray('chat' => & $chat, 'valid_statuses' => & $validStatuses));
./modules/lhchat/transfertohuman.phpchat.validstatus_chatarray('chat' => & $chat, 'valid_statuses' => & $validStatuses));
./modules/lhchat/usertyping.phpchat.validstatus_chatarray('chat' => & $chat, 'valid_statuses' => & $validStatuses));
./modules/lhgenericbot/buttonclicked.phpchat.validstatus_chatarray('chat' => & $chat, 'valid_statuses' => & $validStatuses));
./modules/lhgenericbot/updatebuttonclicked.phpchat.validstatus_chatarray('chat' => & $chat, 'valid_statuses' => & $validStatuses));
./modules/lhrestapi/addmsguser.phpchat.validstatus_chatarray('chat' => & $chat, 'valid_statuses' => & $validStatuses));
./modules/lhwidgetrestapi/addmsguser.phpchat.validstatus_chatarray('chat' => & $chat, 'valid_statuses' => & $validStatuses));
./modules/lhwidgetrestapi/fetchmessages.phpchat.validstatus_chatarray('chat' => & $chat, 'valid_statuses' => & $validStatuses));
./modules/lhchat/list.phpchat.list_patharray('result' => & $Result));
./modules/lhchat/chat.phpchat.chatarray('result' => & $Result, 'tpl' => & $tpl, 'params' => & $Params, 'chat' => & $chat));
./modules/lhchat/blockedusers.phpchat.blockedusersarray());
./modules/lhchat/blockedusers.phpchat.blockedusres_patharray('result' => & $Result));
FileIdentifierArgumentsDescription
./modules/lhchat/accepttransfer.phpchat.chat_transfer_acceptedarray('chat' => & $chat));
./lib/core/lhchat/lhchatcommand.phpchat.chat_transfered_forcearray('chat' => & $params['chat']));
./modules/lhchat/transferuser.phpchat.before_chat_transferedarray('chat' => & $Chat, 'errors' => & $errors));
./modules/lhchat/transferuser.phpchat.chat_transferedarray('chat' => & $Chat, 'transfer' => $Transfer));
./modules/lhxml/accepttransfer.phpchat.chat_transfer_acceptedarray('chat' => & $chat));
./modules/lhxml/accepttransferbychat.phpchat.chat_transfer_acceptedarray('chat' => & $chat));
./modules/lhxml/transferuser.phpchat.chat_transferedarray('chat' => & $Chat));

Chat close event

Happens when operator or system closes a chat.

FileIdentifierArgumentsDescription
./lib/core/lhchat/lhchat.phpchat.closearray('chat' => & $chat, 'user_data' => $operator));

Chat modify event

Chat was modified by system or operator.

FileIdentifierArgumentsDescription
./lib/core/lhchat/lhchatvalidator.phpchat.modifiedarray('chat' => & $chat, 'params' => array()));
./modules/lhchat/modifychat.phpchat.modifiedarray('chat' => & $chat, 'params' => $Params));
./modules/lhchat/adminchat.phpchat.data_changedarray('chat' => & $chat,'user' => $currentUser));
./modules/lhchat/changestatus.phpchat.data_changedarray('chat' => & $chat, 'user' => $currentUser));
./modules/lhchat/addmsgadmin.phpchat.data_changedarray('chat' => & $Chat, 'user' => $currentUser));
./modules/lhxml/chatdata.phpchat.data_changedarray('chat' => & $chat,'user' => $currentUser));
./modules/lhrestapi/setchatstatus.phpchat.data_changedarray('chat' => & $chat, 'user_data' => $userData));
./modules/lhrestapi/addmsgadmin.phpchat.data_changedarray('chat' => & $Chat, 'user_data' => $userData));
./lib/models/lhchat/erlhcoreclassmodelchatonlineuser.phpchat.data_changed_chatarray('chat_id' => $item->chat_id));Happens only when visitor activity changes. From offline to online
./modules/lhwidgetrestapi/chatcheckstatus.phpchat.data_changed_chatarray('chat_id' => $chatId));Happens only when visitor activity changes. From offline to online
FileIdentifierArgumentsDescription
./lib/models/lhchat/erlhcoreclassmodelchatonlineuser.phponlineuser.before_proactive_triggeredarray('ou' => & $item, 'errors' => & $errors));
./lib/models/lhchat/erlhcoreclassmodelchatonlineuser.phponlineuser.before_store_chat
./lib/models/lhchat/erlhcoreclassmodelchatonlineuser.phponlineuser.createdarray('tpl' => (isset($paramsHandle['tpl']) ? $paramsHandle['tpl'] : false), 'ou' => & $item));
./lib/models/lhchat/erlhcoreclassmodelchatonlineuser.phponlineuser.pageview_loggedarray('tpl' => (isset($paramsHandle['tpl']) ? $paramsHandle['tpl'] : false), 'ou' => & $item));
./lib/models/lhchat/erlhcoreclassmodelchatonlineuser.phponlineuser.handle_requestarray('new_visitor' => $newVisitor, 'returning_visitor' => $returningVisitor, 'online_user' => $item, 'params' => $paramsHandle));
./lib/models/lhabstract/erlhabstractmodeleproactivechatinvitation.phponlineuser.proactive_triggeredarray('message' => & $message, 'ou' => & $item));
./modules/lhchat/sendnotice.phponlineuser.proactive_send_invitationarray('ou' => & $visitor));
./modules/lhchat/onlineusers.phpchat.onlineusers_patharray('result' => & $Result));
./lib/models/lhchat/erlhcoreclassmodelchatonlineuserfootprint.phponlinefootprint.createdarray('item' => & $item));
./lib/models/lhchat/erlhcoreclassmodelchatonlineuserfootprint.phponline.assign_chat_to_pageviewsarray('online_user' => & $onlineUser));
FileIdentifierArgumentsDescription
./lib/models/lhabstract/erlhabstractmodeleproactivechatinvitation.phpfeature.can_use_proactivearray('object_meta_data' => & $metaData));
./lib/models/lhabstract/erlhabstractmodeleproactivechatevent.phpfeature.can_use_proactivearray(
./lib/models/lhabstract/erlhabstractmodeleproactivechatvariables.phpfeature.can_use_proactivearray('object_meta_data' => & $metaData));
./lib/models/lhabstract/erlhabstractmodeleproactivechatcampaign.phpfeature.can_use_proactivearray(
./modules/lhchat/chatcheckoperatormessage.phpchat.chatcheckoperatormessagearray('proactive_active' => & $proactiveInviteActive));
./modules/lhrestapi/chatcheckoperatormessage.phpchat.chatcheckoperatormessagearray('proactive_active' => & $proactiveInviteActive));
./modules/lhwidgetrestapi/checkinvitation.phpchat.chatcheckoperatormessagearray('proactive_active' => & $proactiveInviteActive));
./modules/lhwidgetrestapi/settings.phpchat.chatcheckoperatormessagearray('proactive_active' => & $proactiveInviteActive));
./modules/lhchat/sendnotice.phpchat.sendnoticearray('errors' => & $Errors));Operator sends message to online visitor

Chat delete event

FileIdentifierArgumentsDescription
./lib/core/lhchat/lhchatcommand.phpchat.deletearray('chat' => & $params['chat'], 'user' => $params['user'])
./lib/core/lhchat/lhchatworkflow.phpchat.deletearray('chat' => & $chat)
./modules/lhchat/delete.phpchat.deletearray('chat' => & $chat, 'user' => $currentUser));
./modules/lhchat/deletechatadmin.phpchat.deletearray('chat' => & $chat, 'user' => $currentUser));
./modules/lhxml/deletechat.phpchat.deletearray('chat' => & $chat, 'user' => $currentUser));
FileIdentifierArgumentsDescription
./lib/core/lhchat/lhchatadminvalidatorhelper.phpchat.validate_canned_msg_user_departmentsarray('canned_msg' => & $cannedMessage, 'errors' => & $Errors));
./lib/core/lhchat/lhchatworkflow.phpchat.workflow.presend_canned_msgarray(
./lib/core/lhchat/lhchatworkflow.phpchat.workflow.canned_message_replacearray('items' => & $items, 'user' => $chat->user, 'chat' => $chat, 'replace_array' => & $replaceArray));
./lib/core/lhchat/lhchatworkflow.phpchat.workflow.canned_message_before_savearray('msg' => & $msg, 'chat' => & $chat));
./lib/models/lhchat/erlhcoreclassmodelcannedmsg.phpchat.workflow.canned_message_filterarray(
./lib/models/lhchat/erlhcoreclassmodelcannedmsg.phpchat.workflow.canned_message_replacearray(
./lib/models/lhchat/erlhcoreclassmodelcannedmsgtaglink.phpchat.workflow.canned_message_replacearray(
./modules/lhchat/newcannedmsg.phpchat.newcannedmsgarray());
./modules/lhchat/newcannedmsg.phpchat.before_newcannedmsgarray('departments' => $userDepartments, 'scope' => 'global', 'errors' => & $Errors, 'msg' => & $CannedMessage));
./modules/lhchat/newcannedmsg.phpchat.newcannedmsg_savedarray('msg' => & $CannedMessage));
./modules/lhchat/newcannedmsg.phpchat.newcannedmsg_patharray('result' => & $Result));
./modules/lhchat/cannedmsgedit.phpchat.canned_msg_before_savearray('departments' => $userDepartments, 'errors' => & $Errors, 'msg' => & $Msg, 'scope' => 'global'));
./modules/lhchat/cannedmsgedit.phpchat.canned_msg_after_savearray('msg' => & $Msg));
./modules/lhchat/cannedmsgedit.phpchat.cannedmsgedit_patharray('result' => & $Result));
./modules/lhchat/cannedmsg.phpchat.cannedmsgarray());
./modules/lhchat/cannedmsg.phpchat.cannedmsg_before_removearray('msg' => & $Msg));
./modules/lhchat/cannedmsg.phpchat.cannedmsg_patharray('result' => & $Result);
./modules/lhuser/account.phpchat.canned_msg_before_savearray('errors' => & $Errors, 'msg' => & $cannedMessage, 'scope' => 'user'));
./modules/lhuser/account.phpchat.canned_msg_after_savearray('msg' => & $cannedMessage));
./modules/lhspeech/editlanguage.phpchat.cannedmsgedit_patharray('result' => & $Result));
./modules/lhspeech/editdialect.phpchat.cannedmsgedit_patharray('result' => & $Result));
./modules/lhcannedmsg/filter.phpcannedmsg.filterarray('q' => $q, 'cannedmessages' => & $cannedMessagesFormated, 'chat' => & $chat);

Messaging events

FileIdentifierArgumentsDescription
./lib/core/lhcore/lhfileupload.phpchat.web_add_msg_adminarray('msg' => & $msg, 'chat' => & $chat));
./modules/lhchat/addmsgadmin.phpchat.web_add_msg_adminarray('msg' => & $msg,'chat' => & $Chat, 'ou' => (isset($onlineuser) ? $onlineuser : null)));
./lib/core/lhgenericbot/lhgenericbotworkflow.phpchat.before_msg_user_savedarray('msg' => & $msg, 'chat' => & $chat));
./modules/lhchat/addmsgadmin.phpchat.before_msg_admin_savedarray('msg' => & $msg,'chat' => & $Chat));
./modules/lhrestapi/addmsgadmin.phpchat.before_msg_admin_savedarray('msg' => & $msg,'chat' => & $Chat));
./lib/core/lhcore/lhfileupload.phpchat.before_msg_admin_savedarray('msg' => & $msg, 'chat' => & $chat));
./modules/lhchat/transferuser.phpchat.before_msg_admin_savedarray('msg' => & $msg, 'chat' => & $chat, 'user_id' => $userData->id));If we send a system message user_id is provided to know who original initiated an action.
./modules/lhrestapi/addmsgadmin.phpchat.web_add_msg_adminarray('msg' => & $msg,'chat' => & $Chat));
./modules/lhchatbox/addmsguser.phpchatbox.before_msg_user_savedarray('msg' => & $msg,'chat' => & $Chat));
./modules/lhchat/addmsguser.phpchat.before_msg_user_savedarray('msg' => & $msg,'chat' => & $chat));
./modules/lhchat/addmsguser.phpchat.addmsguserarray('chat' => & $chat, 'msg' => & $msg));
./modules/lhrestapi/addmsguser.phpchat.addmsguserarray('chat' => & $chat, 'msg' => & $msg, 'init' => 'restapi'));
./modules/lhwidgetrestapi/addmsguser.phpchat.before_msg_user_savedarray('msg' => & $msg,'chat' => & $chat));
./modules/lhwidgetrestapi/addmsguser.phpchat.addmsguserarray('chat' => & $chat, 'msg' => & $msg));
./modules/lhchat/syncadmininterface.phpchat.syncadmininterface.pendingchatsarray('additional_filter' => & $additionalFilter));
./modules/lhchat/syncadmininterface.phpchat.syncadmininterfacearray('lists' => & $ReturnMessages, 'v' => & $version));Listen to this event if you want to modify what's returned for back office sync call
./modules/lhchat/syncuser.phpchat.syncuserarray('chat' => & $chat, 'response' => & $responseArray));
./modules/lhwidgetrestapi/fetchmessages.phpchat.syncuserarray('chat' => & $chat, 'response' => & $responseArray));
./modules/lhchat/syncadmin.phpchat.syncadminarray('response' => & $response, 'messages' => $Messages, 'chat' => $Chat));Right place to inject something for new messages check for admin
./modules/lhchat/updatemsguser.phpchat.before_msg_user_updatearray('msg' => & $msg,'chat' => & $chat));
./modules/lhwidgetrestapi/addmsguser.phpchat.unread_chatarray('chat' => & $chat));
./modules/lhchat/addmsguser.phpchat.unread_chatarray('chat' => & $chat));
./modules/lhchat/userclosechat.phpchat.unread_chatarray('chat' => & $chat));
./modules/lhchat/chatwidgetclosed.phpchat.unread_chatarray('chat' => & $chat));
./modules/lhchat/chatwidgetclosed.phpchat.unread_chatarray('chat' => & $chat));
./modules/lhsurvey/backtochat.phpchat.unread_chatarray('chat' => & $chat));
./modules/lhrestapi/addmsguser.phpchat.unread_chatarray('chat' => & $chat));
./modules/lhrestapi/closechatasvisitor.phpchat.unread_chatarray('chat' => & $chat));
./lib/models/lhabstract/erlhabstractmodelautoresponderchat.phpchat.before_auto_responder_msg_savedarray('msg' => & $msg, 'chat' => & $this->chat));Auto responder message is send
FileIdentifierArgumentsDescription
./modules/lhdepartment/new.phpdepartment.modifiedarray('department' => $Departament));
./modules/lhdepartment/edit.phpdepartment.modifiedarray('department' => $Departament));
./lib/core/lhchat/lhchatvalidator.phpchat.validate_departmentarray('input_form' => $inputForm));
./lib/core/lhchat/lhchatvalidator.phpchat.validate_departmentarray('input_form' => $inputForm));
FileIdentifierArgumentsDescription
./modules/lhsurvey/fill.phpsurvey.filledarray('chat' => & $chat, 'survey' => $survey, 'survey_item' => & $surveyItem));
./modules/lhsurvey/fillwidget.phpsurvey.filledarray('chat' => & $chat, 'survey' => $survey, 'survey_item' => & $surveyItem));
./lib/core/lhsurvey/lhsurveyvalidator.phpsurvey.validatearray('survey' => & $survey, 'survey_item' => & $surveyItem, 'errors' => & $Errors));
./modules/lhsurvey/backtochat.phpsurvey.back_to_chatarray('chat' => & $chat, 'msg' => & $msg));

Abstract events

FileIdentifierArgumentsDescription
./modules/lhabstract/new.phpabstract.new_.strtolower($Params['user_parameters']['identifier']).'_general', array());
./modules/lhabstract/new.phpabstract.before_created..strtolower($objectClass),array('object' => & $objectData, 'errors' => & $Errors));
./modules/lhabstract/new.phpabstract.created..strtolower($objectClass),array('object' => & $objectData));
./modules/lhabstract/new.phpabstract.new_.strtolower($Params['user_parameters']['identifier']).'_path', array('result' => & $Result));
./modules/lhabstract/delete.phpabstract.delete_.strtolower($Params['user_parameters']['identifier']).'_general', array());
./modules/lhabstract/list.phpabstract.list_.strtolower($Params['user_parameters']['identifier']).'_general', array());
./modules/lhabstract/list.phpabstract.list_.strtolower($Params['user_parameters']['identifier']).'_path', array('result' => & $Result));
./modules/lhabstract/edit.phpabstract.edit_.strtolower($Params['user_parameters']['identifier']).'_general', array());
./modules/lhabstract/edit.phpabstract.edit_.strtolower($Params['user_parameters']['identifier']).'_path', array('result' => & $Result));
FileIdentifierArgumentsDescription
./lib/models/lhabstract/erlhabstractmodeleproactivechatinvitation.phptheme.download_image..$attr, array('theme' => $this, 'attr' => $attr));
./lib/models/lhabstract/erlhabstractmodeleproactivechatinvitation.phptheme.edit..$attr.'_path',array('dir' => & $dir, 'storage_id' => $this->id));
./lib/models/lhabstract/erlhabstractmodeleproactivechatinvitation.phptheme.edit.store_.$attr,array(
./lib/models/lhabstract/erlhabstractmodeleproactivechatinvitation.phptheme.edit.remove_.$attr,array(
./lib/models/lhabstract/erlhabstractmodelwidgettheme.phptheme.download_image..$attr, array('theme' => $this, 'attr' => $attr));
./lib/models/lhabstract/erlhabstractmodelwidgettheme.phptheme.edit..$attr.'_path',array('dir' => & $dir, 'storage_id' => $this->id));
./lib/models/lhabstract/erlhabstractmodelwidgettheme.phptheme.edit.store_.$attr,array(
./lib/models/lhabstract/erlhabstractmodelwidgettheme.phptheme.edit.remove_.$attr,array(
./modules/lhgenericbot/botimportgroup.phptheme.temppatharray('dir' => & $dir));
./lib/core/lhgenericbot/lhgenericbot.phptheme.temppatharray('dir' => & $dir));
./modules/lhuser/import.phptheme.temppatharray('dir' => & $dir));
./modules/lhgenericbot/import.phptheme.temppatharray('dir' => & $dir));
./modules/lhtheme/import.phptheme.temppatharray('dir' => & $dir));
./lib/core/lhtheme/lhthemevalidator.phpadmintheme.filedirarray('dir' => & $dir, 'storage_id' => $clickform->id));
FileIdentifierArgumentsDescription
./lib/core/lhuser/lhuser.phpuser.after_generate_access_arrayarray('accessArray' => & $accessArray));
./lib/core/lhuser/lhuservalidator.phpuser.edit.photo_patharray('dir' => & $dir,'storage_id' => $userData->id));
./lib/core/lhuser/lhuservalidator.phpuser.edit.photo_storearray('file_post_variable' => 'UserPhoto', 'dir' => & $dir, 'storage_id' => $userData->id));
./lib/core/lhuser/lhuservalidator.phpuser.edit.photo_resize_150array('mime_type' => $file["data"]['mime_type'],'user' => $userData));
./lib/core/lhuser/lhuservalidator.phpuser.new_userarray('userData' => & $userData, 'errors' => & $Errors));
./lib/core/lhuser/lhuservalidator.phpuser.edit_userarray('userData' => & $userData, 'errors' => & $Errors));
./lib/core/lhuser/lhuservalidator.phpuser.account.updatearray('userData' => & $userData, 'errors' => & $Errors));
./lib/core/lhgenericbot/lhgenericbot.phpuser.edit.photo_patharray('dir' => & $dir, 'storage_id' => $userData->id));
./lib/core/lhgenericbot/lhgenericbot.phpuser.edit.photo_resize_150array('mime_type' => $extensionMimetype[$mimetype], 'user' => $userData));
./lib/core/lhgenericbot/lhgenericbot.phpuser.edit.photo_patharray('dir' => & $dir, 'storage_id' => $userData->id));
./lib/core/lhgenericbot/lhgenericbot.phpuser.edit.photo_storearray('file_post_variable' => 'UserPhoto', 'dir' => & $dir, 'storage_id' => $userData->id));
./lib/core/lhgenericbot/lhgenericbot.phpuser.edit.photo_resize_150array('mime_type' => $file["data"]['mime_type'],'user' => $userData));
./lib/models/lhuser/erlhcoreclassmodeluser.phpuser.remove_photoarray('user' => & $this));
./lib/models/lhgenericbot/erlhcoreclassmodelgenericbotbot.phpuser.remove_photoarray('user' => & $this));
./lib/models/lhgenericbot/erlhcoreclassmodelgenericbottrgroup.phpuser.remove_photoarray('user' => & $this));
./modules/lhuser/delete.phpuser.deletedarray('userData' => $departament));
./modules/lhuser/logout.phpuser.logoutarray('user' => & $lhUser));
./modules/lhuser/logout.phpuser.after_logoutarray('user' => & $lhUser));
./modules/lhuser/new.phpuser.user_createdarray('userData' => & $UserData, 'password' => $UserData->password_front));
./modules/lhuser/new.phpuser.new_patharray('result' => & $Result));
./modules/lhfile/storescreenshot.phpfile.storescreenshot.before_storearray('errors' => & $errors, 'chat' => & $chat, 'data' => $_POST['data']));
./modules/lhuser/account.phpuser.after_user_departments_updatearray('user' => & $UserData));
./modules/lhuser/account.phpuser.accountarray('userData' => & $UserData, 'tpl' => & $tpl, 'params' => $Params));
./modules/lhuser/account.phpuser.account_resultarray('result' => & $Result));

Files manipulation event

FileIdentifierArgumentsDescription
./modules/lhfile/storescreenshot.phpfile.storescreenshot.screenshot_patharray('path' => & $path, 'storage_id' => $storageID));
./modules/lhfile/storescreenshot.phpfile.storescreenshot.storearray('chat_file' => & $fileUpload));
./lib/core/lhtheme/lhthemevalidator.phpfile.file_new_admin.file_storearray(
./lib/models/lhchat/erlhcoreclassmodelchatfile.phpfile.remove_filearray('chat_file' => & $this));
./lib/models/lhabstract/erlhabstractmodeladmintheme.phpfile.remove_filearray('chat_file' => & $std, 'files_path_storage' => 'images_path' ));
./modules/lhfile/new.phpfile.before_file_new_admin.file_storearray('errors' => & $errors));
./modules/lhfile/new.phpfile.new.file_patharray('path' => & $path));
./modules/lhfile/new.phpfile.file_new_admin.file_storearray('chat_file' => $upload_handler->uploadedFile));
./modules/lhfile/new.phpfile.new_patharray('result' => & $Result));
./modules/lhfile/uploadfileadminonlineuser.phpfile.uploadfileadmin.file_patharray('path' => & $path, 'storage_id' => $onlineUser->id));
./modules/lhfile/uploadfileadminonlineuser.phpfile.uploadfileadmin.file_storearray('chat_file' => $upload_handler->uploadedFile));
./modules/lhfile/downloadfile.phpfile.downloadarray('chat_file' => $file));
./modules/lhfile/uploadfileonline.phpfile.uploadfile.file_patharray(
./modules/lhfile/uploadfileonline.phpfile.uploadfile.file_storearray(
./modules/lhfile/list.phpfile.list_patharray('result' => & $Result));
./modules/lhfile/edit.phpfile.edit_patharray('result' => & $Result));
./modules/lhfile/uploadfile.phpfile.before_user_uploadfile.file_storearray('errors' => & $errors));
./modules/lhfile/uploadfile.phpfile.uploadfile.file_patharray('path' => & $path, 'storage_id' => $chat->id));
./modules/lhfile/uploadfile.phpfile.uploadfile.file_storearray('chat_file' => $upload_handler->uploadedFile));
./modules/lhfile/configuration.phpfile.configuration_patharray('result' => & $Result));
./modules/lhfile/uploadfileadmin.phpfile.before_admin_uploadfile.file_storearray('errors' => & $errors));
./modules/lhfile/uploadfileadmin.phpfile.uploadfileadmin.file_patharray('path' => & $path, 'storage_id' => $chat->id));
./modules/lhfile/uploadfileadmin.phpfile.uploadfileadmin.file_storearray('chat_file' => $upload_handler->uploadedFile));

Auto responder events

FileIdentifierArgumentsDescription
./lib/core/lhchat/lhchatvalidator.phpchat.before_auto_responder_triggeredarray('chat' => & $chat, 'errors' => & $beforeAutoResponderErrors));
./lib/core/lhchat/lhchatvalidator.phpchat.before_auto_responder_messagearray('chat' => & $chat, 'responder' => & $responder));
./lib/core/lhchat/lhchatvalidator.phpchat.auto_responder_triggeredarray('chat' => & $chat));
./lib/models/lhabstract/erlhabstractmodelautoresponderchat.phpchat.before_auto_responder_triggeredarray(
./lib/models/lhabstract/erlhabstractmodelautoresponderchat.phpchat.redirected_to_survey_by_autoresponderarray('chat' => & $this->chat));
./modules/lhchat/addmsguser.phpchat.auto_responder_triggeredarray('chat' => & $chat));
./modules/lhchat/startchat.phpchat.before_auto_responder_triggeredarray('chat' => & $chat, 'errors' => & $beforeAutoResponderErrors));
./modules/lhchat/startchat.phpchat.before_auto_responder_messagearray('chat' => & $chat, 'responder' => & $responder));
./modules/lhchat/startchat.phpchat.auto_responder_triggeredarray('chat' => & $chat));
./modules/lhchat/chatwidget.phpchat.before_auto_responder_triggeredarray('chat' => & $chat, 'errors' => & $beforeAutoResponderErrors));
./modules/lhchat/chatwidget.phpchat.before_auto_responder_messagearray('chat' => & $chat, 'responder' => & $responder));
./modules/lhchat/chatwidget.phpchat.auto_responder_triggeredarray('chat' => & $chat));
./modules/lhchat/readoperatormessage.phpchat.before_auto_responder_triggeredarray('chat' => & $chat, 'errors' => & $beforeAutoResponderErrors));
./modules/lhchat/readoperatormessage.phpchat.auto_responder_triggeredarray('chat' => & $chat));
./modules/lhchat/readoperatormessage.phpchat.before_auto_responder_triggeredarray('chat' => & $chat, 'errors' => & $beforeAutoResponderErrors));
./modules/lhchat/readoperatormessage.phpchat.auto_responder_triggeredarray('chat' => & $chat));
./modules/lhrestapi/startchat.phpchat.before_auto_responder_triggeredarray('chat' => & $chat, 'errors' => & $beforeAutoResponderErrors));
./modules/lhrestapi/startchat.phpchat.before_auto_responder_messagearray('chat' => & $chat, 'responder' => & $responder));
./modules/lhrestapi/startchat.phpchat.auto_responder_triggeredarray('chat' => & $chat));
./modules/lhrestapi/fetchchatmessages.phpchat.before_auto_responder_triggeredarray('chat' => & $chat, 'errors' => & $errors));
./modules/lhrestapi/addmsguser.phpchat.auto_responder_triggeredarray('chat' => & $chat));
./modules/lhwidgetrestapi/submitonline.phpchat.before_auto_responder_triggeredarray('chat' => & $chat, 'errors' => & $beforeAutoResponderErrors));
./modules/lhwidgetrestapi/submitonline.phpchat.before_auto_responder_messagearray('chat' => & $chat, 'responder' => & $responder));
./modules/lhwidgetrestapi/submitonline.phpchat.auto_responder_triggeredarray('chat' => & $chat));
./modules/lhwidgetrestapi/addmsguser.phpchat.auto_responder_triggeredarray('chat' => & $chat));
./modules/lhwidgetrestapi/addmsguser.phpchat.auto_responder_triggeredarray('chat' => & $chat));
FileIdentifierArgumentsDescription
./lib/core/lhchat/lhchatstatistic.phpstatistic.gettoptodaysoperatorsarray('limit' => $limit, 'offset' => $offset, 'filter' => $filter));
./lib/core/lhchat/lhchatstatistic.phpstatistic.getnumberofchatspermontharray('params_execution' => $paramsExecution, 'filter' => $filter));
./lib/core/lhchat/lhchatstatistic.phpstatistic.getnumberofchatsperweekarray('params_execution' => $paramsExecution, 'filter' => $filter));
./lib/core/lhchat/lhchatstatistic.phpstatistic.getnumberofchatswaittimeperweekarray('filter' => $filter));
./lib/core/lhchat/lhchatstatistic.phpstatistic.getlast24hstatisticarray('filter' => $filter));
./lib/core/lhchat/lhchatstatistic.phpstatistic.getnumberofchatsperdayarray('filter' => $filter));
./lib/core/lhchat/lhchatstatistic.phpstatistic.getnumberofchatswaittimearray('filter' => $filter));
./lib/core/lhchat/lhchatstatistic.phpstatistic.getnumberofchatswaittimeperdayarray('filter' => $filter));
./lib/core/lhchat/lhchatstatistic.phpstatistic.getnumberofchatspermonthunansweredarray('filter' => $filter));
./lib/core/lhchat/lhchatstatistic.phpstatistic.getworkloadstatisticarray('filter' => $filter, 'days' => $days));
./lib/core/lhchat/lhchatstatistic.phpstatistic.getaveragechatdurationarray('days' => $days, 'filter' => $filter));
./lib/core/lhchat/lhchatstatistic.phpstatistic.getsubjectsstatisticarray('days' => $days, 'filter' => $filter));
./lib/core/lhchat/lhchatstatistic.phpstatistic.gettopchatsbycountryarray('days' => $days, 'filter' => $filter));
./lib/core/lhchat/lhchatstatistic.phpstatistic.averageofchatsdialogsbyuserarray('days' => $days, 'filter' => $filter, 'limit' => $limit));
./lib/core/lhchat/lhchatstatistic.phpstatistic.numberofchatsdialogsbydepartmentarray('days' => $days, 'filter' => $filter));
./lib/core/lhchat/lhchatstatistic.phpstatistic.numberofchatsdialogsbyuserarray('days' => $days, 'filter' => $filter));
./lib/core/lhchat/lhchatstatistic.phpstatistic.avgwaittimeuserarray('days' => $days, 'filter' => $filter));
./lib/core/lhchat/lhchatstatistic.phpstatistic.numberofmessagesbyuserarray('days' => $days, 'filter' => $filter));
./lib/core/lhchat/lhchatstatistic.phpstatistic.getagentstatistic_export_columnsarray('xls' => & $objPHPExcel));
./lib/core/lhchat/lhchatstatistic.phpstatistic.getagentstatistic_export_columns_valuearray('xls' => & $objPHPExcel,'key' => & $key,'i' => & $i,'item' => & $item,)
./lib/core/lhchat/lhchatstatistic.phpstatistic.getagentstatisticaveragefieldarray('attr' => & $attrToAverage, 'attr_front' => & $attrFrontAverage));
./lib/core/lhchat/lhchatstatistic.phpstatistic.getagentstatistic$filterExtension);
./lib/core/lhchat/lhchatstatistic.phpstatistic.getperformancestatisticarray('ranges' => $dateRange, 'days' => $days, 'filter' => $filter, 'filter_params' => $filterParams));
./lib/core/lhchat/lhchatstatistic.phpstatistic.nickgroupingdateweekarray('params_execution' => $filterParams, 'filter' => $filter));
./lib/core/lhchat/lhchatstatistic.phpstatistic.validgroupfieldsarray('type' => 'sql', 'fields' => & $validGroupFields));
./lib/core/lhchat/lhchatstatistic.phpstatistic.nickgroupingdatenickweekarray('params_execution' => $filterParams, 'filter' => $filter));
./lib/core/lhchat/lhchatstatistic.phpstatistic.validgroupfieldsarray('type' => 'sql', 'fields' => & $validGroupFields));
./lib/core/lhchat/lhchatstatistic.phpstatistic.nickgroupingdatedayarray('filter' => $filter, 'params_execution' => $filterParams));
./lib/core/lhchat/lhchatstatistic.phpstatistic.validgroupfieldsarray('type' => 'sql', 'fields' => & $validGroupFields));
./lib/core/lhchat/lhchatstatistic.phpstatistic.nickgroupingdatenickdayarray('filter' => $filter, 'params_execution' => $filterParams));
./lib/core/lhchat/lhchatstatistic.phpstatistic.validgroupfieldsarray('type' => 'sql', 'fields' => & $validGroupFields));
./lib/core/lhchat/lhchatstatistic.phpstatistic.nickgroupingdatearray('filter' => $filter, 'params_execution' => $filterParams));
./lib/core/lhchat/lhchatstatistic.phpstatistic.validgroupfieldsarray('type' => 'sql', 'fields' => & $validGroupFields));
./lib/core/lhchat/lhchatstatistic.phpstatistic.nickgroupingdatenickarray('filter' => $filter, 'params_execution' => $filterParams));
./lib/core/lhchat/lhchatstatistic.phpstatistic.validgroupfieldsarray('type' => 'sql', 'fields' => & $validGroupFields));
./modules/lhstatistic/statistic.phpchat.statisticarray());
./modules/lhstatistic/statistic.phpstatistic.valid_tabsarray(
./modules/lhstatistic/statistic.phpstatistic.process_active_tabarray(
./modules/lhstatistic/statistic.phpstatistic.process_tabarray(
./modules/lhstatistic/statistic.phpchat.statistic_patharray('result' => & $Result));

General events

FileIdentifierArgumentsDescription
./lib/core/lhform/lhformrenderer.phpform.on_form_renderarray('form' => & $form, 'errors' => & self::$errors));
./lib/core/lhform/lhformrenderer.phpform.fill.file_patharray('path' => & $dir, 'storage_id' => $formCollected->id));
./lib/core/lhform/lhformrenderer.phpform.fill.store_filearray('file_params' => & $params));
./lib/core/lhform/lhformrenderer.phpform.filledarray('form' => & $formCollected));
./lib/core/lhtpl/tpl.phptpl.newarray('tpl' => & $this));
./lib/core/lhchat/lhchatcommand.phpchat.customcommandarray('command' => $commandData['command'], 'params' => $params));
./lib/core/lhchat/lhchatmail.phpchatmail.setup_smtparray('phpmailer' => & $phpMailer)
./lib/core/lhchat/lhchat.phpchat.setonlinestatus_directlyarray('list' => & $chatLists, 'online_users_id' => $onlineUserId));
./lib/core/lhchat/lhchat.phpchat.setonlinestatusarray('list' => & $chatLists, 'online_users_id' => $onlineUserId));
./lib/core/lhchat/lhchatvalidator.phpchat.validate_start_chatarray('errors' => & $Errors, 'input_form' => & $inputForm, 'start_data_fields' => & $start_data_fields, 'chat' => & $chat,'additional_params' => & $additionalParams));
./lib/core/lhchat/lhchatvalidator.phpchat.genericbot_set_botarray(
./lib/core/lhchat/lhchatworkflow.phpchat.data_changed_assigned_departmentarray('chat' => & $chat));
./lib/core/lhchat/lhchatworkflow.phpchat.unread_chat_workflowarray('chat' => & $chat));
./lib/core/lhchat/lhchatworkflow.phpxml.before_send_xmp_messagearray('chat' => & $chat, 'errors' => & $errors));
./lib/core/lhchat/lhchatworkflow.phpchat.chat_unread_messagearray('chat' => & $chat));
./lib/core/lhchat/lhchatworkflow.phpxml.before_send_xmp_messagearray('chat' => & $chat, 'errors' => & $errors));
./lib/core/lhchat/lhchatworkflow.phpchat.chat_acceptedarray('chat' => & $chat));
./lib/core/lhchat/lhchatworkflow.phpxml.before_send_xmp_messagearray('chat' => & $chat, 'errors' => & $errors));
./lib/core/lhchat/lhchatworkflow.phpchat.new_chatarray('chat' => & $chat));
./lib/core/lhchat/lhchatworkflow.phpchat.workflow.autoassign_permitarray(
./lib/core/lhchat/lhchatworkflow.phpchat.workflow.autoassignarray(
./lib/core/lhchat/lhchatworkflow.phpchat.data_changed_auto_assignarray('chat' => & $chat));
./lib/core/lhchat/lhchatworkflow.phpchat.workflow.get_chat_historyarray(
./lib/core/lhchat/lhchatworkflow.phpchat.workflow.has_previous_messages$params);
./lib/core/lhgenericbot/actionTypes/lhgenericbotactionpredefined.phpchat.genericbot_chat_predefinedarray(
./lib/core/lhgenericbot/actionTypes/lhgenericbotactiontext.phpchat.genericbot_handlerarray(
./lib/core/lhgenericbot/actionTypes/lhgenericbotactioncommand.phpchat.genericbot_chat_command_transferarray(
./lib/core/lhgenericbot/actionTypes/lhgenericbotactioncommand.phpchat.genericbot_chat_command_transferarray(
./lib/core/lhgenericbot/actionTypes/lhgenericbotactioncommand.phpchat.genericbot_chat_command_transferarray(
./lib/core/lhgenericbot/actionTypes/lhgenericbotactioncommand.phpchat.genericbot_chat_command_transferarray(
./lib/core/lhgenericbot/actionTypes/lhgenericbotactioncommand.phpchat.genericbot_chat_command_dispatch_eventarray(
./lib/core/lhgenericbot/actionTypes/lhgenericbotactionactions.phpchat.genericbot_handlerarray(
./lib/core/lhgenericbot/actionTypes/lhgenericbotactionprogress.phpchat.genericbot_handlerarray(
./lib/core/lhgenericbot/actionTypes/lhgenericbotactionevent_type.phpchat.genericbot_event_typearray(
./lib/core/lhgenericbot/actionTypes/lhgenericbotactioncollectable.phpchat.genericbot_handlerarray(
./lib/core/lhgenericbot/actionTypes/lhgenericbotactioncollectable.phpchat.genericbot_handlerarray(
./lib/core/lhgenericbot/actionTypes/lhgenericbotactioncollectable.phpchat.genericbot_handlerarray(
./lib/core/lhgenericbot/actionTypes/lhgenericbotactioncollectable.phpchat.genericbot_handlerarray(
./lib/core/lhgenericbot/lhgenericbot.phpbot.validatearray('bot' => & $bot, 'configuration_array' => & $configurationArray, 'additional_params' => $additionalParams));
./lib/core/lhgenericbot/lhgenericbotworkflow.phpchat.genericbot_get_messagearray(
./lib/core/lhgenericbot/lhgenericbotworkflow.phpchat.genericbot_event_handlerarray(
./lib/core/lhgenericbot/lhgenericbotworkflow.phpchat.genericbot_event_handlerarray(
./lib/core/lhgenericbot/lhgenericbotworkflow.phpchat.genericbot_get_messagearray(
./lib/core/lhgenericbot/lhgenericbotworkflow.phpchat.genericbot_handlerarray(
./lib/core/lhgenericbot/lhgenericbotworkflow.phpchat.genericbot_handlerarray(
./lib/core/lhgenericbot/lhgenericbotworkflow.phpchat.genericbot_handlerarray(
./lib/core/lhgenericbot/lhgenericbotworkflow.phpchat.genericbot_handlerarray(
./lib/core/lhgenericbot/lhgenericbotworkflow.phpchat.genericbot_handlerarray(
./lib/core/lhgenericbot/lhgenericbotworkflow.phpchat.genericbot_handlerarray(
./lib/core/lhgenericbot/lhgenericbotworkflow.phpchat.genericbot_handlerarray(
./lib/core/lhgenericbot/lhgenericbotworkflow.phpchat.genericbot_get_trigger_clickarray(
./lib/core/lhgenericbot/lhgenericbotworkflow.phpchat.genericbot_get_clickarray(
./lib/core/lhgenericbot/lhgenericbotworkflow.phpchat.genericbot_get_click_asyncarray(
./lib/core/lhgenericbot/lhgenericbotworkflow.phpchat.replace_before_message_botarray('msg' => & $message, 'chat' => & $params['chat']));
./lib/core/lhgenericbot/lhgenericbotworkflow.phpchat.replace_message_botarray('msg' => & $message, 'chat' => & $params['chat']));
./lib/core/lhcore/lhmodule.phpchat.core.default_urlarray('url' => & $url));
./lib/core/lhchatbox/lhchatbox.phpchatbox.createdarray('chatbox' => & $chatbox));
./lib/core/lhchatbox/lhchatbox.phpchatbox.createdarray('chatbox' => & $chatbox));
./lib/core/lhxmp/lhxmp.phpxml.send_xmp_messagearray('params' => & $data));
./lib/core/lhcobrowse/lhcobrowse.phpcobrowse.startedarray('co_browse' => & $coBrowseSession));
./lib/core/lhbbcode/lhbbcode.phpchat.before_make_clickablearray('msg' => & $ret, 'makeLinksClickable' => & $makeLinksClickable));
./lib/core/lhbbcode/lhbbcode.phpchat.after_make_clickablearray('msg' => & $ret));
./lib/core/lhtranslate/lhgoogletranslate.phptranslate.after_google_translatearray('word' => & $word, 'errors' => & $errors));
./lib/core/lhtranslate/lhbingtranslate.phptranslate.after_bing_translatearray('word' => & $word, 'errors' => & $errors));
./lib/core/lhtranslate/lhtranslate.phptranslation.get_configarray());
./lib/core/lhtranslate/lhtranslate.phptranslation.get_bing_tokenarray(
./lib/core/lhtranslate/lhtranslate.phptranslate.messagetranslatedarray(
./lib/core/lhtranslate/lhtranslate.phptranslation.get_configarray());
./lib/core/lhtranslate/lhtranslate.phptranslation.get_configarray());
./lib/core/lhtranslate/lhtranslate.phptranslation.get_bing_tokenarray(
./lib/core/lhtranslate/lhtranslate.phptranslation.get_configarray());
./lib/core/lhtranslate/lhtranslate.phptranslation.get_bing_tokenarray(
./lib/core/lhabstract/fields/erlhabstractmodelwidgettheme.phplhabstract.erlhabstractmodelwidgettheme.fieldsarray('fields' => & $fields));
./lib/core/lhrestapi/lhrestapivalidator.phprest_api.validate_requestarray(
./lib/core/lhrestapi/lhrestapivalidator.phprestapi.chats_filterarray('filter' => & $filter));
./lib/core/lhrestapi/lhrestapivalidator.phpchat.restapi_chatsarray('list' => & $chats));
./lib/models/lhchat/erlhcoreclassmodelchatarchiverange.phpchat.archivedarray('chat' => & $item, 'archive' => $this));
./lib/models/lhchat/erlhcoreclassmodelchatarchiverange.phpchat.set_archive_tablesarray('archive' => & $this));
./lib/models/lhchat/erlhcoreclassmodelchatarchiverange.phpchat.create_archivearray('archive' => & $this));
./lib/models/lhabstract/erlhabstractmodelwidgettheme.phplhabstract.erlhabstractmodelwidgettheme.getstatearray('state' => & $stateArray, 'object' => & $this));
./lib/models/lhabstract/erlhabstractmodelwidgettheme.phpfeature.can_use_themesarray('object_meta_data' => & $metaData));
./lib/models/lhabstract/erlhabstractmodelautoresponder.phpfeature.can_use_autoresponderarray('object_meta_data' => & $metaData));
./lib/models/lhabstract/erlhabstractmodelform.phpfeature.can_use_formsarray('object_meta_data' => & $metaData));
./lib/models/lhabstract/erlhabstractmodelsubject.phpfeature.can_use_subjectarray('object_meta_data' => & $metaData));
./lib/models/lhabstract/erlhabstractmodelproduct.phpfeature.can_use_productarray('object_meta_data' => & $metaData));
./lib/models/lhabstract/erlhabstractmodelsurvey.phpfeature.can_use_surveyarray('object_meta_data' => & $metaData));
./lib/models/lhabstract/erlhabstractmodelrestapikeyremote.phpfeature.can_use_productarray('object_meta_data' => & $metaData));
./lib/models/lhabstract/erlhabstractmodelrestapikey.phpfeature.can_use_productarray('object_meta_data' => & $metaData));
./lib/models/lhabstract/erlhabstractmodelformcollected.phpform.remove_filearray('filepath' => $content['filepath'], 'filename' => $content['filename']));
./lib/models/lhabstract/erlhabstractmodelbrowseofferinvitation.phpfeature.can_use_browse_offersarray('object_meta_data' => & $metaData));
./modules/lhform/download.phpform.file.downloadarray('filename' => $file->content_array[$attr_name]['filename']));
./modules/lhform/embedcode.phpform.embedcodearray());
./modules/lhform/downloaditem.phpform.file.downloadarray('filename' => $content['filename']));
./modules/lhform/index.phpform.indexarray());
./modules/lhquestionary/votingwidget.phpquestionaire.before_option_chosenarray('voting' => & $votingAnswer, 'errors' => & $Errors));
./modules/lhquestionary/votingwidget.phpquestionaire.option_chosenarray('voting' => & $votingAnswer));
./modules/lhquestionary/votingwidget.phpquestionaire.before_feedback_leftarray('feedback' => & $answer, 'errors' => & $Errors));
./modules/lhquestionary/votingwidget.phpquestionaire.feedback_leftarray('feedback' => & $answer));
./modules/lhquestionary/list.phpquestionary.listarray('tpl' => & $tpl));
./modules/lhquestionary/edit.phpquestionary.editarray('questionary' => $Question));
./modules/lhquestionary/newquestion.phpquestionary.newarray('questionary' => $Data));
./modules/lhfile/storescreenshot.phpchat.sync_back_office);
./modules/lhfile/storescreenshot.phpchat.messages_added_passivearray(
./modules/lhfile/storescreenshot.phpchat.screenshot_readyarray(
./modules/lhbrowseoffer/index.phpbrowseoffer.indexarray());
./modules/lhbrowseoffer/htmlcode.phpbrowseoffer.htmlcodearray());
./modules/lhchat/extendcookie.phpchat.extendcookiearray('vid' => (string)$Params['user_parameters']['vid']));
./modules/lhchat/refreshcustomfields.phpchat.data_changed_chatarray(
./modules/lhchat/loadmaindata.phpchat.auto_preloadarray('chat' => $chat, 'load_previous' => & $loadPrevious));
./modules/lhchat/dashboardwidgets.phpchat.dashboardwidgetsarray('supported_widgets' => & $supportedWidgets));
./modules/lhchat/addoperation.phpfile.before_screenshot_addoperacionarray('chat' => & $Chat, 'errors' => & $errors));
./modules/lhchat/addoperation.phpcobrowse.before_startedarray('chat' => & $Chat, 'errors' => & $errors));
./modules/lhchat/addoperation.phpchat.added_operationarray('chat' => & $Chat));
./modules/lhchat/getstatus.phpchat.getstatusarray('tpl' => & $tpl, 'theme' => $theme, 'validUnits' => $validUnits));
./modules/lhchat/userclosechat.phpchat.explicitly_closedarray('chat' => & $chat));
./modules/lhchat/geoconfiguration.phpchat.geoconfigurationarray());
./modules/lhchat/logevent.phpchat.data_changed_chatarray(
./modules/lhchat/updatejsvars.phpchat.data_changed_chatarray(
./modules/lhchat/updatemsg.phpchat.before_msg_admin_updatearray('msg' => & $msg,'chat' => & $Chat));
./modules/lhchat/editprevious.phpchat.before_edit_previous_admin_returnedarray('response' => & $array));
./modules/lhchat/updateattribute.phpchat.data_changed_chatarray(
./modules/lhchat/listchatconfig.phpchat.listchatconfig_patharray('result' => & $Result));
./modules/lhchat/syncuser.phpchat.syncuser.operator_typingarray('chat' => & $chat));
./modules/lhchat/syncuser.phpchat.before_chat_closed_tplarray('chat' => & $chat, 'tpl' => & $tpl));
./modules/lhchat/syncuser.phpchat.before_chat_closed_tplarray('chat' => & $chat, 'tpl' => & $tpl));
./modules/lhchat/printchat.phpchat.before_printarray('chat' => & $chat, 'errors' => & $errors));
./modules/lhchat/readchatmail.phpchat.before_printarray('chat' => & $chat, 'errors' => & $errors));
./modules/lhchat/sendchat.phpchat.before_sendarray('chat' => & $chat, 'errors' => & $Errors));
./modules/lhchat/checkchatstatus.phpchat.checkchatstatusarray('chat' => & $chat, 'response' => & $responseArray));
./modules/lhchat/geoadjustment.phpchat.geoadjustmentarray());
./modules/lhchat/geoadjustment.phpchat.geoadjustment_patharray('result' => & $Result));
./modules/lhchat/startchatwithoperator.phpchat.before_startchatwithoperatorarray('errors' => & $Errors));
./modules/lhchat/startchatwithoperator.phpchat.startchatwithoperator_startedarray('chat' => & $chat, 'transfer' => & $transfer));
./modules/lhchat/addmsgadmin.phpchat.acceptarray('chat' => & $Chat, 'user' => $currentUser));
./modules/lhchat/chatwidget.phpchat.chatwidget_data_fieldarray('data_fields' => & $startDataFields, 'params' => $Params));
./modules/lhchat/chatwidget.phpchat.before_chat_startedarray('chat' => & $chat, 'errors' => & $Errors, 'offline' => (isset($additionalParams['offline']) && $additionalParams['offline'] == true)));
./modules/lhchat/chatwidget.phpchat.chat_offline_request_presendarray(
./modules/lhchat/chatwidget.phpchat.chat_offline_requestarray(
./modules/lhchat/chatwidget.phpchat.chatwidgetarray('result' => & $Result, 'tpl' => & $tpl, 'params' => & $Params, 'inputData' => & $inputData));
./modules/lhchat/chatwidgetclosed.phpchat.explicitly_closedarray('chat' => & $chat));
./modules/lhchat/chatwidgetclosed.phpchat.visitor_regular_closedarray('chat' => & $chat));
./modules/lhchat/chatwidgetclosed.phpchat.explicitly_closedarray('chat' => & $chat));
./modules/lhchat/transferuser.phpchat.chat_owner_changedarray('chat' => & $Chat, 'user' => $user));
./modules/lhchat/blockuser.phpchat.blockuserarray());
./modules/lhchat/loadinitialdata.phpchat.loadinitialdataarray('lists' => & $response));
./modules/lhchat/chatcheckstatus.phpchat.data_changed_chatarray('chat_id' => $chatId));
./modules/lhchat/adminchat.phpchat.acceptarray('chat' => & $chat,'user' => $currentUser));
./modules/lhchat/setsubstatus.phpchat.set_sub_statusarray('chat' => & $chat));
./modules/lhchat/editprevioususer.phpchat.before_edit_previous_user_returnedarray('response' => & $array));
./modules/lhchat/chatwidgetchat.phpchat.nickchangedarray('chat' => & $chat));
./modules/lhchat/chatwidgetchat.phpchat.chatwidgetchatarray('result' => & $Result , 'tpl' => & $tpl, 'params' => & $Params, 'chat' => & $chat));
./modules/lhchat/readoperatormessage.phpchat.readoperatormessage_data_fieldarray('data_fields' => & $startDataFields, 'params' => $Params));
./modules/lhchat/readoperatormessage.phpchat.validate_departmentarray('input_form' => $inputData));
./modules/lhchat/readoperatormessage.phpchat.validate_read_operator_messagearray('errors' => & $Errors, 'input_form' => & $inputData, 'chat' => & $chat));
./modules/lhchat/readoperatormessage.phpchat.readoperatormessagearray('tpl' => $tpl, 'params' => & $Params));
./modules/lhchat/editnick.phpchat.nick_changedarray('chat' => & $chat));
./modules/lhchat/saveremarks.phpchat.before_save_remarksarray('chat' => & $Chat, 'errors' => & $errors));
./modules/lhchat/reopen.phpchat.user_reopenedarray('chat' => & $chat));
./modules/lhchat/maintenance.phpchat.maintenance_patharray('result' => & $Result));
./modules/lhchat/holdaction.phpchat.holdaction_defaultmsgarray('msg' => & $msgText, 'chat' => & $chat));
./modules/lhuser/grouplist.phpuser.grouplist_patharray('result' => & $Result));
./modules/lhuser/setinvisible.phpchat.operator_visibility_changedarray('user' => & $userData, 'reason' => 'user_action'));
./modules/lhuser/editgroup.phpuser.editgroup_patharray('result' => & $Result));
./modules/lhuser/setinactive.phpchat.operator_inactivemode_changedarray('user' => & $userData, 'reason' => 'user_action'));
./modules/lhuser/setoffline.phpchat.operator_status_changedarray('user' => & $userData, 'reason' => 'user_action'));
./modules/lhuser/autologinconfig.phpuser.autologinconfig_patharray('result' => & $Result));
./modules/lhuser/account.phpchat.operator_status_changedarray('user' => & $UserData, 'reason' => 'user_action'));
./modules/lhuser/passwordrequirements.phpuser.autologinconfig_patharray('result' => & $Result));
./modules/lhuser/edit.phpuser.user_modifiedarray('userData' => & $UserData, 'password' => $UserData->password_front));
./modules/lhuser/edit.phpuser.after_user_departments_updatearray('user' => & $UserData));
./modules/lhuser/edit.phpuser.edit_user_windowarray('userData' => & $UserData, 'tpl' => & $tpl, 'params' => $Params));
./modules/lhuser/edit.phpuser.edit_patharray('result' => & $Result));
./modules/lhuser/updatepassword.phpuser.2fa_interceptarray('current_user' => erLhcoreClassUser::instance()));
./modules/lhuser/updatepassword.phpuser.updatepasswordarray('result' => & $Result));
./modules/lhuser/userlist.phpuser.userlist_patharray('result' => & $Result));
./modules/lhuser/login.phpuser.login_site_accessarray('loginSiteAccess' => & $possibleLoginSiteAccess));
./modules/lhuser/login.phpuser.login_before_authenticatearray('errors' => & $beforeLoginAuthenticateErrors, 'tpl' => & $tpl));
./modules/lhuser/login.phpuser.login_after_success_authenticatearray('current_user' => & $currentUser, 'tpl' => & $tpl));
./modules/lhuser/login.phpuser.2fa_interceptarray('remember' => (isset($_POST['rememberMe']) && $_POST['rememberMe'] == 1),'is_external' => $isExternalRequest, 'current_user' => $currentUser));
./modules/lhuser/newgroup.phpuser.newgroup_patharray('result' => & $Result));
./modules/lhuser/loginasuser.phpchat.operator_status_changedarray('user' => & $user, 'reason' => 'user_action'));
./modules/lhxml/deletechat.phpchat.desktop_client_deletedarray('chat' => & $chat,'user' => $currentUser));
./modules/lhxml/chatdata.phpchat.acceptarray('chat' => & $chat,'user' => $currentUser));
./modules/lhxml/closechat.phpchat.desktop_client_closedarray('chat' => & $chat));
./modules/lhxml/addmsgadmin.phpchat.desktop_client_admin_msgarray('msg' => & $msg,'chat' => & $Chat));
./modules/lhgenericbot/argumenttemplates.phpchat.genericbot_argumentsarray(
./modules/lhgenericbot/listexceptions.phpchat.list_patharray('result' => & $Result));
./modules/lhgenericbot/newtrgroup.phpchat.genericbot_exceptionsarray('exceptions' => & $exceptions));
./modules/lhgenericbot/list.phpchat.list_patharray('result' => & $Result));
./modules/lhgenericbot/editexception.phpchat.genericbot_exceptionsarray('exceptions' => & $exceptions));
./modules/lhgenericbot/newexception.phpchat.genericbot_exceptionsarray('exceptions' => & $exceptions));
./modules/lhpermission/newrole.phppermission.newrole_patharray('result' => & $Result));
./modules/lhpermission/request.phplhpermission.getmodulenamearray('module' => $module, 'name' => & $moduleName));
./modules/lhpermission/roles.phppermission.roles_patharray('result' => & $Result));
./modules/lhpermission/editrole.phppermission.editrole_patharray('result' => & $Result));
./modules/lhpermission/editfunction.phppermission.editrole_patharray('result' => & $Result));
./modules/lhnotifications/list.phpnotifications.list_patharray('result' => & $Result));
./modules/lhnotifications/subscribe.phpchat.before_msg_user_savedarray('msg' => & $msg, 'chat' => & $chat));
./modules/lhspeech/defaultlanguage.phpchat.speech_defaultlanguage_patharray('result' => & $Result));
./modules/lhspeech/getchatdialect.phpspeech.before_getchatdialectarray('chat' => & $chat, 'errors' => & $errors));
./modules/lhspeech/getchatdialect.phpspeech.getchatdialectarray('chat' => & $chat));
./modules/lhchatbox/new.phpchatbox.newarray('chatbox' => $chatbox));
./modules/lhchatbox/list.phpchatbox.listarray());
./modules/lhchatbox/configuration.phpchatbox.configurationarray('tpl' => & $tpl));
./modules/lhchatbox/chatwidget.phpchatbox.before_createdarray('errors' => & $errors));
./modules/lhfaq/new.phpfaq.newarray('faq' => $faq));
./modules/lhfaq/new.phpfaq.before_createdarray('faq' => & $faq, 'errors' => & $Errors));
./modules/lhfaq/new.phpfaq.createdarray('faq' => & $faq));
./modules/lhfaq/view.phpfaq.viewarray('faq' => $faq));
./modules/lhfaq/faqwidget.phpfaq.before_filled_by_userarray('faq' => & $item_new, 'errors' => & $Errors));
./modules/lhfaq/faqwidget.phpfaq.filled_by_userarray('faq' => & $item_new));
./modules/lhfaq/list.phpfaq.listarray('tpl' => & $tpl));
./modules/lhchatarchive/deletearchivechat.phpchat.archive_deletedarray('chat' => & $chat));
./modules/lhchatarchive/archive.phpchatarchive.archive_patharray('result' => & $Result));
./modules/lhchatarchive/configuration.phpchatarchive.archive_patharray('result' => & $Result));
./modules/lhsurvey/choosesurvey.phpchat.set_sub_statusarray('chat' => & $chat));
./modules/lhsystem/usersactions.phpuser.update_statsarray('user' => $user));
./modules/lhsystem/usersactions.phpuser.userlist_patharray('result' => & $Result));
./modules/lhxmp/configuration.phpxmp.configurationarray());
./modules/lhcobrowse/storenodemap.phpcobrowse.before_store_node_maparray('data' => json_decode($_POST['data']), 'errors' => & $errors));
./modules/lhcobrowse/storenodemap.phpchat.sync_back_office);
./modules/lhpaidchat/invalidhash.phppaidchat.expired_patharray('result' => & $Result));
./modules/lhpaidchat/expiredchat.phppaidchat.expired_patharray('result' => & $Result));
./modules/lhpaidchat/settings.phppaidchat.settings_patharray('result' => & $Result));
./modules/lhpaidchat/removedpaidchat.phppaidchat.removedpaidchat_patharray('result' => & $Result));
./modules/lhcron/workflow.phpchat.workflow.startedarray());
./modules/lhcron/workflow.phpchat.pending_process_workflowarray('chat' => & $chat));
./modules/lhcron/workflow.phpchat.pending_process_workflowarray('chat' => & $chat));
./modules/lhcron/workflow.phpchat.workflowarray());
./modules/lhcron/util/check_archives.phpchat.check_archivearray('archive' => $archiveRange));
./modules/lhtranslation/starttranslation.phptranslate.before_messagetranslatedarray('chat' => & $chat, 'errors' => & $errors));
./modules/lhrestapi/addmsguser.phpchat.before_msg_user_savedarray('msg' => & $msg,'chat' => & $chat));
./modules/lhrestapi/department.phpdepartment.modifiedarray('department' => $dep, 'payload_data' => $requestBody));
./modules/lhrestapi/setoperatorstatus.phpchat.operator_status_changedarray('user' => & $userData, 'reason' => 'rest_api'));
./modules/lhrestapi/fetchchatmessages.phpchat.syncuser.operator_typingarray('chat' => & $chat));
./modules/lhrestapi/fetchchat.phpapi.fetchchatarray('chat' => & $chat));
./modules/lhrestapi/setonlinestatus.phpchat.operator_status_changedarray('user' => & $user, 'reason' => 'restapi_action'));
./modules/lhrestapi/swagger.phprestapi.swaggerarray('append_definitions' => & $append_definitions, 'append_paths' => & $append_paths, 'chats_parameters' => & $chats_parameters));
./modules/lhrestapi/addmsgadmin.phpchat.acceptarray('chat' => & $Chat, 'user_data' => $userData));
./modules/lhrestapi/setinvisibilitystatus.phpchat.operator_visibility_changedarray('user' => & $userData, 'reason' => 'rest_api'));
./modules/lhrestapi/updatechatattributes.phpchat.data_changed_chatarray(
./modules/lhwidgetrestapi/submitoffline.phpchat.before_chat_startedarray('chat' => & $chat, 'errors' => & $Errors, 'offline' => (isset($additionalParams['offline']) && $additionalParams['offline'] == true)));
./modules/lhwidgetrestapi/submitoffline.phpchat.chat_offline_request_presendarray(
./modules/lhwidgetrestapi/submitoffline.phpchat.chat_offline_requestarray(
./modules/lhwidgetrestapi/fetchmessages.phpchat.syncuser.operator_typingarray('chat' => & $chat));
./modules/lhwidgetrestapi/onlinesettings.phpwidgetrestapi.onlinesettingsarray('output' => & $outputResponse));
./modules/lhwidgetrestapi/initchat.phpchat.chatwidgetchatarray('params' => & $Params, 'chat' => & $chat));
./modules/lhwidgetrestapi/initchat.phpwidgetrestapi.initchatarray('output' => & $outputResponse, 'chat' => $chat));
./modules/lhwidgetrestapi/checkchatstatus.phpchat.checkchatstatusarray('chat' => & $chat, 'response' => & $responseArray));
./modules/lhwidgetrestapi/settings.phpwidgetrestapi.settingsarray('output' => & $outputResponse));
./modules/lhchatsettings/startchatformsettings.phpchat.startchatformsettings_patharray('result' => & $Result));

How to implement custom notification callback for started or closed chat?

Let say you want to receive a sms message then users request a chat. Or just send chat data to some external service. This is very easy archievable just using extension. For example I suggest to have a look at https://github.com/LiveHelperChat/livehelperchat-extensions/tree/master/sevabot

It uses one live helper chat provided events

Also chat has antoher even which you can use then chat is closed

How to verify a user before starting a chat?

  1. You will need LHC since 2.04 version
  2. Also this extension https://github.com/LiveHelperChat/livehelperchat-extensions/tree/master/verifyuser
  3. Now just download this extension and put it in extension folder, so it should look like extension/verifyuser/...
  4. Activate this extension in settings.ini.php file 'extensions' => array('verifyuser')
  5. Now you can just edit verifyuser/bootstrap/bootstrap.php file there will be defined callback which get's all the chat data. https://github.com/LiveHelperChat/livehelperchat-extensions/blob/master/verifyuser/bootstrap/bootstrap.php#L21

Also instead of pure DB check you can use curl or whatever you want.