support

Module Events support

EventsCalled
OnAfterTicketAddCTicket :: Set
OnAfterTicketUpdateCTicket :: Set
OnAfterUseCouponCSupportSuperCoupon :: UseCoupon
OnBeforeSendCouponEMailCSupportSuperCoupon :: UseCoupon
OnBeforeSendMailToAuthorCTicket :: Set_sendMails
OnBeforeSendMailToSupportCTicket :: Set_sendMails
OnBeforeTicketAddCTicket :: Set
OnBeforeTicketDeleteCTicket :: Delete
OnBeforeTicketExpireCTicketReminder :: SupportDeadline
OnBeforeTicketNotifyCTicketReminder :: SupportDeadlineNotify
OnBeforeTicketUpdateCTicket :: Set
OnTicketDeleteCTicket :: Delete

List of module methods support

Methods
CSupportEMail :: EMailMessageAdd($arMessageFields, $ACTION_VARS)
CSupportEMail :: EMailMessageCheck($arFields, $ACTION_VARS)
CSupportEMail :: OnGetFilterList()
CSupportEMail :: PrepareVars()
CSupportHolidays :: Delete($id, $checkRights=true)
CSupportHolidays :: err_mess()
CSupportHolidays :: GetList($arSort, $arFilter)
CSupportHolidays :: GetOpenTimeArray()
CSupportHolidays :: GetOpenTimeT($v)
CSupportHolidays :: GetSLAByID($id, $needObj = false)
CSupportHolidays :: Set($arFields, $arFieldsSLA) //$arFields, $arFieldsSLA = array(0 => array("HOLIDAYS_ID" => 1, "SLA_ID" => 1), 1 => array("HOLIDAYS_ID" => 2, "SLA_ID" => 2) ...)
CSupportSearch :: CheckModule()
CSupportSearch :: err_mess()
CSupportSearch :: GetFilterQuery($q, $idName, $titleName, $messageName, &$error)
CSupportSearch :: getSql($query)
CSupportSearch :: GetSQLfilter($s, $idName, $titleName, $messageName)
CSupportSearch :: indexAllTickets($startFromId = 0, $timeLimit = 10)
CSupportSearch :: indexTicket($ticket, $messages = null)
CSupportSearch :: isIndexExists()
CSupportSearch :: ParseQ($q)
CSupportSearch :: ParseStr($qwe, $default_op = "&")
CSupportSearch :: performAllTicketsIndexing($startFromId = 0, $timeLimit = 10, $removeOldIndex = false)
CSupportSearch :: PrepareQuery($q, $idName, $titleName, $messageName, &$error)
CSupportSearch :: reindexAllTickets($startFromId = 0, $timeLimit = 10)
CSupportSearch :: ReindexMessages($firstID, $periodS = 8)
CSupportSearch :: reindexTicket($ticket, $messages = null)
CSupportSearch :: StrInEXISTS($and, $idName, $sign, $key)
CSupportSearch :: WriteWordsInTable($M_ID, $SITE_ID, $s)
CSupportSuperCoupon :: Add($arFields)
CSupportSuperCoupon :: Delete($ID)
CSupportSuperCoupon :: Generate($arParams = array())
CSupportSuperCoupon :: GetList($arOrder = array(), $arFilter = array())
CSupportSuperCoupon :: GetLogList($arOrder = array(), $arFilter = array())
CSupportSuperCoupon :: Update($ID, $arFields)
CSupportSuperCoupon :: UseCoupon($coupon)
CSupportSuperCoupon :: _getrandsymbol($x)
CSupportSuperCoupon :: __CheckFields($arFields)
CSupportTableFields :: AddRow()
CSupportTableFields :: checkRow($row)
CSupportTableFields :: CleanVar($row = null, $removeExistingRows = false)
CSupportTableFields :: Convert($type, $value, $op)
CSupportTableFields :: ConvertForHTML($type, $place, $value, $op)
CSupportTableFields :: ConvertForSQL($type, $value)
CSupportTableFields :: First()
CSupportTableFields :: FromArray($arr, $fields = self::ALL, $notNull = array(), $row = null)
CSupportTableFields :: FromTable($table, $fields = self::ALL, $notNull = array(), $removeExistingRows = false)
CSupportTableFields :: Get($name, $row = null)
CSupportTableFields :: GetColumn($name)
CSupportTableFields :: GetFieldForOutput($name, $place, $whiteList = array("http", "ftp", "/"), $row = null)
CSupportTableFields :: Last()
CSupportTableFields :: Next()
CSupportTableFields :: Previous()
CSupportTableFields :: RemoveExistingRows()
CSupportTableFields :: ResetNext()
CSupportTableFields :: Row($row)
CSupportTableFields :: Set($name, $value, $notNull = array(), $row = null, $isModified = true)
CSupportTableFields :: SetCurrentTime($name, $row = null)
CSupportTableFields :: SortMethod($a, $b)
CSupportTableFields :: SortRow($sf)
CSupportTableFields :: ToArray($fields = self::ALL, $notNull = array(), $forSQL = false, $row = null)
CSupportTableFields :: __construct($f, $arOrTable = self::C_Array)
CSupportTableFields :: __get($name)
CSupportTableFields :: __set($name, $value)
CSupportTimetable :: Delete($id, $checkRights=true)
CSupportTimetable :: err_mess()
CSupportTimetable :: GetList($arSort = null, $arFilter = null)
CSupportTimetable :: GetSheduleByID($id, $needObj = false)
CSupportTimetable :: Set($arFields, $arFieldsShedule) //$arFields, $arFieldsShedule = array(0 => array("ID" => 1 ...), 1 => array("ID" => 3 ...) ...)
CSupportTimetableCache :: err_mess()
CSupportTimetableCache :: GetDayBegin($d)
CSupportTimetableCache :: GetDayEnd($d)
CSupportTimetableCache :: GetDayNom($d)
CSupportTimetableCache :: getEndDate($sla, $periodMin0, $dateFrom, $secondTry = false)
CSupportTimetableCache :: GetHolidays($dateB, $dateE, $arrS, $arFilter)
CSupportTimetableCache :: GetMaxSlaResponseTime()
CSupportTimetableCache :: GetNumberOfDaysBackward()
CSupportTimetableCache :: GetNumberOfDaysForward()
CSupportTimetableCache :: GetShedule($arFilter)
CSupportTimetableCache :: GetTimeZone()
CSupportTimetableCache :: GetTimeZoneOffset()
CSupportTimetableCache :: InsertDefaultValues()
CSupportTimetableCache :: MergeIntervals($arr)
CSupportTimetableCache :: MergeIntervalsH($arr, $arrS)
CSupportTimetableCache :: Possible($d = "")
CSupportTimetableCache :: SortMethodH($a, $b)
CSupportTimetableCache :: StartAgent()
CSupportTimetableCache :: TimeStampInCurrTimeZone($d, $fromUserTZ = false)
CSupportTimetableCache :: TimeToStr($t)
CSupportTimetableCache :: ToCache($arFilter = array(), $RSD = true, $arFromGetEndDate = null)
CSupportTimetableCache :: UpdateDiscardedTickets()
CSupportTools :: array_keys_exists($key, $arr, $more0 = "", $andOr = "&&")
CSupportTools :: PrepareParamArray($param, $res = array())
CSupportUpdate :: AlterTables($dbType)
CSupportUpdate :: ChangeCurrentVersion()
CSupportUpdate :: CurrentVersionLowerThanUpdateVersion()
CSupportUpdate :: err_mess()
CSupportUpdate :: GetBD()
CSupportUpdate :: GetUpdateVersion()
CSupportUpdate :: SeparateSLAandTimeTable($dbType)
CSupportUpdate :: SetHotKeys()
CSupportUpdate :: Update()
CSupportUser2UserGroup :: Add($arFields)
CSupportUser2UserGroup :: CheckFields(&$arFields, $groupID = 0, $userID = 0)
CSupportUser2UserGroup :: Delete($groupID, $userID)
CSupportUser2UserGroup :: GetList($arOrder = array(), $arFilter = array())
CSupportUser2UserGroup :: SetGroupUsers($groupID, $arUsers)
CSupportUser2UserGroup :: Update($groupID, $userID, $arFields)
CSupportUserGroup :: Add($arFields)
CSupportUserGroup :: AddUserGroup($arFields)
CSupportUserGroup :: CheckFields(&$arFields, $ID = 0)
CSupportUserGroup :: Delete($ID)
CSupportUserGroup :: DeleteUserGroup($groupID, $userID)
CSupportUserGroup :: GetList($arOrder = array(), $arFilter = array())
CSupportUserGroup :: GetUserGroupList($arOrder = array(), $arFilter = array())
CSupportUserGroup :: Update($ID, $arFields)
CSupportUserGroup :: UpdateUserGroup($groupID, $userID, $arFields)
CTicket :: AddMessage($ticketID, $arFields, &$arrFILES, $checkRights="Y")
CTicket :: addSupportText($cn)
CTicket :: AutoClose()
CTicket :: CheckFields($arFields, $id, $arRequired)
CTicket :: CheckFilter($arFilter)
CTicket :: CleanUpOnline()
CTicket :: Delete($ticketID, $checkRights="Y")
CTicket :: DeleteMessage($ID, $checkRights="Y")
CTicket :: EmailsFromStringToArray($emails, $res = null)
CTicket :: err_mess()
CTicket :: ExecuteEvents($message, $arFields, $isNew, &$eventType = false)
CTicket :: GetAdminEmails()
CTicket :: GetAdminGroups()
CTicket :: GetAdminRoleID()
CTicket :: GetByID($id, $lang=LANG, $checkRights="Y", $get_user_name="Y", $get_extra_names="Y", $arParams = Array())
CTicket :: GetCSupportTableFields($name, $arrOrTable = CSupportTableFields::C_Array)
CTicket :: GetDemoRoleID()
CTicket :: GetDeniedRoleID()
CTicket :: GetDynamicList(&$by, &$order, $arFilter=Array())
CTicket :: GetEmailsByRole($role)
CTicket :: GetFileList(&$by, &$order, $arFilter=array(), $checkRights = 'N')
CTicket :: GetFUA($site_id)
CTicket :: GetGroupsByRole($role)
CTicket :: GetList(&$by, &$order, $arFilter=Array(), &$isFiltered, $checkRights="Y", $getUserName="Y", $getExtraNames="Y", $siteID=false, $arParams = Array() )
CTicket :: getMaxId()
CTicket :: GetMessageByID($id, $checkRights="Y", $get_user_name="Y")
CTicket :: GetMessageDynamicList(&$by, &$order, $arFilter=Array())
CTicket :: GetMessageList(&$by, &$order, $arFilter=Array(), &$isFiltered, $checkRights="Y", $getUserName="Y")
CTicket :: GetMessages($ticketID, $arFilter=array(), $checkRights="Y")
CTicket :: GetOnline($ticketID)
CTicket :: GetRefBookValues($type, $site_id=false)
CTicket :: GetResponsible()
CTicket :: GetResponsibleList($userID, $CMGM = null, $CMUGM = null, $SG = null)
CTicket :: GetRoles(&$isDemo, &$isSupportClient, &$isSupportTeam, &$isAdmin, &$isAccess, &$userID, $checkRights=true)
CTicket :: GetStatus($ticketID)
CTicket :: GetSupportClientRoleID()
CTicket :: GetSupportTeamAndAdminUsers()
CTicket :: GetSupportTeamEmails()
CTicket :: GetSupportTeamGroups()
CTicket :: GetSupportTeamList()
CTicket :: GetSupportTeamRoleID()
CTicket :: GetUsersPropertiesArray($arUserIDs = array(), $arGuestIDs = array())
CTicket :: HaveRole($role, $userID=false)
CTicket :: IsAdmin($userID=false)
CTicket :: IsDemo($userID=false)
CTicket :: isnull( $field, $alternative )
CTicket :: IsOwner($ticketID, $userID=false)
CTicket :: IsResponsible($userID=false)
CTicket :: IsSupportClient($userID=false)
CTicket :: IsSupportTeam($userID=false)
CTicket :: MarkAsSpam($ticketID, $exactly="Y", $checkRights="Y")
CTicket :: MarkMessageAsSpam($messageID, $exactly="Y", $checkRights="Y")
CTicket :: PrepareFields($arFields, $table, $id)
CTicket :: Set($arFields, &$MID, $id="", $checkRights="Y", $sendEmailToAuthor="Y", $sendEmailToTechsupport="Y")
CTicket :: SetTicket($arFields, $ticketID="", $checkRights="Y", $sendEmailToAuthor="Y", $sendEmailToTechsupport="Y")
CTicket :: Set_getCOUPONandSLA($v, $f, $arFields)
CTicket :: Set_getFilesLinks($arFiles, $lID)
CTicket :: Set_getResponsibleUser($v, $f, &$arFields)
CTicket :: Set_InitVar(&$arFields, $id, $checkRights, $sendEmailToAuthor, $sendEmailToTechsupport)
CTicket :: Set_sendMails($nf, $v, $arFields)
CTicket :: Set_WriteLog($nf, $v, $mf)
CTicket :: SplitTicket($arParam)
CTicket :: UnMarkAsSpam($ticketID, $checkRights="Y")
CTicket :: UnMarkMessageAsSpam($messageID, $checkRights="Y")
CTicket :: UpdateLastParams2($ticketID, $dateType)
CTicket :: UpdateLastParamsN($ticketID, $dateType, $recalculateSupportDeadline = true, $setReopenDefault = true)
CTicket :: UpdateMessage($MESSAGE_ID, $arFields, $checkRights="Y")
CTicket :: UpdateMessages($ticketID)
CTicket :: UpdateOnline($ticketID, $userID=false, $currentMode="")
CTicketDictionary :: Add($arFields)
CTicketDictionary :: CheckFields($arFields, $id = false)
CTicketDictionary :: Delete($id, $CHECK_RIGHTS="Y")
CTicketDictionary :: err_mess()
CTicketDictionary :: GetByID($id)
CTicketDictionary :: GetBySID($sid, $type, $siteID=SITE_ID)
CTicketDictionary :: GetDefault($type, $siteID=SITE_ID)
CTicketDictionary :: GetDropDown($type="C", $siteID=false, $sla_id=false)
CTicketDictionary :: GetDropDownArray($siteID = false, $SLA_ID = false, $arUnsetType = Array("F"))
CTicketDictionary :: GetList(&$by, &$order, $arFilter=Array(), &$isFiltered)
CTicketDictionary :: GetNextSort($typeID)
CTicketDictionary :: GetSiteArray($DICTIONARY_ID)
CTicketDictionary :: GetSiteArrayForAllDictionaries()
CTicketDictionary :: GetTypeList()
CTicketDictionary :: GetTypeNameByID($id)
CTicketDictionary :: Update($id, $arFields)
CTicketDictionary :: __CleanDefault(&$arFields)
CTicketDictionary :: __SetSites($id, $arFields)
CTicketReminder :: AgentFunction()
CTicketReminder :: ConvertResponseTimeUnit($rt, $rtu)
CTicketReminder :: err_mess()
CTicketReminder :: RecalculateLastMessageDeadline($RSD = true)
CTicketReminder :: RecalculateSupportDeadline($arFilter = array())
CTicketReminder :: RecalculateSupportDeadlineForOneTicket($arTicket, $arFields = array(), $dateType = array("EVENT"=>array(CTicket::IGNORE)))
CTicketReminder :: StartAgent()
CTicketReminder :: SupportDeadline($arrTicket)
CTicketReminder :: SupportDeadlineNotify($arrTicket0)
CTicketSLA :: Delete($id, $checkRights=true)
CTicketSLA :: err_mess()
CTicketSLA :: GetByID($id)
CTicketSLA :: GetCategoryArray($slaID)
CTicketSLA :: GetCriticalityArray($slaID)
CTicketSLA :: GetDropDown($siteID="")
CTicketSLA :: GetForUser($siteID=false, $userID=false)
CTicketSLA :: GetGroupArray($slaID)
CTicketSLA :: GetGroupArrayForAllSLA()
CTicketSLA :: GetList(&$arSort, $arFilter=Array(), &$isFiltered)
CTicketSLA :: GetMarkArray($slaID)
CTicketSLA :: GetSheduleArray($slaID)
CTicketSLA :: GetSiteArray($slaID)
CTicketSLA :: GetSiteArrayForAllSLA($p = self::SLA_SITE)
CTicketSLA :: GetSLA( $siteID, $userID, $categoryID = null, $coupon = "" )
CTicketSLA :: Set($arFields, $id, $checkRights=true)
support :: DoInstall()
support :: DoUninstall()
support :: GetModuleRightList()
support :: InstallDB($arParams = array())
support :: InstallEvents()
support :: InstallFiles($arParams = array())
support :: support()
support :: UnInstallDB($arParams = array())
support :: UnInstallEvents()
support :: UnInstallFiles($arParams = array())