Поддержка серверов

IMOPENLINES: методы, функции, константы класса Битрикс


Блог разработчика

9 Августа 2016 ResizeImageGet и простой водяной знак налету

Сегодня поговорим о том как проще всего воткнуть водяной знак на картинки в Битрикс. Например, на все изображения каталога.

21 Июля 2016 Добавление вкладки в CRM коробки Битрикс24

В этом посте я покажу, как легко и просто добавить вкладку в сущность CRM. И не просто добавить, а вывести там свой контент.

21 Июля 2016 Как просто обращаться из коробки Битрикс24 на сайт на базе Битрикс

К примеру вам хочется внутренним скриптом дернуть с сайта-магазина информацию, которая там, в свою очередь, закрыта некоторыми правами. Например, админскими. Можно конечно мутить свой REST, или иной формат общения, но проще всего воспользоваться штатным инструментом:

События модуля imopenlines

СобытиеВызывается
OnReceivedStatusWritesNetwork::executeClientStartWriting
OnReceivedMessageLiveChat::onMessageSend
OnReceivedMessageUpdateNetwork::executeClientMessageUpdate
OnReceivedMessageDelNetwork::executeClientMessageDelete
OnReceivedStatusDeliveryNetwork::executeClientMessageReceived
OnSessionToMailQueueAddMail::addSessionToMailQueue
OnSessionStartSession::createSession
OnSessionFinishSession::finish
selfQueueManager::sendQueueOperatorsDeleteEvent

Константы модуля imopenlines

КонстантаПроверяется
BX_CRONTAB_SUPPORTAgent::getTypeRunAgent
BX_CRONTABAgent::getTypeRunAgent
IMOPENLINES_EXEC_CRONAgent::isCronCall
IMOPENLINES_FULL_DEBUGDebug::addQueueEvent
IMOPENLINES_LOG_FINISHFinish::add
IMOPENLINES_LOG_NO_ANSWERNoAnswer::add

Список функций и методов модуля imopenlines

Метод
Operator::__construct($chatId, $userId = null)
Operator::checkAccess()
Operator::answer()
Operator::skip()
Operator::transfer(array $params)
Operator::setSilentMode($active = true)
Operator::setPinMode($active = true)
Operator::closeDialog()
Operator::markSpam()
Operator::interceptSession()
Operator::createLead()
Operator::cancelCrmExtend($messageId)
Operator::changeCrmEntity($messageId, $entityType, $entityId)
Operator::joinSession()
Operator::openChat($userCode)
Operator::voteAsHead($sessionId, $rating = null, $comment = null)
Operator::startSession()
Operator::startSessionByMessage($messageId)
Operator::saveToQuickAnswers($messageId)
Operator::getSessionHistory($sessionId)
Operator::getError()
Network::__construct()
Network::sendMessage($lineId, $fields)
Network::updateMessage($lineId, $fields)
Network::deleteMessage($lineId, $fields)
Network::sendStatusWriting($lineId, $fields)
Network::onReceiveCommand($command, $params)
Network::executeClientSessionVote($params)
Network::executeClientChangeLicence($params)
Network::executeClientRequestFinalizeSession($params)
Network::executeClientStartWriting($params)
Network::executeClientMessageAdd($params)
Network::executeClientMessageUpdate($params)
Network::executeClientMessageDelete($params)
Network::executeClientMessageReceived($params)
Network::search($text)
Network::join($code)
Network::registerConnector($lineId, $fields = array())
Network::updateConnector($lineId, $fields)
Network::unRegisterConnector($lineId)
Network::getUserId($params, $createUser = true)
Network::getPublicLink($code)
Network::getError()
Dialog::register($userId, $configId)
Dialog::get($userId, $configId)
Dialog::getError()
Dialog::setError($method, $code, $msg, $params = Array())
Dialog::clearError()
Auth::onRestCheckAuth(array $query, $scope, &$res)
Auth::onDiskCheckAuth(\Bitrix\Main\Event $event)
Auth::authorizeById($userId, $setCookie = null, $skipAuthorizeCheck = false)
Auth::getSuccessfulResult()
Auth::checkQueryMethod($whiteListMethods)
Chat::get($userId, $configId)
Chat::getError()
Chat::setError($method, $code, $msg, $params = Array())
Chat::clearError()
User::register($userFields = [])
User::get($userId)
User::getDefaultName()
User::getPersonalPhoto($avatarUrl = '')
User::getUserCode()
User::getError()
User::setError($method, $code, $msg, $params = Array())
User::clearError()
Config::getByCode($code)
Config::getError()
Config::setError($method, $code, $msg, $params = Array())
Config::clearError()
Form::__construct($chatId, $userId = null)
Form::moduleLoad()
Form::dataLoad()
Form::checkAccess()
Form::saveForm($type, $fields)
Crm::__construct($session = null)
Crm::init($chatId = 0, $operatorId = 0)
Crm::initUserViewChat()
Crm::getUserViewChat()
Crm::sendMessageAboutAddEntity($entityType, $entityId)
Crm::sendMessageAboutExtendEntity($entityType, $entityId)
Crm::sendMessageAboutUpdateEntity($entityType, $entityId)
Crm::sendMessageAboutEntity($entityType, $entityId, $eventType)
Crm::getEntityCard($entityType, $entityId)
Session::sendMessageStartSession($chatId, $sessionId)
Session::sendMessageStartSessionByMessage($chatId, $sessionId, $sessionIdParent)
Session::sendMessageReopenSession($chatId, $sessionId)
KpiManager::__construct($sessionId)
KpiManager::getSessionMessages()
KpiManager::getFirstMessage()
KpiManager::getNotAnsweredMessage()
KpiManager::getLastMessage()
KpiManager::getExpiredMessages($includeNoticed = true)
KpiManager::getLineExpiredMessages($lineId, $includeNoticed = true)
KpiManager::getLinesWithExpiredMessages($includeNoticed = true)
KpiManager::addMessage($fields)
KpiManager::updateMessage($kpiMessageId, $fields)
KpiManager::deleteSessionMessages()
KpiManager::stopTimer()
KpiManager::startTimer()
KpiManager::getFirstMessageAnswerTime()
KpiManager::getFullAnswerTime()
KpiManager::getAverageAnswerTime()
KpiManager::getMaxAnswerTime()
KpiManager::getMessageAnswerTime($message)
KpiManager::setSessionLastKpiMessageAnswered($sessionId)
KpiManager::sendExpiredNotification($notificationUserList, $message)
KpiManager::operatorDayStart($operatorId)
KpiManager::operatorDayEnd($operatorId)
KpiManager::startLineSessionsTimers($lineId)
KpiManager::stopLineSessionsTimers($lineId)
KpiManager::getOperatorActiveKpiSessions($operatorId)
KpiManager::setMessageSentExpiredNotification($messageId)
KpiManager::checkOperatorActivity($operatorId, $lineId = null)
KpiManager::getKpiMessageSearchFields()
KpiManager::getKpiMessageReplaceFields($message)
KpiManager::checkWorkTime()
KpiManager::checkWorkTimeAgent()
KpiManager::setExpiredMessagesAgent()
ConfigStatistic::getInstance($lineId)
ConfigStatistic::addEventHandlerSave()
ConfigStatistic::save()
ConfigStatistic::add($lineId)
ConfigStatistic::delete($lineId)
ConfigStatistic::__construct($lineId)
ConfigStatistic::__clone()
ConfigStatistic::__wakeup()
ConfigStatistic::addClosed()
ConfigStatistic::deleteClosed()
ConfigStatistic::addInWork()
ConfigStatistic::deleteInWork()
ConfigStatistic::addSession()
ConfigStatistic::deleteSession()
ConfigStatistic::addLead()
ConfigStatistic::deleteLead()
ConfigStatistic::addMessage()
ConfigStatistic::deleteMessage()
ListsDataManager::__construct($lineId)
ListsDataManager::isReady()
ListsDataManager::add($data)
ListsDataManager::getList($filter = array(), $offset = 0, $limit = 0)
ListsDataManager::update($id, $data)
ListsDataManager::delete($id)
ListsDataManager::getById($id)
ListsDataManager::createStorage($lineId, $userId = 0)
ListsDataManager::getRights($rightCode, array $users, $userWithNoXmlId = 0)
ListsDataManager::getStorageByLineId($lineId)
ListsDataManager::initModules()
ListsDataManager::getDefaultSiteID()
ListsDataManager::getMapFields()
ListsDataManager::prepareData($data, $fillDefault = false)
ListsDataManager::parseData($data)
ListsDataManager::getArrayFromResult(\CDBResult $result = null)
ListsDataManager::getUrlToList()
ListsDataManager::getSectionNames()
ListsDataManager::getSectionList()
ListsDataManager::getCount($filter = array())
ListsDataManager::getStorageList()
ListsDataManager::updateIblockRights($iblockId)
ListsDataManager::isHasRights()
ListsDataManager::getIblockId()
QuickAnswer::add(array $data)
QuickAnswer::__construct($data)
QuickAnswer::getList(array $filter = array(), $offset = 0, $limit = 10)
QuickAnswer::update($data)
QuickAnswer::delete()
QuickAnswer::setDataManager(DataManager $dataManager)
QuickAnswer::getById($id)
QuickAnswer::initFromArray($data)
QuickAnswer::getDefaultDataManager()
QuickAnswer::generateNameFromText($text)
QuickAnswer::getId()
QuickAnswer::getText()
QuickAnswer::getName()
QuickAnswer::getUrlToList()
QuickAnswer::getSectionList()
QuickAnswer::getCategory()
QuickAnswer::getCount(array $filter = array())
QuickAnswer::incrementRating()
Treatment::__construct()
Treatment::createRecord()
Treatment::updateRecord(array $existingRecord)
Treatment::getIsSessionFirst()
Treatment::setIsSessionFirst($isSessionFirst)
Mark::__construct(array $params)
Mark::createRecord()
Mark::updateRecord(array $existingRecord)
Mark::getMark()
Mark::setMark($mark)
Mark::getOldMark()
Mark::setOldMark($oldMark)
Manager::getAggregateManagersMap()
Manager::writeToStatistics($statisticKey, array $params)
Manager::getFromQueue($primary)
Manager::addToQueue($sessionId, $statisticKey, $additionalParams = array())
Manager::removeFromQueue($primary)
Manager::calculateStatisticsInQueue()
Dialog::__construct()
Dialog::createRecord()
Dialog::updateRecord(array $existingRecord)
Dialog::getSecsToAnswer()
Dialog::setSecsToAnswer($secsToAnswer)
Dialog::getStatus()
Dialog::setStatus($status)
AggregatorBase::__construct(array $params)
AggregatorBase::getExistingRecordByPrimary()
AggregatorBase::getClassName()
AggregatorBase::getOperatorId()
AggregatorBase::setOperatorId($operatorId)
AggregatorBase::getSourceId()
AggregatorBase::setSourceId($sourceId)
AggregatorBase::getDate()
AggregatorBase::setDate($date)
AggregatorBase::getOpenLineId()
AggregatorBase::setOpenLineId($openLineId)
AggregatorBase::getErrors()
DialogStatTable::getTableName()
DialogStatTable::getMap()
DialogStatTable::clean()
TreatmentByHourStatTable::getTableName()
TreatmentByHourStatTable::getMap()
TreatmentByHourStatTable::clean()
StatisticQueueTable::getTableName()
StatisticQueueTable::getMap()
StatisticQueueTable::clean()
TreatmentByHour::__construct(array $params)
TreatmentByHour::getExistingRecordByPrimary()
TreatmentByHour::createRecord()
TreatmentByHour::updateRecord(array $existingRecord)
EventHandler::onSessionStart(Event $event)
EventHandler::onSessionFinish(Event $event)
EventHandler::onSessionCreate(Event $event)
EventHandler::onSessionBeforeUpdate(Event $event)
EventHandler::onSessionUpdate(Event $event)
EventHandler::onSessionVote(Event $event)
EventHandler::onChatAnswer(Event $event)
EventHandler::onChatSkip(Event $event)
Statistic::execute(array &$option)
Statistic::repairIsChatCreatedNew(&$session)
Statistic::getSessionsFrom($lastId)
Statistic::writeToStatistics($res)
Statistic::getSessionsCount()
Statistic::cleanStatisticTables()
Statistic::getStatisticStartTime()
EventHandler::onReportsCollect()
EventHandler::onCategoriesCollect()
EventHandler::onViewsCollect()
EventHandler::getOpenLinesBoardId()
EventHandler::onDefaultBoardsCollect()
EventHandler::buildWidgetLoadByChannels()
EventHandler::buildNumberBlockWithTreatmentCount()
EventHandler::buildNumberWithAverageAnswerTime()
EventHandler::buildNumberContentment()
EventHandler::buildDynamicsOfReaction()
EventHandler::buildActivity()
EventHandler::buildDynamicsOfVote()
EventHandler::buildStaffCutStatistics()
Treatment::getWhatWillCalculateOptions($groupBy = null)
Treatment::getQueryInstance()
Treatment::prepare()
Treatment::getSingleData()
Treatment::getMultipleBiGroupedData()
Treatment::getGeneratedDemoData()
Treatment::prepareResultByWhatWillCalculate($data, $whatWillCalculateValue)
Treatment::getPreparedDemoRow($row)
Treatment::getMultipleBiGroupedDemoData()
Treatment::getMultipleDemoData()
Treatment::getMultipleGroupedDemoData()
Treatment::getSingleDemoData()
Dialog::getWhatWillCalculateOptions($groupBy = null)
Dialog::prepare()
Dialog::getSingleData()
Dialog::getGeneratedDemoData()
Dialog::getPreparedDemoRow($row)
Dialog::prepareResultByWhatWillCalculate($data, $whatWillCalculateValue)
Dialog::getMultipleDemoData()
Dialog::getMultipleGroupedDemoData()
Dialog::getSingleDemoData()
Base::collectFormElements()
Base::getOpenLinesOptions()
Base::getChanelOptions($openLineId = 1)
Base::getResponsibleOptions()
Base::getGroupByOptions()
Base::getQueryForPrepareData()
Base::getQueryInstance()
Base::prepareQueryForGroupingByChannel(Query $query)
Base::prepareQueryForGroupingByLine(Query $query)
Base::prepareQueryForGroupingByDate(Query $query)
Base::prepareQueryForGroupingByResponsible(Query $query)
Base::getCalculatedDataFromDbResult(Result $result)
Base::prepareItemForGroupingByDate($array)
Base::prepareItemForGroupingByLine($array)
Base::getOpenLineLabelMap()
Base::prepareItemForGroupingByResponsible($array)
Base::prepareItemForGroupingByChannel($array)
Base::prepareItemForNoneGrouping($array)
Base::getMultipleData()
Base::getMultipleGroupedData()
Base::getSingleData()
Base::getPreparedDemoData()
LiveChatManager::__construct($configId)
LiveChatManager::add($fields = Array())
LiveChatManager::update($fields)
LiveChatManager::delete()
LiveChatManager::prepareAlias($alias)
LiveChatManager::checkAvailableName($alias)
LiveChatManager::canRemoveCopyright()
LiveChatManager::getFormatedUrl($alias = '')
LiveChatManager::get($configId = null)
LiveChatManager::getPublicLink()
LiveChatManager::getWidget($type = self::TYPE_BUTTON, $lang = null, $config = array(), $force = false)
LiveChatManager::updateCommonFiles($params = array())
LiveChatManager::getListForSelect()
LiveChatManager::getWidgetLocalize($languageId = null)
LiveChatManager::getWidgetPhrases($phrases = array(), $languageId = null)
LiveChatManager::compileWidgetAssets()
LiveChatManager::getWidgetSource($params = array())
LiveChatManager::getWidgetConfigForPublicPage($params = array())
LiveChatManager::available()
LiveChatManager::availableCount()
LiveChatManager::getError()
Fields::setSession($session)
Fields::getSession()
Fields::setCode($field)
Fields::getCode()
Fields::addPhone($field)
Fields::setPhones($fields)
Fields::resetPhones()
Fields::getPhones()
Fields::addEmail($field)
Fields::setEmails($fields)
Fields::resetEmails()
Fields::getEmails()
Fields::setPerson(array $fields)
Fields::setDataFromUser($userId = 0)
Fields::setPersonName($field)
Fields::setPersonLastName($field)
Fields::setPersonSecondName($field)
Fields::setPersonEmail($field)
Fields::setPersonPhone($field)
Fields::setPersonWebsite($field)
Fields::getPerson()
Fields::getPersonName()
Fields::getPersonLastName()
Fields::getPersonSecondName()
Fields::getPersonEmail()
Fields::getPersonPhone()
Fields::getPersonWebsite()
Fields::setTitle($field)
Fields::getTitle()
Common::getCommunicationType($userCode, $noImol = false)
Common::getActivityBindings($id)
Common::addActivityBindings($id, $newBindings)
Common::update($type, $id, $updateFields)
Common::get($type, $id, $withMultiFields = false)
Common::delete($type, $id)
Common::deleteMultiField($type, $id, $fieldType, $fieldValue)
Common::formatMultifieldFields($fields)
Common::getSourceName($userCode, $lineTitle = '')
Common::hasAccessToEntity($entityType, $entityId)
Common::hasAccessToEntitiesBindingActivity($activityId)
Common::getLink($type, $id = null)
Common::getEntityCaption($type, $id)
Common::generateSearchContent($activityId)
Common::getCrmEntityIdByTypeCode($crmEntityType)
Common::getActivityBindingsFormatted($id)
Activity::add($params = array())
Activity::update($id, $params = array())
Tracker::getTraceData($data = '')
LiveChat::__construct($config)
LiveChat::openSession()
LiveChat::getChatForUser()
LiveChat::onMessageSend($messageId, $messageFields)
LiveChat::getGuestUser($userId = null)
LiveChat::getDefaultGuestName()
LiveChat::getLocalize($lang = null, $withTagScript = true)
LiveChat::uploadAvatar($avatarUrl = '')
LiveChat::getChat()
LiveChat::getError()
Helper::renderCustomSelectors($filterId, array $filterDefinition)
Helper::getStatisticStepper()
Correction::getCountBrokenSessions()
Correction::repairBrokenSessions($correction = true, $closeDay = false, $limit = 0)
Correction::getCountSessionsThatNotShown()
Correction::setSessionsThatNotShown($limit = 0)
Correction::repairSessionsThatNotShown($correction = true, $closeDay = false, $limit = 0)
Correction::getCountSessionsNoDateClose()
Correction::closeOldSession($correction = true, $closeDay = false, $limit = 0)
Correction::getCountStatusClosedSessions()
Correction::setStatusClosedSessions($correction = true, $limit = 0)
Lock::generateUniqId()
Lock::getUniqId()
Lock::getInstance()
Lock::__construct()
Lock::isFree($name)
Lock::set($name, $time = 60)
Lock::delete($name)
Time::__construct()
Time::getElapsedTime()
Time::getCurrentTime()
Phone::validate($phone)
Phone::normalize($phone)
Phone::isSame($phone1, $phone2)
Phone::parseText($text)
Phone::isInArray($phones, $searchPhone)
Phone::getArrayUniqueValidate($phones)
DbNameLock::getConnection()
DbNameLock::getUniqId()
DbNameLock::getName($name)
DbNameLock::isFree($name)
DbNameLock::set($name, $time = 0)
DbNameLock::delete($name)
Email::validate($email)
Email::normalize($email)
Email::isSame($email1, $email2)
Email::parseText($text)
Email::isInArray($emails, $searchEmail)
Email::getArrayUniqueValidate($emails)
Permissions::__construct()
Permissions::createWithCurrentUser()
Permissions::createWithUserId($userId)
Permissions::canPerform($entityCode, $actionCode, $minimumPermission = null)
Permissions::canModifyLines()
Permissions::canViewLines()
Permissions::canViewStatistics()
Permissions::canModifyConnectors()
Permissions::canModifySettings()
Permissions::getPermission($entityCode, $actionCode)
Permissions::getMap()
Permissions::getUserId()
Permissions::setUserId($userId)
Permissions::getNormalizedPermissions(array $permissions)
Permissions::getEntityName($entity)
Permissions::getActionName($action)
Permissions::getPermissionName($permission)
Helper::getAllowedUserIds($userId, $permission)
Helper::getCurrentUserId()
Helper::getUserColleagues($userId)
Helper::canCurrentUserModifyLine()
Helper::canCurrentUserModifyConnector()
Helper::clearMenuCache()
Helper::canUse()
Helper::isMainMenuEnabled()
Helper::isCrmWidgetEnabled()
Helper::isLinesMenuEnabled()
Helper::isStatisticsMenuEnabled()
Helper::isSettingsMenuEnabled()
Helper::getTrialText()
Helper::installRolesAgent()
RoleManager::getUserRoles($userId)
RoleManager::getRolePermissions($roleId)
RoleManager::setRolePermissions($roleId, array $permissions)
RoleManager::getUserPermissions($userId)
RoleManager::getAdminPermissions()
RoleManager::deleteRole($roleId)
Helper::getTemplateList()
Helper::getAddUrl()
Helper::getEditUrl($lineId = 0)
Helper::getListUrl()
Helper::getConnectorUrl($connectorId, $lineId = 0)
Helper::isAvailable()
Helper::isLiveChatAvailable()
Common::parseUserCode($userCode)
Common::combineUserCode(array $userCode)
Common::getAgreementFields()
Common::getConfigIdByChatId($chatId)
Common::getUrlImHistory($sessionId)
Common::getUrlImHistoryBbCode($sessionId, $textUrl)
Agent::getTypeRunAgent()
Agent::getTimeOutTransferToNextInQueue()
Agent::transferToNextInQueue($nextExec = 0, $offset = 0)
Agent::closeByTime($nextExec = 0)
Agent::sendMessageNoAnswer()
Agent::mailByTime($nextExec = 0)
Agent::dismissedOperator($nextExec = 0)
Agent::isCronCall()
Agent::isExecModeAgent()
Agent::isExecModeCron()
UpdateSession::execute(array &$result)
UpdateConfig::getNearestValue($value)
UpdateConfig::execute(array &$result)
Correction1::execute(array &$result)
Correction4::execute(array &$result)
Correction2::execute(array &$result)
Correction3::execute(array &$result)
Session::execute(array &$result)
Agent::update1720()
Limit::isDemoLicense()
Limit::getLinesLimit()
Limit::getLicenseUsersLimit()
Limit::canUseQueueAll()
Limit::canUseVoteClient()
Limit::canUseVoteHead()
Limit::canRemoveCopyright()
Limit::onBitrix24LicenseChange(\Bitrix\Main\Event $event)
Limit::getTrackerLimit()
Limit::getTrackerLimitRemainder()
Limit::increaseTracker()
Debug::addSession(Session $session, $type, $data = null)
Debug::addAgent($type, $data = null)
Debug::addQueue($lineId, $sessionId, $type, $data = null)
Debug::addQueueEvent($type, $lineId = 0, $sessionId = 0, $data = null)
Mail::addSessionToMailQueue($sessionId, $withCheck = true)
Mail::removeSessionFromMailQueue($sessionId, $withCheck = true)
Mail::sendOperatorAnswerAgent($sessionId)
Mail::sendOperatorAnswer($sessionId)
Mail::prepareOperatorAnswerForTemplate($sessionId, $setSendFlag = true)
Mail::sendSessionHistory($sessionId, $email)
Mail::prepareSessionHistoryForTemplate($sessionId)
Mail::prepareMessagesForTemplate($session, $history, $language = null)
Mail::installEventsAgent()
Event::initialization($configLine)
Event::initializationUsingConfiguration($configLine)
Event::onQueueTypeChange(\Bitrix\Main\Event $event)
Event::onQueueOperatorsAdd(\Bitrix\Main\Event $event)
Event::onAfterTMDayStart($data)
Event::onAfterTMDayContinue($data)
Event::OnEndAbsence(\Bitrix\Main\Event $event)
Event::returnUserToAllQueues($userId, $checkTimeman = false)
Event::returnUserToQueue(array $userIds, $lineId)
Event::onAfterTMDayPause($data)
Event::onAfterTMDayEnd($data)
Event::onQueueOperatorsDelete(\Bitrix\Main\Event $event)
Event::onUserDelete($userId)
Event::onUserUpdate(&$userFields)
Event::OnStartAbsence(\Bitrix\Main\Event $event)
Event::getLineIsSessionOperator($userId, $checkTimeman = false)
Event::checkFreeSlotOnChatAnswer(\Bitrix\Main\Event $event)
Event::checkFreeSlotOnFinish(\Bitrix\Main\Event $event)
Event::checkFreeSlotOnOperatorTransfer(\Bitrix\Main\Event $event)
Event::checkSessionFreeSlotOnFinish(Session $session)
Event::checkFreeSlotBySendMessage($messageData)
Queue::__construct($configLine)
Queue::getKeyLock($chatId)
Queue::startLock($chatId)
Queue::stopLock($chatId)
Queue::getNewDateNoAnswer()
Queue::isUndistributedSession()
Queue::isOperatorAvailable($userId, $currentOperator = 0)
Queue::createSession($operatorId = 0, $crmManager = null, $isGroupByChat = false)
Queue::transferToNext($manual = true)
Queue::isActiveCrmUser($idUser)
Queue::transferOperatorOffline()
Queue::sendMessageSkipAlone($chatId)
Queue::getCountFreeSlots()
Queue::returnNotAcceptedSessionsToQueue($userId, $reasonReturn = ImOpenLines\Queue::REASON_DEFAULT)
Queue::returnNotDistributedSessionsToQueue($reasonReturn = ImOpenLines\Queue::REASON_DEFAULT)
Queue::returnSessionsUsersToQueue(array $userIds, $reasonReturn = ImOpenLines\Queue::REASON_DEFAULT)
Queue::returnSessionsWaitClientUsersToQueue(array $sessionList, $reasonReturn = ImOpenLines\Queue::REASON_DEFAULT)
Queue::returnSessionsAcceptedUsersToQueue(array $sessionIds, $reasonReturn = ImOpenLines\Queue::REASON_DEFAULT)
Queue::returnSessionsNotAcceptedUsersToQueue(array $sessionIds, $reasonReturn = ImOpenLines\Queue::REASON_DEFAULT)
Queue::returnSessionsUsersToQueueIsStartAbsence($userId, $durationAbsenceDay, $reasonReturn = ImOpenLines\Queue::REASON_DEFAULT)
Queue::checkFreeSlotOnChatAnswer()
Queue::checkFreeSlotOnChatFinish()
Queue::checkFreeSlotOnMessageSend($messageData)
Evenly::returnUserToQueue(array $userIds)
Strictly::returnUserToQueue(array $userIds)
All::getCountFreeSlots()
All::returnUserToQueue(array $userIds)
All::returnNotAcceptedSessionsToQueue($userId = 0, $reasonReturn = ImOpenLines\Queue::REASON_DEFAULT)
All::returnNotDistributedSessionsToQueue($reasonReturn = ImOpenLines\Queue::REASON_DEFAULT)
All::returnSessionsUsersToQueue(array $userIds, $reasonReturn = ImOpenLines\Queue::REASON_DEFAULT)
All::checkFreeSlotOnChatAnswer()
All::checkFreeSlotOnChatFinish()
All::checkFreeSlotOnMessageSend($messageData)
Evenly::getOperatorsQueue($currentOperator = 0)
Strictly::getOperatorsQueue($currentOperator = 0)
All::isOperatorAvailable($userId, $currentOperator = 0)
All::getOperatorsQueue($currentOperator = 0)
All::transferToNext($manual = true)
Queue::initialization($session)
Queue::transferToNextSession($limitTime = 60, $limit = 0, $lineId = 0)
Queue::isThereSessionTransfer($line = 0)
Queue::getActiveStatusByTimeman($userId, $ignorePause = false)
Queue::isOperatorAbsent($operatorId)
Queue::getTimeLastActivityOperator()
Queue::getList($params)
Queue::isOperatorOnline($id)
Queue::isRealOperator($id)
Queue::getQueueOperatorData($userId, $lineId)
Queue::getUserCacheTag($userId, $lineId)
Queue::setQueueUserData($lineId, $userArray)
Queue::getDefaultOperatorData($lineId)
Queue::getUserData($lineId, $userId, $nullForUnprocessed = false)
Queue::returnSessionToQueue($sessionId, $reasonReturn = self::REASON_DEFAULT)
Queue::returnSessionWaitClientToQueue($sessionId, DateTime $dateQueue, $reasonReturn = self::REASON_DEFAULT)
Queue::isOperatorActive($userId, $isTimeMan = 'N')
Queue::getCountFreeSlotOperator($idUser, $idLine = 0, $maxChat = 0, $typeMaxChat = null)
Common::hasAccessForAdminPages()
Common::getPortalType()
Common::getPublicFolder()
Common::getServerAddress()
Common::getExecMode()
Common::deleteBrokenSession()
Common::setUserAgrees($params)
Common::getAgreementLink($agreementId, $languageId = null, $iframe = false)
Common::getHistoryLink($sessionId, $configId)
Common::getBitrixUrlByLang($lang = null)
Common::setCacheTag($tag, $cacheTtl = self::CACHE_TTL_MONTH)
Common::getCacheTag($tag, $cacheTtl = self::CACHE_TTL_MONTH)
Common::removeCacheTag($tag)
Common::getWorkTimeEnd($date = null)
Common::objectEncode($params)
Common::getMaxSessionCount()
Crm::isLoaded()
Crm::loadMessages()
Crm::getFields()
Crm::setSkipCreate()
Crm::isSkipCreate()
Crm::setSkipSearch()
Crm::isSkipSearch()
Crm::setSkipAutomationTrigger()
Crm::isSkipAutomationTrigger()
Crm::setIgnoreSearchCode()
Crm::isIgnoreSearchCode()
Crm::setIgnoreSearchEmails()
Crm::isIgnoreSearchEmails()
Crm::setIgnoreSearchPhones()
Crm::isIgnoreSearchPhones()
Crm::setIgnoreSearchPerson()
Crm::isIgnoreSearchPerson()
Crm::getCode()
Crm::getCodeImol()
Crm::search()
Crm::getEntityManageFacility()
Crm::registrationChanges()
Crm::preparingFieldsAddCrmEntity()
Crm::sendCrmImMessages()
Crm::registerActivity()
Crm::updateEntity($type, $id)
Crm::updateUserConnector()
Crm::getSourceId()
Crm::getOperatorId()
Crm::getResponsibleCrmId()
Crm::updateFlags()
Crm::setDefaultFlags()
Crm::executeAutomationTrigger($bindings, $data)
Crm::executeAutomationMessageTrigger($bindings, $data)
Crm::setSessionAnswered($params = [])
Crm::setSessionClosed($params = [])
Crm::setSessionDataClose($dataClose = null)
Crm::setOperatorId($id, $autoMode = false)
Crm::getLink($type, $id = null)
Rest::onRestServiceBuildDescription()
Rest::operatorAnswer($arParams, $n, \CRestServer $server)
Rest::operatorSkip($arParams, $n, \CRestServer $server)
Rest::operatorSpam($arParams, $n, \CRestServer $server)
Rest::operatorFinish($arParams, $n, \CRestServer $server)
Rest::operatorTransfer($arParams, $n, \CRestServer $server)
Rest::sessionIntercept($arParams, $n, \CRestServer $server)
Rest::botSessionOperator($arParams, $n, \CRestServer $server)
Rest::botSessionSendAutoMessage($arParams, $n, \CRestServer $server)
Rest::botSessionTransfer($arParams, $n, \CRestServer $server)
Rest::botSessionFinish($arParams, $n, \CRestServer $server)
Rest::configGetPath($arParams, $n, \CRestServer $server)
Rest::networkJoin($arParams, $n, \CRestServer $server)
Rest::networkMessageAdd($arParams, $n, \CRestServer $server)
Rest::widgetUserRegister($params, $n, \CRestServer $server)
Rest::widgetUserConsentApply($params, $n, \CRestServer $server)
Rest::widgetVoteSend($params, $n, \CRestServer $server)
Rest::widgetFormSend($params, $n, \CRestServer $server)
Rest::widgetUserGet($params, $n, \CRestServer $server)
Rest::widgetDialogGet($params, $n, \CRestServer $server)
Rest::widgetConfigGet($params, $n, \CRestServer $server)
Rest::configGet($arParams, $n, \CRestServer $server)
Rest::configListGet($arParams, $n, \CRestServer $server)
Rest::configUpdate($arParams, $n, \CRestServer $server)
Rest::configAdd($arParams, $n, \CRestServer $server)
Rest::configDelete($arParams, $n, \CRestServer $server)
Rest::crmChatUserAdd($arParams, $n, \CRestServer $server)
Rest::objectEncode($data, $options = [])
ConfigStatisticTable::getTableName()
ConfigStatisticTable::getMap()
LockTable::getTableName()
LockTable::getMap()
LockTable::validateString()
LockTable::getCurrentDate()
EventLogTable::getTableName()
EventLogTable::getMap()
EventLogTable::validateString()
SessionKpiMessagesTable::getTableName()
SessionKpiMessagesTable::getMap()
ExecLogTable::getTableName()
ExecLogTable::getMap()
ExecLogTable::validateString()
LivechatTable::getTableName()
LivechatTable::getMap()
LivechatTable::validateUrlCode()
LivechatTable::validateUrlCodePublic()
LivechatTable::validateTemplateId()
LivechatTable::validateCssPath()
LivechatTable::validatePhoneCode()
OperatorTransferTable::getTableName()
OperatorTransferTable::getMap()
OperatorTransferTable::validateTransferMode()
OperatorTransferTable::validateTransferType()
OperatorTransferTable::getCurrentDate()
QueueTable::getTableName()
QueueTable::getMap()
QueueTable::getCurrentDate()
QueueTable::validateString()
RoleAccessTable::getTableName()
RoleAccessTable::getMap()
RoleAccessTable::truncate()
RoleAccessTable::deleteByRoleId($roleId)
SessionTable::getTableName()
SessionTable::getMap()
SessionTable::getUfId()
SessionTable::getByIdPerformance($id)
SessionTable::getSelectFieldsPerformance($prefix = '')
SessionTable::getList(array $parameters = [])
SessionTable::onAfterAdd(Event $event)
SessionTable::onBeforeUpdate(Event $event)
SessionTable::onAfterUpdate(Event $event)
SessionTable::indexRecord($id)
SessionTable::generateSearchContent(array $fields)
SessionTable::validateSource()
SessionTable::validateMode()
SessionTable::validateUserCode()
SessionTable::validateExtraTariff()
SessionTable::validateExtraUserLevel()
SessionTable::validateExtraPortalType()
SessionTable::validateExtraUrl()
SessionTable::validateSendForm()
SessionTable::getCurrentDate()
RoleTable::getTableName()
RoleTable::getMap()
RoleTable::validateXmlId()
SessionCheckTable::getTableName()
SessionCheckTable::getMap()
SessionCheckTable::OnAfterAdd(Event $event)
SessionCheckTable::onBeforeUpdate(Event $event)
SessionCheckTable::OnAfterUpdate(Event $event)
RestNetworkLimitTable::getTableName()
RestNetworkLimitTable::getMap()
RestNetworkLimitTable::getCurrentDate()
LogTable::getTableName()
LogTable::getMap()
LogTable::validateString()
LogTable::getCurrentDate()
ConfigTable::getTableName()
ConfigTable::getMap()
ConfigTable::validateText2000()
ConfigTable::validateText255()
ConfigTable::validateText50()
ConfigTable::validateText20()
ConfigTable::validateText5()
ConfigTable::validateText2()
ConfigTable::getCurrentDate()
RolePermissionTable::getTableName()
RolePermissionTable::getMap()
RolePermissionTable::deleteByRoleId($roleId)
SessionIndexTable::getTableName()
SessionIndexTable::getMap()
SessionIndexTable::getMergeFields()
SessionIndexTable::merge(array $data)
UserRelationTable::getTableName()
UserRelationTable::getMap()
UserRelationTable::validateUserCode()
TrackerTable::getTableName()
TrackerTable::getMap()
TrackerTable::validateAction()
TrackerTable::validateCrmEntityType()
TrackerTable::validateValue()
TrackerTable::getCurrentDate()
ConfigCategoryTable::getTableName()
ConfigCategoryTable::getMap()
ConfigCategoryTable::validateCode()
ConfigCategoryTable::validateValue()
Session::__construct($config = array())
Session::loadByArray($session, $config, $chat)
Session::load(array $params)
Session::start($params)
Session::createSession($fields, $params)
Session::readingSession($fields, $params)
Session::prepareUserChat($params, $count = 0)
Session::pause($active = true)
Session::markSpam()
Session::finish($auto = false, $force = false, $hideChat = true)
Session::dismissedOperatorFinish()
Session::getData($field = '')
Session::getConfig($field = '')
Session::getUser($field = '')
Session::setOperatorId($id, $waitAnswer = false, $autoMode = false)
Session::update($fields)
Session::checkWorkTime()
Session::checkOperatorWorkTime()
Session::execAutoAction($params)
Session::transferToNextInQueue($manual = true)
Session::sendMessageNoAnswer()
Session::prolongDueChatActivity($chatId)
Session::setQueueFlagCache($type = "")
Session::deleteQueueFlagCache($type = "")
Session::getQueueFlagCache($type = "")
Session::getChat()
Session::getAction()
Session::joinUser()
Session::isNowCreated()
Session::updateCrmFlags($fields)
Session::voteAsUser($sessionId, $action, $userId = null)
Session::voteAsHead($sessionId, $voteValue = null, $commentValue = null, $userId = null)
Session::closeDuplicate($duplicateSession, $actualSession)
Session::isFirstOperatorMessage($messageId)
Session::addEventToLog($eventType, $result = null)
Session::onSessionProlongLastMessage($chatId, $dialogId, $entityType = '', $entityId = '', $userId = '')
Session::onSessionProlongWriting($params)
Session::onSessionProlongChatRename($chatId, $title, $entityType = '', $entityId = '', $userId = '')
Session::transferToNextInQueueAgent($nextExec, $offset = 0)
Session::closeByTimeAgent($nextExec)
Session::mailByTimeAgent($nextExec)
Session::getAgreementFields()
Session::deleteSession($sessionId)
Session::dismissedOperatorAgent($nextExec)
NoAnswer::isThereSessionNoAnswer()
NoAnswer::sendMessageNoAnswer($limitTime = 60, $limit = 0)
Im::addMessage($fields)
Im::addMessagesNewsletter($messages)
Im::addMessageLiveChat($fields)
Im::chatHide($chatId)
Result::setResult($result)
Result::getResult()
Chat::__construct($chatId = 0, $params = Array())
Chat::isModuleLoad()
Chat::load($params)
Chat::answer($userId, $skipSession = false, $skipMessage = false)
Chat::intercept($userId)
Chat::skip($userId = 0)
Chat::endBotSession()
Chat::waitAnswer($userId)
Chat::transfer($params)
Chat::transferToQueue($params, $session, $mode)
Chat::transferToOperator($params, $session, $mode, $selfExit, $skipCheck)
Chat::setOperators($users = array(), $skipMessage = true, $skipRecent = false)
Chat::join($userId, $skipMessage = true, $skipRecent = false)
Chat::leave($userId)
Chat::close()
Chat::setUserIdForJoin($userId)
Chat::setCrmFlag($params)
Chat::updateSessionStatus($status)
Chat::finish()
Chat::markSpamAndFinish($userId)
Chat::dismissedOperatorFinish()
Chat::startSession($userId)
Chat::startSessionByMessage($userId, $messageId)
Chat::setSilentMode($active = true)
Chat::isSilentModeEnabled()
Chat::setPauseFlag($params)
Chat::createLead()
Chat::getFieldData($field)
Chat::getTitle($lineName, $userName = '', $userColor = '')
Chat::updateFieldData($fields)
Chat::update($fields)
Chat::getData($field = '')
Chat::getGuestName($chatColorCode = '')
Chat::getFieldName($field)
Chat::sendJoinMessage($userList)
Chat::sendAutoMessage($type = null, $message = '')
Chat::updateChatLineData($entityId)
Chat::isNowCreated()
Chat::isDataLoaded()
Chat::sendRatingNotify($type, $sessionId, $rating, $toUserId, $fromUserId = null)
Chat::onGetNotifySchema()
Chat::onAppLang($icon, $lang = null)
Chat::chatAutoAddRecent($dialogId, $user)
Chat::getLastChatIdByCrmEntity($crmEntityType, $crmEntityId)
Log::write($data, $title = '')
Config::__construct()
Config::prepareFields($params, $mode = self::MODE_ADD)
Config::create($params = Array())
Config::update($id, $params = Array())
Config::delete($id)
Config::setActive($id, $status = true)
Config::canActivateLine()
Config::canDoOperation($id, $entity, $action)
Config::canViewLine($id)
Config::canEditLine($id)
Config::canEditConnector($id)
Config::canJoin($id, $crmEntityType = null, $crmEntityId = null)
Config::canVoteAsHead($id)
Config::get($id, $withQueue = true, $showOffline = true)
Config::getList(array $params, $options = array())
Config::getOptionList()
Config::getQueueList($userId = 0, $emptyIsNotOperator = true)
Config::sendUpdateForQueueList($data)
Config::getFormForAuth()
Config::getFormForRating()
Config::getFormValues()
Config::getInstance()
Config::deleteTemporaryConfigAgent($id)
Config::checkLinesLimit()
Config::available()
Config::getSla($configId)
Config::operatorDataConfig($configId)
Config::isShowOperatorData($configId)
Config::getDefaultOperatorData($configId)
Config::isConfigActive($configId)
EventLog::addEvent($event, $fieldsResult, $lineId = 0, $sessionId = 0, $messageId = 0)
EventLog::getEventFieldsData(Result $fieldsResult, $setErrorEventMessage = true)
EventLog::baseEventHandler($eventType, $lineId, $sessionId, $messageId, Result $fieldsResult)
EventLog::getErrorEventData($event, Result $fieldsResult, $lineId = 0, $sessionId = 0, $messageId = 0)
EventLog::onSessionStart($lineId, $sessionId, $messageId, Result $fieldsResult)
EventLog::onSessionLoad($lineId, $sessionId, $messageId, Result $fieldsResult)
EventLog::onSessionPause($lineId, $sessionId, $messageId, Result $fieldsResult)
EventLog::onSessionSpam($lineId, $sessionId, $messageId, Result $fieldsResult)
EventLog::onSessionClose($lineId, $sessionId, $messageId, Result $fieldsResult)
EventLog::onSessionQueueNext($lineId, $sessionId, $messageId, Result $fieldsResult)
EventLog::onSessionDismissedOperatorFinish($lineId, $sessionId, $messageId, Result $fieldsResult)
EventLog::onSessionVoteUser($lineId, $sessionId, $messageId, Result $fieldsResult)
EventLog::onSessionVoteHead($lineId, $sessionId, $messageId, Result $fieldsResult)
Finish::add($params, $data)
ExecLog::setExecFunction($execFunction, $isSuccess = true)
ExecLog::getExecByFunction($execFunction)
ExecLog::isTimeToExec($execFunction, $execPeriod = 86400)
NoAnswer::add($params)
Preset::getVersion()
Preset::getInstalledVersion()
Preset::updateInstalledVersion($version = null)
Preset::checkVersion()
Preset::install()
Preset::uninstall()
Preset::createLiveChat()
Preset::installVersion2()
Tracker::setSession(Session $session)
Tracker::getSession()
Tracker::message($params)
Tracker::cancel($messageId)
Tracker::cancelLeadContactCompany($chatId, $sessionId, $entityType, $params)
Tracker::cancelActivity($params)
Tracker::change($messageId, $newEntityType, $newEntityId)
Tracker::changeLeadContactCompany($entityType, $params)
Tracker::updateLog($params)
Tracker::sendLimitMessage($params)
Tracker::checkMessage($messageText)
Tracker::prepareMessage($text)
Connector::__construct()
Connector::isModuleLoad()
Connector::addMessage($params)
Connector::callMessageTrigger(Session $session)
Connector::updateMessage($params)
Connector::deleteMessage($params)
Connector::sendMessage($params)
Connector::sendStatusWriting($fields, $user)
Connector::sendStatusRead($connector, $messages, $event)
Connector::getUserCode($params)
Connector::onBeforeMessageSend($fields, $chat)
Connector::onMessageUpdate($messageId, $messageFields, $flags)
Connector::onMessageDelete($messageId, $messageFields, $flags)
Connector::onMessageSend($messageId, $messageFields)
Connector::onStartWriting($params)
Connector::onChatRead($params)
Connector::onReceivedEntity($params)
Connector::onReceivedMessage(\Bitrix\Main\Event $event)
Connector::onReceivedPost(\Bitrix\Main\Event $event)
Connector::onReceivedMessageUpdate(\Bitrix\Main\Event $event)
Connector::onReceivedPostUpdate(\Bitrix\Main\Event $event)
Connector::onReceivedMessageDelete(\Bitrix\Main\Event $event)
Connector::onReceivedStatusError(\Bitrix\Main\Event $event)
Connector::onReceivedStatusDelivery(\Bitrix\Main\Event $event)
Connector::onReceivedStatusReading(\Bitrix\Main\Event $event)
Connector::onReceivedStatusWrites(\Bitrix\Main\Event $event)
Connector::getListCanDeleteMessage()
Connector::getListShowDeliveryStatus()
Connector::getListCanUpdateOwnMessage()
Connector::getListCanDeleteOwnMessage()
Connector::getOperatorName($lineId, $userId, $returnArray = false)
Connector::getOperatorAvatar($lineId, $userId)
Connector::isEnableSendSystemMessage($connectorId)
Connector::isEnableSendMessageWithSignature($connectorId, $lineId = 0)
Connector::isConnectorSendMessageWithSignature($connectorId)
Connector::isEnableGroupByChat($connectorId)
Connector::isLiveChat($idConnector)
Connector::saveCustomData($chatId, $customData)
Connector::getError()
Error::__construct($message = '', $code = 0, $method = '', $params = Array())
Error::getMethod()
Error::getParams()
BasicError::__construct($method, $code, $msg, $params = Array())
QueueManager::__construct($id, $config = array())
QueueManager::updateUsers($users, $usersFields = array())
QueueManager::getUserFields($userId)
QueueManager::checkBusinessUsers()
QueueManager::getError()
QueueManager::sendQueueChangeEvents($queueBefore, $queueAfter)
QueueManager::sendQueueOperatorsAddEvent($operators)
QueueManager::sendQueueOperatorsDeleteEvent($operators)
imopenlines::__construct()
imopenlines::DoInstall()
imopenlines::InstallEvents()
imopenlines::CheckModules()
imopenlines::InstallDB($params = Array())
imopenlines::InstallFiles()
imopenlines::InstallChatApps()
imopenlines::UnInstallChatApps()
imopenlines::uploadIcon($iconName)
imopenlines::UnInstallEvents()
imopenlines::DoUninstall()
imopenlines::UnInstallDB($arParams = Array())
imopenlines::UnInstallFiles($arParams = array())