timeman

Module Events timeman

EventsCalled
OnAfterFullReportAddCTimeManReportFull :: Add
OnAfterFullReportUpdateCTimeManReportFull :: Update
OnAfterTMDayContinueCTimeManUser :: ReopenDay
OnAfterTMDayEndCTimeManUser :: CloseDay
OnAfterTMDayPauseCTimeManUser :: PauseDay
OnAfterTMDayStartCTimeManUser :: OpenDay
OnAfterTMEntryAddCTimeManEntry :: Add
OnAfterTMEntryUpdateCTimeManEntry :: Update
OnAfterTMReportAddCTimeManReport :: Add
OnAfterTMReportDailyAddCTimeManReportDaily :: Add
OnAfterTMReportDailyUpdateCTimeManReportDaily :: Update
OnAfterTMReportUpdateCTimeManReport :: Update
OnBeforeFullReportAddCTimeManReportFull :: Add
OnBeforeFullReportUpdateCTimeManReportFull :: Update
OnBeforeTMEntryAddCTimeManEntry :: Add
OnBeforeTMEntryUpdateCTimeManEntry :: Update
OnBeforeTMReportAddCTimeManReport :: Add
OnBeforeTMReportDailyAddCTimeManReportDaily :: Add
OnBeforeTMReportDailyUpdateCTimeManReportDaily :: Update
OnBeforeTMReportUpdateCTimeManReport :: Update

Constant module timeman

ConstantChecked
BX_COMP_MANAGED_CACHECReportNotifications :: FormatEvent
SITE_SERVER_NAMERest :: getPublicDomain
TIMEMAN_VERSIONtimeman :: timeman

List of module methods timeman

Methods
Absence :: addCalendarEntry($userId, $text, $dateStart, $dateEnd, $private = false)
Absence :: addReport($absenceId, $text, $type = self::REPORT_TYPE_WORK, $addToCalendar = true, $userId = null)
Absence :: addTimeManagerEvent($entryId, $userId, $typeId)
Absence :: convertSecondsToMinutes($seconds)
Absence :: formatDuration($seconds)
Absence :: getIntersectWithCalendar($userId)
Absence :: getMinimumIdleForReport()
Absence :: getMonthReport($userId, $year, $month, $workdayHours = self::DEFAULT_WORKDAY_HOURS, $idleMinutes = null)
Absence :: getOptionReportEnableType()
Absence :: getOptionReportEnableUsers()
Absence :: getOptionReportListFullType()
Absence :: getOptionReportListFullUsers()
Absence :: getOptionReportListSimpleType()
Absence :: getOptionReportListSimpleUsers()
Absence :: getSubordinateDepartmentId($userId)
Absence :: getSubordinateDepartments($userId)
Absence :: getSubordinateUsers($departmentId, $userId)
Absence :: getUserData($userId)
Absence :: hasAccessToReport($userId)
Absence :: isActive()
Absence :: isAdmin()
Absence :: isHead()
Absence :: isRegisterDesktop()
Absence :: isRegisterIdle()
Absence :: isRegisterOffline()
Absence :: isReportEnable()
Absence :: isReportEnableForUser($userId, $idleMinutes = null)
Absence :: isReportListFullEnableForUser($userId)
Absence :: isReportListSimpleEnableForUser($userId)
Absence :: onImDesktopStart(\Bitrix\Main\Event $event)
Absence :: onImUserStatusSet(\Bitrix\Main\Event $event)
Absence :: onUserContinueWorkDay($params)
Absence :: onUserEndWorkDay($params)
Absence :: onUserPauseWorkDay($params)
Absence :: onUserSetLastActivityDate(\Bitrix\Main\Event $event)
Absence :: onUserStartWorkDay($params)
Absence :: searchOfflineDesktopUsersWithActiveDayAgent()
Absence :: searchOfflineUsersWithActiveDayAgent()
Absence :: setDesktopOnline($userId, $currentDate, $lastDate = null)
Absence :: setDesktopStart($userId)
Absence :: setOptionActive($result = true)
Absence :: setOptionMinimumIdleForReport($minutes = self::DEFAULT_IDLE_TIME)
Absence :: setOptionRegisterDesktop($result = true)
Absence :: setOptionRegisterIdle($result = true)
Absence :: setOptionRegisterOffline($result = true)
Absence :: setOptionReportListFull($result = true)
Absence :: setOptionReportListSimple($result = true)
Absence :: setOptionRequestReport($result = true)
Absence :: setStatusIdle($userId, $result = true, $idleStart = null)
Absence :: setStatusOnline($users, $ip = null)
AbsenceTable :: getDateStart()
AbsenceTable :: getMap()
AbsenceTable :: getTableName()
AbsenceTable :: getTimeStart()
AbsenceTable :: validateIp()
AbsenceTable :: validateSourceFinish()
AbsenceTable :: validateSourceStart()
AbsenceTable :: validateType()
Common :: checkOptionNetworkRange($ranges = Array())
Common :: getOptionNetworkRange()
Common :: isAdmin()
Common :: isNetworkRange($userIp = '')
Common :: setOptionNetworkRange($ranges = Array())
CReportNotifications :: AddCommentToIM($arFields)
CReportNotifications :: AddCommentToLog($arFields)
CReportNotifications :: AddComment_Report($arFields)
CReportNotifications :: AddComment_Report_Forum($arFields,$FORUM_ID,$arLog)
CReportNotifications :: AddEvent(&$arEvent)
CReportNotifications :: FormatComment_Report($arFields, $arParams, $bMail = false, $arLog = array())
CReportNotifications :: FormatEvent($arFields, $arParams, $bMail = false)
CReportNotifications :: GetByID($ID)
CReportNotifications :: GetForShow($arDesc)
CReportNotifications :: GetRights($USER_ID)
CReportNotifications :: MessageUpdate($REPORT_ID, $arReport = array(), $arFields = array())
CReportNotifications :: NotifyIm($arReport)
CReportNotifications :: OnAfterUserUpdate($arFields)
CReportNotifications :: OnFillSocNetAllowedSubscribeEntityTypes(&$arSocNetAllowedSubscribeEntityTypes)
CReportNotifications :: SendMessage($REPORT_ID, $bSendEvent = true)
CReportNotifications :: Subscribe($USER_ID)
CReportSettings :: clearCache($userId)
CReportSettings :: GetPeriodByID($ID,$ENTITY = "USER")
CReportSettings :: GetSectionSettings($section_id, $maketimestamp = false)
CReportSettings :: getSettingsCacheId($USER_ID)
CReportSettings :: GetUserSettings($USER_ID = false)
CReportSettings :: onUserUpdate($eventInfo)
CReportSettings :: _GetTreeSettings()
CTimeMan :: CanUse($bAdminAction = false)
CTimeMan :: ConvertShortTS($ts, $strDate = false)
CTimeMan :: FormatTime($ts, $bTS = false)
CTimeMan :: FormatTimeOut($ts)
CTimeMan :: GetAccess()
CTimeMan :: GetAccessSettings()
CTimeMan :: GetDirectAccess($USER_ID = false)
CTimeMan :: GetModuleSettings($arNeededSettings = false)
CTimeMan :: GetRuntimeInfo($bFull = false)
CTimeMan :: GetSectionPersonalSettings($section_id, $bHideParentLinks = false, $arNeededSettings = null)
CTimeMan :: GetSectionSettings($section_id, $arNeededSettings = null)
CTimeMan :: GetTaskTime($arParams)
CTimeMan :: GetTimeTS($datetime, $bTS = false)
CTimeMan :: GetUserManagers($USER_ID, $bCheckExistance = true)
CTimeMan :: IsAdmin()
CTimeMan :: MakeShortTS($time)
CTimeMan :: RemoveHoursTS($ts)
CTimeMan :: SetTaskTime($arParams)
CTimeMan :: _GetTreeSettings()
CTimeManAdminReport :: GetData()
CTimeManAdminReport :: _checkAccess()
CTimeManAdminReport :: _getDepartmentsData($arSections)
CTimeManAdminReport :: _getNavData()
CTimeManAdminReport :: _getUsersData(&$arUserIDs)
CTimeManAdminReport :: __construct($arParams)
CTimeManAdminReport :: __getFilter()
CTimeManAdminReport :: __getUserRow($arRes, $prefix, $arFilter)
CTimeManCalendar :: Add($arParams)
CTimeManCalendar :: Get($arParams)
CTimeManCalendar :: _Init()
CTimeManEntry :: Add($arFields)
CTimeManEntry :: Approve($ID, $check_rights = true)
CTimeManEntry :: CheckFields($action, &$arFields)
CTimeManEntry :: GetByID($ID)
CTimeManEntry :: GetFilterOperation($key)
CTimeManEntry :: GetLast($USER_ID = false)
CTimeManEntry :: GetList($arOrder = array(), $arFilter = array(), $arGroupBy = false, $arNavStartParams = false, $arSelectFields = array())
CTimeManEntry :: GetNeighbours($ENTRY_ID, $USER_ID, $bCheckActive = false)
CTimeManEntry :: PrepareSql(&$arFields, $arOrder, &$arFilter, $arGroupBy, $arSelectFields, $obUserFieldsSql = false)
CTimeManEntry :: Update($ID, $arFields)
CTimeManEntry :: _GetLastQuery($USER_ID)
CTimeManNotify :: AddComment($arFields)
CTimeManNotify :: AddCommentMessage($arFields, $FORUM_ID, $arLog)
CTimeManNotify :: AddCommentToIM($arFields)
CTimeManNotify :: AddCommentToLog($arFields)
CTimeManNotify :: FormatComment($arFields, $arParams, $bMail = false, $arLog = array())
CTimeManNotify :: FormatEvent($arFields, $arParams, $bMail = false)
CTimeManNotify :: GetByID($ID)
CTimeManNotify :: GetForShow($arDesc)
CTimeManNotify :: GetForum($arLog)
CTimeManNotify :: GetRights($USER_ID)
CTimeManNotify :: NotifyImApprove($arEntry)
CTimeManNotify :: NotifyImNew($arEntry)
CTimeManNotify :: OnAfterUserUpdate($arFields)
CTimeManNotify :: OnFillSocNetAllowedSubscribeEntityTypes(&$arSocNetEntityTypes)
CTimeManNotify :: OnFillSocNetLogEvents(&$arSocNetLogEvents)
CTimeManNotify :: SendMessage($ENTRY_ID, $SEND_TYPE = false)
CTimemanNotifySchema :: OnGetNotifySchema()
CTimemanNotifySchema :: __construct()
CTimeManReport :: Add($arFields)
CTimeManReport :: Approve($ENTRY_ID)
CTimeManReport :: CheckFields($action, &$arFields)
CTimeManReport :: GetByID($ID)
CTimeManReport :: GetList($arOrder = array(), $arFilter = array())
CTimeManReport :: Reopen($ENTRY_ID)
CTimeManReport :: Update($ID, $arFields)
CTimeManReportDaily :: Add($arFields)
CTimeManReportDaily :: CheckFields($action, &$arFields)
CTimeManReportDaily :: GetByID($ID)
CTimeManReportDaily :: GetFilterOperation($key)
CTimeManReportDaily :: GetList($arOrder = array(), $arFilter = array(), $arGroupBy = false, $arNavStartParams = false, $arSelectFields = array())
CTimeManReportDaily :: PrepareSql(&$arFields, $arOrder, &$arFilter, $arGroupBy, $arSelectFields, $obUserFieldsSql = false)
CTimeManReportDaily :: Reopen($ENTRY_ID)
CTimeManReportDaily :: SetActive($ENTRY_ID)
CTimeManReportDaily :: Update($ID, $arFields)
CTimeManReportFull :: Add($arFields)
CTimeManReportFull :: CheckFields($action, &$arFields)
CTimeManReportFull :: Delete($ID = false)
CTimeManReportFull :: GetByID($ID)
CTimeManReportFull :: GetList($arOrder = array(), $arFilter = array(),$arSelect = array(),$arNavStartParams = Array())
CTimeManReportFull :: PrepareSql(&$arFields, $arOrder, &$arFilter, $arSelectFields = false, $arNavStartParams = false)
CTimeManReportFull :: SetPeriodSection($arFields)
CTimeManReportFull :: Update($ID, $arFields)
CTimeManReportFull :: __getReportJSDraw($arFields)
CTimeManTableSchema :: OnGetTableSchema()
CTimeManTableSchema :: __construct()
CTimeManUser :: ClearCache()
CTimeManUser :: clearFullReportCache()
CTimeManUser :: CloseDay($timestamp = false, $report = '', $bFieldsOnly = false)
CTimeManUser :: EditDay($arParams)
CTimeManUser :: GetCurrentInfo($clear = false)
CTimeManUser :: getDayStartOffset($entry, $bTs = false)
CTimeManUser :: GetEvents($date)
CTimeManUser :: GetExpiredRecommendedDate()
CTimeManUser :: GetID()
CTimeManUser :: GetPersonalSettings($arNeededSettings = null)
CTimeManUser :: GetSettings($arNeededSettings = null)
CTimeManUser :: GetTasks($arIDs = array(), $bOpened = false, $USER_ID = null)
CTimeManUser :: instance()
CTimeManUser :: isDayExpired()
CTimeManUser :: isDayOpen()
CTimeManUser :: isDayOpenedToday()
CTimeManUser :: isDayPaused()
CTimeManUser :: isEntryValid($action, $timestamp)
CTimeManUser :: isSocservEnabledByUser()
CTimeManUser :: OpenAction($bSkipCheck = false)
CTimeManUser :: OpenDay($timestamp = false, $report = '')
CTimeManUser :: PauseDay()
CTimeManUser :: ReopenDay($bSkipCheck = false, $site_id = SITE_ID)
CTimeManUser :: SetReport($report, $report_ts, $entry_id = null)
CTimeManUser :: State()
CTimeManUser :: TaskActions($arActions, $site_id = SITE_ID)
CTimeManUser :: TaskStatus($id, $status)
CTimeManUser :: _cacheId()
CTimeManUser :: _GetLastData($clear = false)
CTimeManUser :: _GetPersonalSettings()
CTimeManUser :: _GetSettings()
CTimeManUser :: _ReopenGetActivity($entry_id)
CTimeManUser :: __construct($USER_ID = 0, $site_id = SITE_ID)
CTimeManUser :: __GetSettings($arNeededSettings, $bPersonal = false)
CUserReportFull :: CancelDelay()
CUserReportFull :: Delay($time = 3600)
CUserReportFull :: FixDateByHoliday($DATE_FROM = false, $DATE_TO = false)
CUserReportFull :: GetEntityID($XML_ID = false,$entity_id = false)
CUserReportFull :: getInfoCacheId($USER_ID)
CUserReportFull :: GetLastDate()
CUserReportFull :: GetReportData($force = false)
CUserReportFull :: GetReportInfo()
CUserReportFull :: GetSettings($maketimestamp = false)
CUserReportFull :: Recalc()
CUserReportFull :: SetLastDate($USER_ID=false,$LastDate=false)
CUserReportFull :: SetPeriod($arFields)
CUserReportFull :: _GetReportInfo()
CUserReportFull :: __construct($USER_ID = 0)
EntriesTable :: getMap()
EntriesTable :: getTableName()
EntriesTable :: validateIpClose()
EntriesTable :: validateIpOpen()
ITimeManCalendar :: Add($arParams)
ITimeManCalendar :: Get($arParams)
Rest :: checkDate(array $timeInfo, $compareDate)
Rest :: checkUser($userId)
Rest :: closeDay($query, $n, \CRestServer $server)
Rest :: convertTimeFromISO($isoTime)
Rest :: convertTimeToISO($ts, $date, $userOffset)
Rest :: correctTimeOffset($offsetTo, &$timeInfo)
Rest :: formatDateToISO($date, $userOffset)
Rest :: formatJsonAnswer($array)
Rest :: formatTime($ts)
Rest :: formatTimeToISO($ts, $offset)
Rest :: getPublicDomain()
Rest :: getSettings($query, $n, \CRestServer $server)
Rest :: getStatus($query, $n, \CRestServer $server)
Rest :: getUserInstance(array $query)
Rest :: isAdmin()
Rest :: networkRangeCheck($query, $n, \CRestServer $server)
Rest :: networkRangeGet($query, $n, \CRestServer $server)
Rest :: networkRangeSet($query, $n, \CRestServer $server)
Rest :: onRestServiceBuildDescription()
Rest :: openDay($query, $n, \CRestServer $server)
Rest :: pauseDay($query, $n, \CRestServer $server)
Rest :: prepareQuery(array $query)
Rest :: setCurrentTimezoneOffset($offset)
Rest :: setDayGeoPosition($entryId, $query, $action = 'open')
Rest :: timeControlReportAdd($query, $n, \CRestServer $server)
Rest :: timeControlReportsGet($query, $n, \CRestServer $server)
Rest :: timeControlReportsSettingsGet($query, $n, \CRestServer $server)
Rest :: timeControlReportsUsersGet($query, $n, \CRestServer $server)
Rest :: timeControlSettingsGet($query, $n, \CRestServer $server)
Rest :: timeControlSettingsSet($query, $n, \CRestServer $server)
timeman :: DoInstall()
timeman :: DoUninstall()
timeman :: GetModuleTasks()
timeman :: InstallDB()
timeman :: InstallEvents()
timeman :: InstallFiles()
timeman :: timeman()
timeman :: UnInstallDB($arParams = array())
timeman :: UnInstallEvents()
timeman :: UnInstallFiles()
_CTimeManCalendarNew :: Add($arParams)
_CTimeManCalendarNew :: Get($arParams)
_CTimeManCalendarOld :: Add($arParams)
_CTimeManCalendarOld :: Get($arParams)