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

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


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

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

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

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

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

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

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

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

СобытиеВызывается
OnBeforeTMReportAddCTimeManReport::Add
OnAfterTMReportAddCTimeManReport::Add
OnBeforeTMReportUpdateCTimeManReport::Update
OnAfterTMReportUpdateCTimeManReport::Update
OnBeforeFullReportUpdateCTimeManReportFull::Update
OnAfterFullReportUpdateCTimeManReportFull::Update
OnBeforeFullReportAddCTimeManReportFull::Add
OnAfterFullReportAddCTimeManReportFull::Add
OnBeforeTMEntryAddCTimeManEntry::Add
OnAfterTMEntryAddCTimeManEntry::Add
OnBeforeTMEntryUpdateCTimeManEntry::Update
OnAfterTMEntryUpdateCTimeManEntry::Update
OnBeforeTMReportDailyAddCTimeManReportDaily::Add
OnAfterTMReportDailyAddCTimeManReportDaily::Add
OnBeforeTMReportDailyUpdateCTimeManReportDaily::Update
OnAfterTMReportDailyUpdateCTimeManReportDaily::Update
OnAfterTMDayStartCTimeManUser::openDay
OnAfterTMDayEndCTimeManUser::closeDay
OnAfterTMDayContinueCTimeManUser::reopenDay
OnAfterTMDayPauseCTimeManUser::pauseDay
staticWorktimeEventsManager::sendModuleEventsOnAfterReportUpdate

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

КонстантаПроверяется
BX_COMP_MANAGED_CACHECTimeManNotify::FormatEvent
FORMAT_DATETimeHelper::getDateFormat
SITE_SERVER_NAMERest::getPublicDomain
TIMEMAN_VERSIONtimeman::timeman

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

Метод
CTimeManReport::CheckFields($action, &$arFields)
CTimeManReport::Add($arFields)
CTimeManReport::Update($ID, $arFields)
CTimeManReport::GetByID($ID)
CTimeManReport::GetList($arOrder = array(), $arFilter = array())
CTimeManReport::Reopen($ENTRY_ID)
CTimeManReport::Approve($ENTRY_ID)
CTimeManReportFull::GetByID($ID)
CTimeManReportFull::GetList($arOrder = array(), $arFilter = array(),$arSelect = array(),$arNavStartParams = Array())
CTimeManReportFull::Update($ID, $arFields)
CTimeManReportFull::PrepareSql(&$arFields, $arOrder, &$arFilter, $arSelectFields = false, $arNavStartParams = false)
CTimeManReportFull::CheckFields($action, &$arFields)
CTimeManReportFull::Add($arFields)
CTimeManReportFull::SetPeriodSection($arFields)
CTimeManReportFull::__getReportJSDraw($arFields)
CTimeManReportFull::Delete($ID = false)
CUserReportFull::__construct($USER_ID = 0)
CUserReportFull::GetSettings($maketimestamp = false)
CUserReportFull::SetLastDate($USER_ID=false,$LastDate=false)
CUserReportFull::SetPeriod($arFields)
CUserReportFull::Recalc()
CUserReportFull::GetLastDate()
CUserReportFull::FixDateByHoliday($DATE_FROM = false, $DATE_TO = false)
CUserReportFull::getInfoCacheId($USER_ID)
CUserReportFull::GetReportInfo()
CUserReportFull::_GetReportInfo()
CUserReportFull::GetReportData($force = false)
CUserReportFull::GetEntityID($XML_ID = false,$entity_id = false)
CUserReportFull::CancelDelay()
CUserReportFull::Delay($time = 3600)
CReportSettings::getSettingsCacheId($USER_ID)
CReportSettings::GetUserSettings($USER_ID = false)
CReportSettings::GetSectionSettings($section_id, $maketimestamp = false)
CReportSettings::_GetTreeSettings()
CReportSettings::GetPeriodByID($ID,$ENTITY = "USER")
CReportSettings::clearCache($userId)
CReportSettings::onUserUpdate($eventInfo)
CReportNotifications::SendMessage($REPORT_ID, $bSendEvent = true)
CReportNotifications::NotifyIm($arReport)
CReportNotifications::Subscribe($USER_ID)
CReportNotifications::MessageUpdate($REPORT_ID, $arReport = array(), $arFields = array())
CReportNotifications::GetRights($USER_ID)
CReportNotifications::GetByID($ID)
CReportNotifications::GetForShow($arDesc)
CReportNotifications::OnFillSocNetAllowedSubscribeEntityTypes(&$arSocNetAllowedSubscribeEntityTypes)
CReportNotifications::AddEvent(&$arEvent)
CReportNotifications::FormatEvent($arFields, $arParams, $bMail = false)
CReportNotifications::FormatComment_Report($arFields, $arParams, $bMail = false, $arLog = array())
CReportNotifications::AddCommentToLog($arFields)
CReportNotifications::AddCommentToIM($arFields)
CReportNotifications::AddComment_Report($arFields)
CReportNotifications::AddComment_Report_Forum($arFields,$FORUM_ID,$arLog)
CReportNotifications::OnAfterUserUpdate($arFields)
ConvertTimeStampForReport($timestamp, $format = "FULL")
CTimeManTableSchema::__construct()
CTimeManTableSchema::OnGetTableSchema()
CTimeManEntry::GetList($arOrder = array(), $arFilter = array(), $arGroupBy = false, $arNavStartParams = false, $arSelectFields = array())
CTimeManEntry::_GetLastQuery($USER_ID)
CTimeManEntry::GetByID($ID)
CTimeManEntry::GetLast($USER_ID = false)
CTimeManEntry::CheckFields($action, &$arFields)
CTimeManEntry::Add($arFields)
CTimeManEntry::Update($id, $arFields)
CTimeManEntry::GetFilterOperation($key)
CTimeManEntry::PrepareSql(&$arFields, $arOrder, &$arFilter, $arGroupBy, $arSelectFields, $obUserFieldsSql = false)
CTimeManEntry::Approve($ID, $check_rights = true)
CTimeManEntry::GetNeighbours($ENTRY_ID, $USER_ID, $bCheckActive = false)
CTimeManReportDaily::CheckFields($action, &$arFields)
CTimeManReportDaily::Add($arFields)
CTimeManReportDaily::Update($ID, $arFields)
CTimeManReportDaily::GetByID($ID)
CTimeManReportDaily::GetFilterOperation($key)
CTimeManReportDaily::PrepareSql(&$arFields, $arOrder, &$arFilter, $arGroupBy, $arSelectFields, $obUserFieldsSql = false)
CTimeManReportDaily::SetActive($ENTRY_ID)
CTimeManReportDaily::Reopen($ENTRY_ID)
CTimeManNotify::SendMessage($ENTRY_ID, $SEND_TYPE = false, $options = [])
CTimeManNotify::NotifyImNew($arEntry)
CTimeManNotify::NotifyImApprove($arEntry)
CTimeManNotify::OnFillSocNetAllowedSubscribeEntityTypes(&$arSocNetEntityTypes)
CTimeManNotify::OnFillSocNetLogEvents(&$arSocNetLogEvents)
CTimeManNotify::GetRights($USER_ID)
CTimeManNotify::GetByID($ID)
CTimeManNotify::GetForShow($arDesc)
CTimeManNotify::FormatEvent($arFields, $arParams, $bMail = false)
CTimeManNotify::FormatComment($arFields, $arParams, $bMail = false, $arLog = array())
CTimeManNotify::AddComment($arFields)
CTimeManNotify::AddCommentMessage($arFields, $FORUM_ID, $arLog)
CTimeManNotify::onAfterForumCommentAdd($entityType, $entityId, $arFields)
CTimeManNotify::AddCommentToLog($arFields)
CTimeManNotify::AddCommentToIM($arFields)
CTimeManNotify::GetForum($arLog = null)
CTimeManNotify::OnAfterUserUpdate($arFields)
CTimemanNotifySchema::__construct()
CTimemanNotifySchema::OnGetNotifySchema()
CTimeMan::CanUse($bAdminAction = false)
CTimeMan::IsAdmin()
CTimeMan::getRuntimeInfo($bFull = false)
CTimeMan::GetTaskTime($arParams)
CTimeMan::SetTaskTime($arParams)
CTimeMan::GetAccessSettings()
CTimeMan::GetAccess()
CTimeMan::GetDirectAccess($USER_ID = false)
CTimeMan::GetSectionPersonalSettings($section_id, $bHideParentLinks = false, $arNeededSettings = null)
CTimeMan::GetModuleSettings($arNeededSettings = false)
CTimeMan::GetSectionSettings($section_id, $arNeededSettings = null)
CTimeMan::_GetTreeSettings()
CTimeMan::RemoveHoursTS($ts)
CTimeMan::GetTimeTS($datetime, $bTS = false)
CTimeMan::FormatTime($ts, $bTS = false)
CTimeMan::FormatTimeOut($ts)
CTimeMan::MakeShortTS($time)
CTimeMan::ConvertShortTS($ts, $strDate = false)
CTimeMan::GetUserManagers($USER_ID, $bCheckExistance = true)
CTimeManCalendar::_Init()
CTimeManCalendar::Add($arParams)
CTimeManCalendar::Get($arParams)
_CTimeManCalendarNew::Add($arParams)
_CTimeManCalendarNew::Get($arParams)
_CTimeManCalendarOld::Add($arParams)
_CTimeManCalendarOld::Get($arParams)
CTimeManUser::instance()
CTimeManUser::__construct($USER_ID = 0, $site_id = SITE_ID)
CTimeManUser::GetID()
CTimeManUser::isEntryValid($action, $timestamp)
CTimeManUser::createWorktimeRecordForm($eventName = null)
CTimeManUser::buildEditForm($arParams)
CTimeManUser::editDay($arParams)
CTimeManUser::buildStartForm($timestamp, $report, $extraInformation)
CTimeManUser::openDay($timestamp = false, $report = '', $extraInformation = [])
CTimeManUser::buildStopForm($timestamp, $report, $extraInformation)
CTimeManUser::closeDay($timestamp = false, $report = '', $bFieldsOnly = false, $extraInformation = [])
CTimeManUser::buildReopenForm($extraInformation)
CTimeManUser::reopenDay($bSkipCheck = false, $site_id = SITE_ID, $extraInformation = [])
CTimeManUser::buildPauseForm($extraInformation)
CTimeManUser::pauseDay($extraInformation = [])
CTimeManUser::SetReport($report, $report_ts, $entry_id = null)
CTimeManUser::GetCurrentInfo($clear = false)
CTimeManUser::State()
CTimeManUser::GetExpiredRecommendedDate()
CTimeManUser::isDayOpen()
CTimeManUser::isDayPaused()
CTimeManUser::getDayStartOffset($entry, $bTs = false)
CTimeManUser::isDayOpenedToday()
CTimeManUser::isDayExpired()
CTimeManUser::OpenAction($bSkipCheck = false)
CTimeManUser::GetEvents($date)
CTimeManUser::GetTasks($arIDs = [], $bOpened = false, $USER_ID = null)
CTimeManUser::TaskStatus($id, $status)
CTimeManUser::TaskActions($arActions, $site_id = SITE_ID)
CTimeManUser::GetSettings($arNeededSettings = null)
CTimeManUser::GetPersonalSettings($arNeededSettings = null)
CTimeManUser::__GetSettings($arNeededSettings, $bPersonal = false)
CTimeManUser::_GetPersonalSettings()
CTimeManUser::_GetSettings()
CTimeManUser::ClearCache()
CTimeManUser::clearFullReportCache()
CTimeManUser::isSocservEnabledByUser()
CTimeManUser::_cacheId()
CTimeManUser::_GetLastData($clear = false)
CTimeManUser::_ReopenGetActivity($entry_id)
CTimeManAdminReport::__construct($arParams)
CTimeManAdminReport::GetData()
CTimeManAdminReport::_checkAccess()
CTimeManAdminReport::_getUsersData(&$arUserIDs)
CTimeManAdminReport::getDepartmentsData($departmentsIds)
CTimeManAdminReport::_getDepartmentsData($arSections)
CTimeManAdminReport::_getNavData()
CTimeManAdminReport::__getFilter()
CTimeManAdminReport::__getUserRow($arRes, $prefix, $arFilter)
CTimeManReportDaily::GetList($arOrder = array(), $arFilter = array(), $arGroupBy = false, $arNavStartParams = false, $arSelectFields = array())
UserHelper::__construct()
UserHelper::getInstance()
UserHelper::getCurrentUserId()
UserHelper::getFormattedName($userFields)
UserHelper::getPhotoPath($photoId = null, $width = 100, $height = 100)
UserHelper::getManagerIds($userId)
UserHelper::getProfilePath($id)
TimeHelper::getInstance()
TimeHelper::getServerUtcOffset()
TimeHelper::getTimeRegExp($ignoreAmPmMode = false)
TimeHelper::convertSecondsToHoursMinutes($seconds, $leadingHourZero = true)
TimeHelper::convertSecondsToHoursMinutesAmPm($seconds)
TimeHelper::convertHoursMinutesToSeconds($value)
TimeHelper::getUtcNowTimestamp()
TimeHelper::getUtcTimestampForUserTime($userId, $daySeconds, $date = null)
TimeHelper::convertSecondsToHoursMinutesLocal($seconds, $keepZeroHours = true)
TimeHelper::getMinutes($secs)
TimeHelper::getSeconds($secs)
TimeHelper::getHours($secs)
TimeHelper::convertUtcTimestampToDaySeconds($timestamp, $offset = 0)
TimeHelper::createDateTimeFromTimestamp($timestamp, $offset = 0)
TimeHelper::convertUtcTimestampToHoursMinutesAmPm($timestamp, $offset = 0)
TimeHelper::convertUtcTimestampToHoursMinutes($timestamp, $offset = 0)
TimeHelper::getSecondsFromDateTime($dateTime)
TimeHelper::getFormattedOffset($offsetSeconds, $leadingHourZero = true)
TimeHelper::getUserUtcOffset($userId)
TimeHelper::getUserToServerOffset($userId = null)
TimeHelper::setTimezoneOffsets($offsetsByUserId)
TimeHelper::getUserDateTimeNow($userId)
TimeHelper::getUserTimezone($userId)
TimeHelper::createUserDateTimeFromFormat($format, $dateString, $userId)
TimeHelper::createDateTimeFromFormat($format, $dateString, $offset = 0)
TimeHelper::buildDateTimeFromFormat($format, $formattedDate, $timezone)
TimeHelper::getCurrentServerDateFormatted()
TimeHelper::getTimestampByUserSecondsFromTimestamp($seconds, $initialTimestamp = null, $initialOffset = null)
TimeHelper::getTimestampByUserDate($formattedDate, $userId, $format = null)
TimeHelper::buildTimestampByFormattedDateForServer($formattedDate, $dateFormat = false)
TimeHelper::getTimestampByUserSeconds($userId, $seconds)
TimeHelper::getTimestampOfTime($dateTime, $seconds)
TimeHelper::setTimeFromSeconds($dateTime, $seconds)
TimeHelper::createTimezoneByOffset($offsetSeconds)
TimeHelper::getDayOfWeek(\DateTime $dateTime)
TimeHelper::getDateFormat()
TimeHelper::isAmPmMode()
TimeHelper::normalizeSeconds($seconds)
TimeHelper::getPreviousDayOfWeek(\DateTime $userDateTime)
TimeHelper::getNextDayOfWeek(\DateTime $userDateTime)
TimeHelper::getServerIsoDate()
TimeHelper::getDefaultServerTimezoneName()
TimeHelper::formatDateTime($dateTime, $format)
CalendarFormHelper::convertDatesToDbFormat($dates)
CalendarFormHelper::convertDatesToViewFormat($dates)
ScheduleFormHelper::__construct($scheduleRepository = null, $departmentRepository = null, $userHelper = null)
ScheduleFormHelper::getScheduleTypesValues()
ScheduleFormHelper::getScheduleTypes()
ScheduleFormHelper::getReportPeriods()
ScheduleFormHelper::getControlledActionValues()
ScheduleFormHelper::getControlledActionTypes()
ScheduleFormHelper::getReportPeriodWeekDaysValues()
ScheduleFormHelper::getReportPeriodWeekDays()
ScheduleFormHelper::getReportPeriodsValues()
ScheduleFormHelper::calculateSchedulesMapBySchedule($schedule, $checkNestedEntities = true)
ScheduleFormHelper::calculateSchedulesMapByCodes($codesToCheck, $checkNestedEntities = false)
ScheduleFormHelper::calculateScheduleAssignmentsMap($checkingSchedule, $checkNestedEntities = false)
ScheduleFormHelper::getSign($parentSign, $code, $signMap)
ScheduleFormHelper::fillScheduleSignMap($parentSign, $selfCode, &$signMap)
ScheduleFormHelper::buildSignMapBySchedule(Schedule $schedule)
ScheduleFormHelper::buildSign($parentSign)
ScheduleFormHelper::fillExtraInfoToSchedulesMap($resultSchedulesMap)
ScheduleFormHelper::prepareResult($resultSchedulesMap, $schedulesForAllUsers = [])
ScheduleFormHelper::prepareEntitiesCodes($entitiesCodes)
ScheduleFormHelper::getDepartmentRepository()
ScheduleFormHelper::findUserNames($userIdsForName)
ScheduleFormHelper::getDepartmentName($departmentId)
ScheduleFormHelper::getFormattedType($type)
ScheduleFormHelper::getFormattedPeriod($period)
ScheduleFormHelper::extendWithParentDepartmentCodes(array $entitiesCodes)
ScheduleFormHelper::extendWithNestedEntitiesCodes(array $entitiesCodes)
ScheduleFormHelper::findSchedulesByAssignmentsCodes(array $codesToCheck, $showingSchedule)
RecordFormHelper::__construct()
RecordFormHelper::buildTimeDifferenceHint(User $mainUser, $oppositeUser, $format, $firstDateTime, $secondDateTime = null)
RecordFormHelper::formatDateTime($dateTime, $format, $offset)
RecordFormHelper::buildUtcOffsetText($dateTime, User $user)
RecordFormHelper::getViolationCode($violations, $notices, $record)
RecordFormHelper::getCssClassForViolations($violations, $notices, $record)
EntityCodesHelper::extractUserIdsFromEntityCodes($entityCodesParams)
EntityCodesHelper::extractDepartmentIdsFromEntityCodes($entityCodesParams)
EntityCodesHelper::buildDepartmentCode($departmentId)
EntityCodesHelper::buildDepartmentCodes($departmentsIds)
EntityCodesHelper::buildUserCodes($userIds)
EntityCodesHelper::buildUserCode($userId)
EntityCodesHelper::isUser($entityCode)
EntityCodesHelper::isDepartment($entityCode)
EntityCodesHelper::getUserId($entityCode)
EntityCodesHelper::getDepartmentId($entityCode)
EntityCodesHelper::getAllUsersCode()
EntityCodesHelper::isAllUsers($entityCode)
ConfigurationHelper::getInstance()
ConfigurationHelper::getIblockStructureId()
ConfigurationHelper::getIsAllowedToEditDay()
ConfigurationHelper::getIsAllowedToReopenDay()
BaseComponent::__construct($component = null)
BaseComponent::getRequest()
BaseComponent::getApplication()
BaseComponent::configureActions()
BaseComponent::initFromParams($paramName, $defaultValue = null, $type = null)
BaseComponent::getFromParamsOrRequest($arParams, $name, $type)
UserOperationChecker::__construct($user)
UserOperationChecker::canDoOperation($operationName, $options = [])
UserOperationChecker::hasAccessToOperation($operationName)
UserOperationChecker::getUserAccessCodes()
UserOperationChecker::isUserAdmin()
UserOperationChecker::canDoAnyOperation()
UserPermissionsManager::__construct(IUserOperationChecker $userOperationChecker, $userId)
UserPermissionsManager::getOperationsNames()
UserPermissionsManager::getInstanceByUser($user)
UserPermissionsManager::canReadSchedule($scheduleId)
UserPermissionsManager::canReadShiftPlan($scheduleId)
UserPermissionsManager::canUpdateShiftPlan($scheduleId)
UserPermissionsManager::canUpdateShiftPlans()
UserPermissionsManager::canManageWorktime()
UserPermissionsManager::canManageWorktimeAll()
UserPermissionsManager::canUpdateWorktimeAll()
UserPermissionsManager::canUpdateWorktime($recordOwnerUserId)
UserPermissionsManager::canApproveWorktime($recordOwnerUserId)
UserPermissionsManager::canCreateSchedule()
UserPermissionsManager::canUpdateSchedule($scheduleId)
UserPermissionsManager::canUpdateSchedules()
UserPermissionsManager::canDeleteSchedules()
UserPermissionsManager::canDeleteSchedule($scheduleId)
UserPermissionsManager::canReadSchedules()
UserPermissionsManager::canReadWorktimeAll()
UserPermissionsManager::canReadWorktime($recordOwnerUserId)
UserPermissionsManager::canReadWorktimeSubordinate()
UserPermissionsManager::canUpdateWorktimeSubordinate()
UserPermissionsManager::canUpdateSettings()
UserPermissionsManager::canCreateViolationRules($entityCode)
UserPermissionsManager::canUpdateViolationRules($entityCode)
UserPermissionsManager::getEntityTitle($entity)
UserPermissionsManager::getActionTitles()
UserPermissionsManager::getActionTitle($action)
UserPermissionsManager::getMap()
UserPermissionsManager::getAccessUserIds()
UserPermissionsManager::getUserIdsAccessibleToWrite()
UserPermissionsManager::getUserCodesAccessibleToRead()
UserPermissionsManager::getUserIdsAccessibleToRead()
UserPermissionsManager::filterUserIdsOnly($values)
TimemanUrlManager::getRoutes()
TimemanUrlManager::getInstance()
TimemanUrlManager::getUriTo($routeName, $params = [])
TimemanUrlManager::getUriByName($routeName)
TimemanUrlManager::getRouteByName($routeName)
TimemanUrlManager::isRouteExists($routeName)
TimemanUrlManager::hasAllRequiredParams($routeName, array $params)
TimemanUrlManager::replaceUriParams($routeName, $params)
TimemanVersion19Converter::execute(array &$option)
TimemanVersion19Converter::createTemporaryTables()
TimemanVersion19Converter::isRecordsUserOffsetMigrationDone()
TimemanVersion19Converter::isRecordsTimestampMigrationDone()
TimemanVersion19Converter::logMessage($text, $line)
TimemanVersion19Converter::migrateRecordsOffsetData()
TimemanVersion19Converter::migrateTimestampRecordsData()
TimemanVersion19Converter::updateRecords(array $records)
TimemanVersion19Converter::issetPersonalSetting($value)
TimemanVersion19Converter::excludeEntityFromScheduleForms($code, $scheduleForms)
TimemanVersion19Converter::processDepartmentScheduleMigration($departmentInfo, $parentParams, $parentDepartmentIds)
TimemanVersion19Converter::processUserScheduleMigration($userId, $filledSettings, $parentDepartmentIds = [])
TimemanVersion19Converter::buildViolationForm($params, $entityCode)
TimemanVersion19Converter::getScheduleForm($params, $key = null)
TimemanVersion19Converter::createOrRestoreSchedulesData($baseDepartmentId)
TimemanVersion19Converter::restoreViolationsData()
TimemanVersion19Converter::saveTempDataForRestore()
TimemanVersion19Converter::saveTempViolations($connection)
TimemanVersion19Converter::migrateSchedulesSettings()
TimemanVersion19Converter::saveUserToScheduleMap($data, $type)
TimemanVersion19Converter::createScheduleSettingsKey($settings)
TimemanVersion19Converter::buildDepartmentsTree()
TimemanVersion19Converter::getChildrenData($departmentId, &$allDepartments)
TimemanVersion19Converter::getDefaultTimemanSettings()
TimemanVersion19Converter::getTimemanSettingsNames()
TimemanVersion19Converter::createViolationForm($maxExactStart, $minExactEnd, $minDayDuration, $maxAllowedToEditWorkTime)
TimemanVersion19Converter::createScheduleForm($key = null)
TimemanVersion19Converter::fillDefaultSettingsParams($selfSettings, $parentParams)
TimemanVersion19Converter::isMaxExecutionSecondsExceeded()
TimemanVersion19Converter::deleteOldSchedules()
TimemanVersion19Converter::isTimemanTurnedOff($selfSettings)
TimemanVersion19Converter::isDepartmentInsideSchedule($departmentId, $scheduleForm)
TimemanVersion19Converter::isDepartmentExcludedFromSchedule($departmentId, $scheduleForm)
TimemanVersion19Converter::isUserInsideSchedule($entityCode, $parentSchedule)
TimemanVersion19Converter::hasPersonalViolationRules($selfSettings)
TimemanVersion19Converter::assignEntityToSchedule($entityCode, $selfSettings, array $parentDepartmentIds)
TimemanVersion18User::instance()
TimemanVersion18User::__construct($USER_ID = 0, $site_id = SITE_ID)
TimemanVersion18User::GetID()
TimemanVersion18User::GetSettings($arNeededSettings = null)
TimemanVersion18User::GetPersonalSettings($arNeededSettings = null)
TimemanVersion18User::__GetSettings($arNeededSettings, $bPersonal = false)
TimemanVersion18User::_GetPersonalSettings()
TimemanVersion18User::_GetSettings()
TimemanVersion18User::GetSectionPersonalSettings($section_id, $bHideParentLinks = false, $arNeededSettings = null)
TimemanVersion18User::GetModuleSettings($arNeededSettings = false)
TimemanVersion18User::GetSectionSettings($section_id, $arNeededSettings = null)
TimemanVersion18User::_GetTreeSettings()
TimemanVersion18User::MakeShortTS($time)
TimemanVersion18User::GetUserManagers($USER_ID, $bCheckExistance = true)
DepartmentRepository::findDepartmentsChain($depId)
DepartmentRepository::getDirectParentIdsByUserId($userId)
DepartmentRepository::getSubDepartmentsIds($depId)
DepartmentRepository::getAllChildDepartmentsIds($depId)
DepartmentRepository::getDirectParentIdsByDepartmentId($departmentId)
DepartmentRepository::getDepartmentTreeFlat()
DepartmentRepository::getAllParentDepartmentsIds($depId)
DepartmentRepository::getAllUserDepartmentIds($userId)
DepartmentRepository::getDepartmentManagerId($depId)
DepartmentRepository::getUsersOfDepartment($depId)
DepartmentRepository::getBaseDepartmentId()
DepartmentRepository::buildUserDepartmentsPriorityTree($userId)
DepartmentRepository::buildDepartmentsPriorityTree($depId)
DepartmentRepository::getDepartmentsTree()
DepartmentRepository::getAllData()
AbsenceRepository::findAbsences($dateStart, $dateFinish, $users = false)
CalendarRepository::findById($vioId)
CalendarRepository::save($calendar)
CalendarRepository::findByIdWithExclusions($id)
CalendarRepository::findByCodesWithExclusions($systemCodes)
CalendarRepository::deleteCalendarExclusions($calendarId, $year = null)
CalendarRepository::delete($id)
CalendarRepository::findByIdWithParentCalendarExclusions($calendarId, $year = null)
ViolationRulesRepository::__construct(ScheduleRepository $scheduleRepository, DepartmentRepository $departmentRepository)
ViolationRulesRepository::save(ViolationRules $rules)
ViolationRulesRepository::findFirstByScheduleIdAndEntityCode($scheduleId, $entityCode)
ViolationRulesRepository::findByScheduleIdEntityCode($scheduleId, $entityCode)
ViolationRulesRepository::findScheduleById($scheduleId)
ViolationRulesRepository::findAllByScheduleId($scheduleId, $fieldsToSelect, $filter = null)
ViolationRulesRepository::saveAll($violationRulesList, $fieldsData)
ShiftPlanRepository::save($shiftPlan)
ShiftPlanRepository::findActiveByComplexId($shiftId, $userId, $dateAssigned)
ShiftPlanRepository::findByComplexId($shiftId, $userId, $dateAssigned)
ShiftPlanRepository::getActivePlansQuery()
ShiftPlanRepository::findActiveByRecord($record)
ShiftPlanRepository::findActiveById($id, $select = [], $filter = null)
ShiftPlanRepository::buildAllActiveQuery($select, $filter)
ShiftPlanRepository::findAllActive($select = [], $filter = null)
ShiftPlanRepository::updateAll($idList, $params)
ShiftPlanRepository::findUserIdsByShiftIds($shiftIds)
ShiftRepository::findById($id)
ShiftRepository::save(Shift $shift)
ShiftRepository::findByIdWithSchedule($shiftId)
ShiftRepository::findByIdAndScheduleId($shiftId, $scheduleId)
ShiftRepository::findScheduleById($scheduleId)
ShiftRepository::delete($id)
ShiftRepository::deleteShiftPlans($shiftIds, $userIds = [])
ShiftRepository::markShiftDeleted($shiftId)
ShiftRepository::getActiveShiftsQuery()
ShiftRepository::findScheduleIdByShiftId($shiftId)
ShiftRepository::findShiftsBySchedule($scheduleId)
ScheduleRepository::__construct(DepartmentRepository $departmentRepository)
ScheduleRepository::findById($id)
ScheduleRepository::queryEmployees()
ScheduleRepository::findByIdWithShifts($id)
ScheduleRepository::findByIdWith($id, $withEntities = [])
ScheduleRepository::save(Schedule $schedule)
ScheduleRepository::findAll()
ScheduleRepository::updateBatchAssignments($assignIds, $scheduleId, $excluded, $assignClassName, $assignName)
ScheduleRepository::updateBatchUsers($scheduleId, $userIds, $excluded)
ScheduleRepository::updateBatchDepartments($scheduleId, $departmentIds, $excluded)
ScheduleRepository::addBatchUsers($users)
ScheduleRepository::addBatchDepartments($departments)
ScheduleRepository::deleteUsersAssignments($scheduleOrId, $userIds = [])
ScheduleRepository::deleteDepartmentsAssignments($scheduleOrId, $departmentIds = [])
ScheduleRepository::deleteAssignments($ids, $scheduleOrId, $tableName, $assignIdName)
ScheduleRepository::convertEachToInt($ids)
ScheduleRepository::findActiveByShiftId($shiftId, $select)
ScheduleRepository::buildDepartmentsIds($departments)
ScheduleRepository::getUsersBaseQuery($idsOnly = false)
ScheduleRepository::addUserEmployeeCondition($query)
ScheduleRepository::findAllNestedDepartmentsIds($departmentsIds)
ScheduleRepository::querySchedulesForAllUsers()
ScheduleRepository::isScheduleForAllUsers($scheduleId)
ScheduleRepository::findSchedulesByUserId($userId, $options = [])
ScheduleRepository::findSchedulesByEntityCodes($entityCodesParams, $options = [])
ScheduleRepository::findDepartment($scheduleId, $depId)
ScheduleRepository::addDepartment($scheduleId, $depId, $excluded = null)
ScheduleRepository::excludeDepartment($scheduleId, $depId)
ScheduleRepository::findUserAssignmentsByIds($userIds, $exceptScheduleId = null)
ScheduleRepository::findDepartmentAssignmentsByIds($departmentIds, $exceptScheduleId = null)
ScheduleRepository::findSchedulesForAllUsers($exceptScheduleId = null)
ScheduleRepository::getActiveSchedulesQuery()
ScheduleRepository::findFirstScheduleIdForAllUsers()
ScheduleRepository::updateIsForAllUsers(Schedule $schedule)
ScheduleRepository::findSchedulesByIdsForEntity($userScheduleIds, $fieldsToSelect = [])
ScheduleRepository::getDepartmentRepository()
ScheduleRepository::findAllBy($selectFields, $filter, $limit = null)
WorktimeReportRepository::findRecordReport($id)
WorktimeRepository::save($entity)
WorktimeRepository::findRecordOwnerUserId($recordId)
WorktimeRepository::findById($recordId)
WorktimeRepository::findByUserShiftSchedule($userId, $shiftId, $scheduleId, $select, $filter = null)
WorktimeRepository::findByIdWith($recordId, $withEntities = [])
WorktimeRepository::findLatestRecord($userId)
WorktimeRepository::findIntersectingRecordByDates($userId, $startTimestamp, $stopTimestamp, $id = 0)
WorktimeRepository::findAllForPeriod(\DateTime $fromDateTime, \DateTime $toDateTime, Schedule $schedule, $userIds)
WorktimeRepository::findAll($selectFields, ConditionTree $whereConditions)
WorktimeRepository::saveAll($records, $fieldsData)
WorktimeRepository::buildOpenRecordsQuery(Schedule $schedule, ShiftCollection $shiftCollection)
Common::checkOptionNetworkRange($ranges = Array())
Common::setOptionNetworkRange($ranges = Array())
Common::getOptionNetworkRange()
Common::isNetworkRange($userIp = '')
Common::isAdmin()
ScheduleProvider::findSchedulesByUserId($userId, $options = [])
ScheduleProvider::buildCachedKeyForScheduleByUser($userId, $options)
ScheduleProvider::getKeyForDataWithEnoughFields($userId, $options)
ScheduleProvider::getScheduleWithShifts($scheduleId)
ScheduleProvider::buildUserToDepartmentsMapByAssignments($userAssignments, $departmentAssignments)
ScheduleProvider::getUsersCount($schedule)
ScheduleProvider::findActiveScheduleUserIds($schedule)
ScheduleProvider::findActiveUsers(Schedule $schedule)
Rest::onRestServiceBuildDescription()
Rest::getSettings($query, $n, \CRestServer $server)
Rest::getStatus($query, $n, \CRestServer $server)
Rest::pauseDay($query, $n, \CRestServer $server)
Rest::openDay($query, $n, \CRestServer $server)
Rest::closeDay($query, $n, \CRestServer $server)
Rest::networkRangeGet($query, $n, \CRestServer $server)
Rest::networkRangeSet($query, $n, \CRestServer $server)
Rest::networkRangeCheck($query, $n, \CRestServer $server)
Rest::timeControlReportAdd($query, $n, \CRestServer $server)
Rest::timeControlSettingsGet($query, $n, \CRestServer $server)
Rest::timeControlSettingsSet($query, $n, \CRestServer $server)
Rest::timeControlReportsSettingsGet($query, $n, \CRestServer $server)
Rest::timeControlReportsUsersGet($query, $n, \CRestServer $server)
Rest::timeControlReportsGet($query, $n, \CRestServer $server)
Rest::prepareQuery(array $query)
Rest::getPublicDomain()
Rest::formatJsonAnswer($array)
Rest::getUserInstance(array $query)
Rest::checkUser($userId)
Rest::correctTimeOffset($offsetTo, &$timeInfo)
Rest::convertTimeToISO($ts, $date, $userOffset)
Rest::formatDateToISO($date, $userOffset)
Rest::formatTimeToISO($ts, $offset)
Rest::formatTime($ts)
Rest::convertTimeFromISO($isoTime)
Rest::setCurrentTimezoneOffset($offset)
Rest::setDayGeoPosition($entryId, $query, $action = 'open')
Rest::checkDate(array $timeInfo, $compareDate)
Rest::isAdmin()
TaskAccessCodeTable::getObjectClass()
TaskAccessCodeTable::getTableName()
TaskAccessCodeTable::getMap()
UserTable::getObjectClass()
UserTable::getCollectionClass()
UserTable::getMap()
User::obtainIsHeadOfDepartment()
User::defineIsHeadOfDepartment($value)
User::defineTimezoneName($timezoneName)
User::obtainTimeZone()
User::defineUtcOffset($offset)
User::buildFormattedName()
User::obtainUtcOffset()
EntriesTable::getTableName()
EntriesTable::getMap()
EntriesTable::validateIpOpen()
EntriesTable::validateIpClose()
ViolationRulesTable::getObjectClass()
ViolationRulesTable::getCollectionClass()
ViolationRulesTable::getTableName()
ViolationRulesTable::getMap()
ViolationRules::create($scheduleId, $violationForm = null, $entityCode = null)
ViolationRules::isViolationConfigured($value)
ViolationRules::isValueConfigured($value)
ViolationRules::edit(ViolationForm $violationForm)
ViolationRules::getNotifyUsersSymbolic($type)
ViolationRules::getNotifyUserIds($groupName, $fromUserId = null)
ViolationRules::needToNotifyManager($groupName)
ViolationRules::setUsersToNotifyByForm(ViolationForm $violationForm)
ViolationRules::addToNotificationUserIds($ids)
ViolationRules::isPeriodWorkTimeLackControlEnabled()
ViolationRules::isMissedShiftsControlEnabled()
ViolationRules::isForAllUsers()
Schedule::create(ScheduleForm $scheduleForm, $calendarId)
Schedule::isControlledActionsStartOnly()
Schedule::edit(ScheduleForm $scheduleForm)
Schedule::isDeviceAllowed($device, $schedule)
Schedule::getFixedScheduleTypeName()
Schedule::getFlextimeScheduleTypeName()
Schedule::getShiftedScheduleTypeName()
Schedule::getReportPeriodStartWeekDay()
Schedule::isScheduleTypeShifted($type)
Schedule::isScheduleTypeFlextime($type)
Schedule::isScheduleTypeFixed($type)
Schedule::isControlledActionsConfigured($schedule)
Schedule::isValueConfigured($value)
Schedule::defineUsersCount($usersCount)
Schedule::obtainUsersCount()
Schedule::defineAllowedDevices($allowedDevices)
Schedule::isShifted()
Schedule::isScheduleShifted($schedule)
Schedule::isFlexible()
Schedule::isFixed()
Schedule::isScheduleFlexible($schedule)
Schedule::isScheduleFixed($schedule)
Schedule::isAutoStarting()
Schedule::isAutoStartingEnabledForSchedule($schedule)
Schedule::isAutoClosingEnabledForSchedule($schedule)
Schedule::isAutoClosing()
Schedule::markDeleted()
Schedule::isAllowedToReopenRecord()
Schedule::isAllowedToEditRecord()
Schedule::getScheduleRestriction($schedule, $configName)
Schedule::defineActiveUsers($users)
Schedule::obtainActiveUsers()
Schedule::obtainActiveUserIds()
Schedule::containsActiveUser($userId)
Schedule::defineExcludedUsers($users)
Schedule::obtainFromAssignments($userId)
Schedule::obtainUserAssignments()
Schedule::obtainDepartmentAssignments()
Schedule::obtainShiftByPrimary($shiftId)
Schedule::obtainShifts()
Schedule::obtainScheduleViolationRules()
Schedule::setFlexibleScheduleSettings()
Schedule::obtainActiveShifts()
Schedule::getAllShiftsByTime($userDateTime)
Schedule::getShiftByTime($userDateTime)
Schedule::getNextShift($prevShift, $userNowDateTime = null)
Schedule::collectRawValues()
Schedule::getShiftByWeekDay($weekDay)
Schedule::defineWorktimeRestrictions($restrictionsForm)
Schedule::obtainUserAssignmentsById($userId)
Schedule::obtainAssignmentByCode($entityCode)
Schedule::obtainDepartmentAssignmentById($departmentId)
Schedule::obtainWorktimeRestrictions($name)
Schedule::getAllowedMaxShiftStartOffset()
Schedule::assignEntity($code, $excluded = false)
Schedule::getRelevantShiftByStart($userDateTime)
ScheduleCollection::getFirst()
ScheduleCollection::hasShifted()
ShiftTable::getObjectClass()
ShiftTable::getCollectionClass()
ShiftTable::getTableName()
ShiftTable::getWorkdaysOptions()
ShiftTable::getMap()
ShiftCollection::buildShiftCollection($shiftsParam)
Shift::create($scheduleId, $name, $start, $end, $breakDuration = null, $workDays = null)
Shift::isDateInShiftWorkDays($dateTime, $shift)
Shift::edit($name, $startTime, $endTime, $breakDuration, $workdays)
Shift::getShiftDuration($shift)
Shift::getDuration()
Shift::getStartHours()
Shift::getEndHours()
Shift::getHours($secs)
Shift::getStartMinutes()
Shift::getEndMinutes()
Shift::getMinutes($secs)
Shift::getStartSeconds()
Shift::getEndSeconds()
Shift::getSeconds($secs)
Shift::getTimeHelper()
Shift::obtainSchedule()
Shift::isForTime($seconds, $offset = 0)
Shift::isForWeekDay($weekDay)
Shift::isEligibleToStartByTime($userDateTime, $schedule = null)
Shift::buildStartDateTimeByArrivalDateTime($userDateTime, $schedule)
Shift::buildStartsEndsAroundDate($userDateTime)
Shift::buildUtcEndByShiftplan($shiftPlan)
Shift::buildUtcStartByShiftplan($shiftPlan)
Shift::buildUtcDateTimeBySecondsUserDate($seconds, $userId, $userUtcDate)
Shift::normalizeSeconds($seconds)
Shift::isDeleted()
Shift::isActive()
ShiftPlan::create(ShiftPlanForm $shiftPlanForm)
ShiftPlan::markDeleted()
ShiftPlan::restore()
ShiftPlan::isActive()
ShiftPlan::isDeleted()
ShiftPlan::getDateAssignedUtcFormatted()
ShiftPlan::getDateAssignedTimestamp()
ShiftPlan::getDateAssignedUtc()
ShiftPlan::obtainShift()
ShiftPlan::buildShiftStartDateTimeUtc($shift = null)
ShiftPlanTable::getDateRegExp()
ShiftPlanTable::getObjectClass()
ShiftPlanTable::getCollectionClass()
ShiftPlanTable::getTableName()
ShiftPlanTable::getMap()
ScheduleDepartmentTable::getObjectClass()
ScheduleDepartmentTable::getTableName()
ScheduleDepartmentTable::getMap()
ScheduleDepartment::create($scheduleId, $departmentId, $excluded = false)
ScheduleDepartment::isDepartmentExcluded($departmentAssignment)
ScheduleDepartment::isDepartmentIncluded($departmentAssignment)
ScheduleDepartment::isExcluded()
ScheduleDepartment::setIsExcluded()
ScheduleDepartment::setIsIncluded()
ScheduleDepartment::isIncluded()
ScheduleDepartment::getEntityCode()
ScheduleUserTable::getObjectClass()
ScheduleUserTable::getTableName()
ScheduleUserTable::getMap()
ScheduleUser::create($scheduleId, $userId, $excluded = false)
ScheduleUser::isUserIncluded($assignment)
ScheduleUser::isUserExcluded($assignment)
ScheduleUser::setIsIncluded()
ScheduleUser::setIsExcluded()
ScheduleUser::isExcluded()
ScheduleUser::isIncluded()
ScheduleUser::getEntityCode()
CalendarTable::getObjectClass()
CalendarTable::getTableName()
CalendarTable::getMap()
CalendarTable::getSystemCalendarCodes()
CalendarTable::getAllSystemCodes()
Calendar::create($name, $parentCalendarId = 0, $systemCode = null)
Calendar::edit($name, $parentCalendarId = 0, $systemCode = null)
Calendar::obtainExclusionsByYear($year)
Calendar::obtainFinalExclusions()
Calendar::obtainParentCalendar()
Calendar::obtainExclusions()
CalendarExclusion::create($calendarId, $year, $dates)
CalendarExclusionTable::getObjectClass()
CalendarExclusionTable::getTableName()
CalendarExclusionTable::getMap()
ScheduleTable::getWorktimeRestrictionsKeys()
ScheduleTable::getObjectClass()
ScheduleTable::getCollectionClass()
ScheduleTable::onBeforeUpdate(Event $event)
ScheduleTable::getControlledActionTypes()
ScheduleTable::getTableName()
ScheduleTable::getMap()
AbsenceTable::getTableName()
AbsenceTable::getMap()
AbsenceTable::validateType()
AbsenceTable::validateIp()
AbsenceTable::validateSourceStart()
AbsenceTable::validateSourceFinish()
AbsenceTable::getDateStart()
AbsenceTable::getTimeStart()
WorktimeRecordTable::getObjectClass()
WorktimeRecordTable::getTableName()
WorktimeRecordTable::getCollectionClass()
WorktimeRecordTable::getMap()
WorktimeRecordTable::setWriteCompatibleFields($value)
WorktimeRecordTable::convertFieldsCompatible($fields)
WorktimeRecordTable::onBeforeAdd(Event $event)
WorktimeRecordTable::onAfterAdd(Event $event)
WorktimeRecordTable::onBeforeUpdate(Event $event)
WorktimeRecordTable::onAfterUpdate(Event $event)
WorktimeRecordTable::issetKey($key, $data)
WorktimeRecordTable::fillFieldsForCompatibility($data)
WorktimeRecordTable::getStatusRange()
WorktimeRecord::startWork($recordForm, $recordStartUtcTimestamp = null, $userId = null)
WorktimeRecord::stopWork($workRecordForm, $recordStopUtcTimestamp)
WorktimeRecord::pauseWork($recordForm)
WorktimeRecord::continueWork()
WorktimeRecord::updateByForm($workRecordForm)
WorktimeRecord::editStartByForm($recordedStartTimestamp = null)
WorktimeRecord::buildStopTimestampForAutoClose($schedule, $shift)
WorktimeRecord::buildStopTimestampBySecondsAndDate($stopSeconds, $stopFormattedDate, $userIdTimezone)
WorktimeRecord::isTimeNeedToBeSaved($formTimestamp, $recordTimestamp)
WorktimeRecord::editStopByForm($workRecordForm, $recordedStopTimestamp = null)
WorktimeRecord::updateDuration($endTimestamp = null)
WorktimeRecord::getTimeHelper()
WorktimeRecord::isActive()
WorktimeRecord::isOpened()
WorktimeRecord::isRecordClosed($record)
WorktimeRecord::isRecordPaused($record)
WorktimeRecord::isRecordOpened($record)
WorktimeRecord::isClosed()
WorktimeRecord::isPaused()
WorktimeRecord::isApproved()
WorktimeRecord::obtainEventByType()
WorktimeRecord::defineWorktimeEvents($worktimeEvents)
WorktimeRecord::obtainWorktimeEvents()
WorktimeRecord::calculateDurationSince($endTimestamp)
WorktimeRecord::approve($approved = true)
WorktimeRecord::isEligibleToEdit($schedule, $shift)
WorktimeRecord::getDayOfWeek()
WorktimeRecord::isEligibleToReopen($schedule, $shift)
WorktimeRecord::halfIntervalTillNextShiftPassed($schedule, $shift)
WorktimeRecord::isEligibleToStartNext($schedule, $shift)
WorktimeRecord::buildStartPlusTwoDays()
WorktimeRecord::getNextShiftStart($schedule)
WorktimeRecord::isNextShiftStarted($schedule, $shift = null)
WorktimeRecord::getRecommendedStopTimestamp($schedule, $shift)
WorktimeRecord::getRecommendedWorktimeStopTimestamp($record, $schedule, $shift)
WorktimeRecord::wakeUpRecord($record)
WorktimeRecord::isRecordExpired($record, $schedule, $shift)
WorktimeRecord::isExpired($schedule, $shift)
WorktimeRecord::defineReports($reports)
WorktimeRecord::obtainReports()
WorktimeRecord::obtainShift()
WorktimeRecord::obtainSchedule()
WorktimeRecord::buildRecordedStopDateTime()
WorktimeRecord::buildRecordedStartDateTime()
WorktimeRecord::defineStartTime($recordedStartTimestamp)
WorktimeRecord::calculateCurrentDuration()
WorktimeRecord::calculateCurrentBreakLength()
WorktimeRecord::isRecordedBreakLengthChanged()
WorktimeRecord::getRecordedBreakLength()
WorktimeRecord::setRecordedBreakLength($length)
WorktimeRecord::defineSchedule(Schedule $schedule)
WorktimeRecord::defineShift(Shift $shift)
WorktimeRecord::increaseBreaks($newBreak)
WorktimeRecord::obtainUser()
WorktimeReport::createErrorOpenReport($userId)
WorktimeReport::createOpenReport($userId, $report = '')
WorktimeReport::createErrorCloseReport($userId)
WorktimeReport::createCloseReport($userId, $report = '')
WorktimeReport::createErrorDurationReport($userId)
WorktimeReport::createDurationReport($userId, $report = '')
WorktimeReport::createReopenReport($userId, $entryId = null)
WorktimeReport::setRecordId($recordId)
WorktimeReportTable::getObjectClass()
WorktimeReportTable::getTableName()
WorktimeReportTable::onBeforeUpdate(Event $event)
WorktimeReportTable::onAfterUpdate(Event $event)
WorktimeReportTable::onBeforeAdd(Event $event)
WorktimeReportTable::onAfterAdd(Event $event)
WorktimeReportTable::getMap()
WorktimeEvent::getTimeHelper()
WorktimeEvent::create($eventName, $userId, $recordId, $recordedValue = null, $reason = null, $userUtcOffset = null)
WorktimeEvent::setRecordId($recordId)
WorktimeEventTable::getObjectClass()
WorktimeEventTable::getTableName()
WorktimeEventTable::getCollectionClass()
WorktimeEventTable::getMap()
WorktimeEventTable::getEventTypeRange()
TaskForm::__construct($task = null, $operations = [])
TaskForm::configureFilterRules()
TaskForm::hasOperation($operationName)
TaskForm::getOperationsNames()
TaskForm::getInternalForms()
OperationForm::__construct($operation = null)
OperationForm::configureFilterRules()
ShiftPlanForm::__construct(ShiftPlan $shiftPlan = null)
ShiftPlanForm::configureFilterRules()
ShiftPlanForm::getDateAssigned()
ShiftForm::__construct(Shift $shift = null)
ShiftForm::runAfterValidate()
ShiftForm::convertToSecondsIfNoErrors($fieldName)
ShiftForm::configureFilterRules()
ShiftForm::getFieldLabels()
ShiftForm::getWorkdaysOptions()
ShiftForm::hasWorkDays()
ShiftForm::getFormattedStartTime($defaultStartTime = 9 * 60 * 60)
ShiftForm::getFormattedEndTime($defaultEndTime = 18 * 60 * 60)
ShiftForm::getFormattedBreakDuration($defaultBreakDuration = 1 * 60 * 60)
ScheduleForm::getInternalForms()
ScheduleForm::__construct($schedule = null)
ScheduleForm::deleteDuplicatedAssignments()
ScheduleForm::deleteDuplicatesBetween($firstFieldName, $secondFieldName)
ScheduleForm::deleteDuplicatesFromArray($firstFieldName, $duplicates)
ScheduleForm::getShiftForms()
ScheduleForm::getShiftIds()
ScheduleForm::isBrowserDeviceAllowed()
ScheduleForm::isB24TimeDeviceAllowed()
ScheduleForm::isMobileDeviceAllowed()
ScheduleForm::getMobileRecordLocation()
ScheduleForm::isFixed()
ScheduleForm::isShifted()
ScheduleForm::runAfterValidate()
ScheduleForm::fillAssignments($assignmentsName, $userIdsName, $departmentsIdsName, $setIsForAllUsers = false)
ScheduleForm::filterDuplicateId($values, $id)
ScheduleForm::setSchedule($schedule)
ScheduleForm::getSchedule()
ScheduleForm::configureFilterRules()
ViolationForm::__construct($violationRules = null)
ViolationForm::runAfterValidate()
ViolationForm::convertFormattedTimeToSeconds($time)
ViolationForm::configureFilterRules()
ViolationForm::issetValue($value)
ViolationForm::adjustViolationSeconds()
ViolationForm::isChecked($option)
ViolationForm::isSaveStartEndViolations()
ViolationForm::isSaveEditWorktimeViolations()
ViolationForm::isSaveHoursPerDayViolations()
ViolationForm::isSaveHoursForPeriodViolations()
ViolationForm::isSaveShiftDelayViolations()
ViolationForm::isUseRelativeStartEndDay()
ViolationForm::isUseOffsetStartEndDay()
ViolationForm::isUseExactStartEndDay()
ViolationForm::showStartEndViolations()
ViolationForm::showViolationContainer($isShifted)
ViolationForm::showFixedViolations($isShifted)
ViolationForm::showShiftViolations($isShifted)
ViolationForm::showHoursPerDayViolations()
ViolationForm::showEditWorktimeViolations()
ViolationForm::isValueSet($value)
ViolationForm::showExactStartEndDay()
ViolationForm::showOffsetStartEndDay()
ViolationForm::showRelativeStartEndDay()
ViolationForm::showHoursForPeriodViolations()
ViolationForm::getTimeOrDefault($value, $withPostfix = false)
ViolationForm::getFormattedMaxExactStart()
ViolationForm::getFormattedMaxOffsetStart()
ViolationForm::getFormattedMinOffsetEnd()
ViolationForm::getFormattedMinExactEnd()
ViolationForm::getFormattedRelativeStartFrom()
ViolationForm::getFormattedRelativeStartTo()
ViolationForm::getFormattedRelativeEndFrom()
ViolationForm::getFormattedRelativeEndTo()
ViolationForm::getFormattedMinDayDuration()
ViolationForm::getFormattedMaxAllowedToEditWorkTime()
ViolationForm::getFormattedMaxWorkTimeLackForPeriod()
ViolationForm::getFormattedMaxShiftStartDelay()
ViolationForm::showShiftDelayViolations()
ViolationForm::showShiftStartViolations()
ViolationForm::resetExtraFields($isShifted, $controlStartOnly)
ViolationForm::resetEndTimeViolations($controlStartOnly)
ViolationForm::resetUncheckedFixedViolations()
ViolationForm::resetUncheckedShiftViolations()
ViolationForm::resetShiftScheduleViolations()
ViolationForm::resetFixedOffsetViolations()
ViolationForm::resetFixedRelativeViolations()
ViolationForm::resetFixedExactViolations()
ViolationForm::resetFixedStartEndViolations()
ViolationForm::resetFixedScheduleViolations()
ViolationForm::convertToSecondsIfNoErrors($fieldName, $saveToName)
CalendarForm::__construct($calendar = null)
CalendarForm::setDates($dates)
CalendarForm::runAfterValidate()
CalendarForm::configureFilterRules()
WorktimeRestrictionsForm::__construct($schedule = null)
WorktimeRestrictionsForm::runAfterValidate()
WorktimeRestrictionsForm::configureFilterRules()
WorktimeRestrictionsForm::convertFormattedTimeToSeconds($time)
WorktimeRestrictionsForm::issetValue($value)
WorktimeRestrictionsForm::isValueSet($value)
WorktimeRestrictionsForm::getTimeOrDefault($value, $withPostfix = false)
WorktimeRestrictionsForm::getFormattedMaxShiftStartOffset()
WorktimeRestrictionsForm::convertToSecondsIfNoErrors($fieldFromName, $saveToName)
WorktimeEventForm::__construct(WorktimeEvent $workTimeLog = null)
WorktimeEventForm::setRecordedDateTime($recordedDateTime)
WorktimeEventForm::runAfterValidate()
WorktimeEventForm::configureFilterRules()
WorktimeEventForm::getRecordedTimestamp()
WorktimeEventForm::getRecordedDateTime()
WorktimeEventForm::getUserUtcOffset()
WorktimeRecordForm::createWithEventForm($eventName = null)
WorktimeRecordForm::getRecordedStartSeconds()
WorktimeRecordForm::buildStartTimestampBySecondsAndDate($userIdTimezone, $oldStartTimestamp = null)
WorktimeRecordForm::getInternalForms()
WorktimeRecordForm::__construct(WorktimeRecord $recordEntity = null)
WorktimeRecordForm::runAfterValidate()
WorktimeRecordForm::configureFilterRules()
WorktimeRecordForm::resetStartFields()
WorktimeRecordForm::resetBreakLengthFields()
WorktimeRecordForm::getFirstEventForm()
WorktimeRecordForm::initScheduleId($id)
WorktimeRecordForm::initShiftId($id)
WorktimeRecordForm::getFirstEventName()
WorktimeRecordForm::getUserUtcOffset()
WorktimeRecordForm::getUser()
WorktimeRecordForm::getRecord()
WorktimeRecordForm::getUserFields()
ArrayHelper::getValue($array, $key, $default = null)
CompositeForm::load($data, $formName = null)
CompositeForm::runBeforeLoad($data, $formName)
CompositeForm::isEmpty($value)
CompositeForm::hasMultiForms($data)
CompositeForm::validate($fieldsNames = null, $clearErrors = true)
CompositeForm::hasErrors($fieldName = null)
CompositeForm::getFirstErrors()
CompositeForm::getErrors($fieldName = null)
CompositeForm::getBaseFormData($data, $formName)
CompositeForm::__get($name)
CompositeForm::__set($name, $value)
CompositeForm::__isset($name)
CompositeForm::__clone()
BaseForm::getFormName()
BaseForm::load($data, $formName = null)
BaseForm::runBeforeLoad($data, $formName)
BaseForm::runBeforeValidate()
BaseForm::runAfterValidate()
BaseForm::validate($fieldsNames = null, $clearErrors = true)
BaseForm::getValidators()
BaseForm::buildValidators()
BaseForm::configureFilterRules()
BaseForm::fillFields($values, $loadableOnly = true)
BaseForm::getLoadableFields()
BaseForm::getFieldLabels()
BaseForm::buildFormFields()
BaseForm::getFieldLabel($fieldName)
BaseForm::getErrors($fieldName = null)
BaseForm::getFirstErrors()
BaseForm::getFirstError($fieldName = null)
BaseForm::reset($resetData)
BaseForm::hasErrors($fieldName = null)
BaseForm::addError($field, $error = '')
BaseForm::addErrors(array $items)
BaseForm::clearErrors($attribute = null)
BaseForm::validateMultiple(array $forms, $attributeNames = null)
BaseForm::loadMultiple($forms, $data, $formName = null)
CbackValidator::configureSkipOnArray($skip)
CbackValidator::configureCallback($preFilter)
CbackValidator::validateValue($value)
RangeValidator::configureRange($range, $error = '')
RangeValidator::configureNotInRange($range)
RangeValidator::configureStrict($strict)
RangeValidator::validateValue($value)
RangeValidator::isEmpty($value)
RequiredValidator::validateValue($value)
StringValidator::configureMinLength($min, $errorMessage = null)
StringValidator::configureMaxLength($max, $errorMessage = null)
StringValidator::configureExactLength($length, $errorMessage = null)
StringValidator::isEmpty($value)
StringValidator::validateValue($value)
LoadableValidator::validateAttribute(BaseForm $form, $fieldName)
LoadableValidator::validateValue($values)
EachValidator::configureValidator(BaseFormFilter $validator)
EachValidator::validateAttribute(BaseForm $form, $fieldName)
EachValidator::validateValue($values)
RegularExpressionValidator::configurePattern($pattern, $errorCode = null)
RegularExpressionValidator::configureNotPattern($pattern)
RegularExpressionValidator::validateValue($value)
NumberValidator::configureMin($minValue, $errorText = '')
NumberValidator::configureMax($maxValue, $errorText = '')
NumberValidator::configureIntegerOnly($isIntegerOnly, $errorText = '')
NumberValidator::isNotNumber($value)
NumberValidator::validateValue($value)
NumberValidator::normalizeNumber($number)
NumberValidator::isEmpty($value)
CbackModifier::configureSkipOnArray($skip)
CbackModifier::configureCallback($preFilter)
CbackModifier::validateField(BaseForm $form, $fieldName)
StringModifier::configureTrim($value)
StringModifier::validateField(BaseForm $form, $fieldName)
BaseFormFilter::__construct()
BaseFormFilter::isSkipOnEmpty()
BaseFormFilter::configureSkipOnEmpty($skip)
BaseFormFilter::configureSkipOnError($skip)
BaseFormFilter::configureDefaultErrorMessage($errorMessage)
BaseFormFilter::getAttributeLabel($field)
BaseFormFilter::generateFieldLabel($name)
BaseFormFilter::configureFieldLabels()
BaseFormFilter::getValidationFieldNames($fieldNames = null)
BaseFormFilter::validateFields(BaseForm $form, $fieldNames = null)
BaseFormFilter::validateField(BaseForm $form, $fieldName)
BaseFormFilter::validate($value)
BaseFormFilter::setFieldNames(array $fields)
BaseFormFilter::addError(BaseForm $form, $fieldName, Result $result)
BaseFormFilter::isEmpty($value)
BaseFormFilter::getFieldNames()
BaseFormFieldModifier::validateValue($value)
NotificationParameters::convertFieldsToArray()
InstantMessageNotifier::sendMessage(NotificationParameters $notificationParameters)
InitialSettingsAgent::installDefaultPermissions()
InitialSettingsAgent::installDefaultData()
InitialSettingsAgent::installDefaultSchedule()
InitialSettingsAgent::createScheduleForm()
InitialSettingsAgent::installWorkCalendars()
InitialSettingsAgent::installDefaultWorkSchedule()
InitialSettingsAgent::getCurrentPortalZone()
AutoCloseWorktimeAgent::__construct(WorktimeRepository $worktimeRepository, WorktimeService $worktimeService)
AutoCloseWorktimeAgent::runCloseRecord($recordId)
AutoCloseWorktimeAgent::closeRecord($recordId)
WorktimeAgentManager::__construct(ViolationRulesRepository $violationRulesRepository, ShiftPlanRepository $shiftPlanRepository)
WorktimeAgentManager::createTimeLackForPeriodChecking($schedule, $fromDateTime = null, $violationRules = null)
WorktimeAgentManager::createMissedShiftChecking($shiftPlan, $shift)
WorktimeAgentManager::prepareMissedShiftAgentFields($shiftPlan, $shift)
WorktimeAgentManager::addAgent($params)
WorktimeAgentManager::buildPeriodDates($schedule, $fromDateTime)
WorktimeAgentManager::recountPeriodTimeLackAgents($schedule)
WorktimeAgentManager::preparePeriodTimeLackAgentFields($schedule, $violationRules, $fromDateTime = null)
WorktimeAgentManager::isPeriodTimeLackControlEnabled($schedule, $violationRules)
WorktimeAgentManager::deleteAgentById($agentId)
WorktimeAgentManager::getAgentDataClass()
WorktimeAgentManager::deleteAgentsByIds($ids)
WorktimeAgentManager::createAutoClosingAgent($record, $schedule, $shift)
WorktimeAgentManager::createAutoClosingAgentForRecords(\Bitrix\Timeman\Model\Worktime\Record\WorktimeRecordCollection $records)
ViolationNotifierAgent::notifyIfPeriodTimeLack($scheduleId, $fromDateTimeFormatted, $toDateTimeFormatted, $entityCode = null)
ViolationNotifierAgent::notifyIfShiftMissed($shiftPlanId)
ViolationNotifierAgent::buildExpectedPeriodEndDate($fromDateTime, $schedule)
ViolationNotifierAgent::findUsers($violationResult)
DependencyManager::getInstance()
DependencyManager::__construct()
DependencyManager::getTimeHelper()
DependencyManager::getScheduleProvider()
DependencyManager::getScheduleRepository()
DependencyManager::getViolationRulesRepository()
DependencyManager::getShiftRepository()
DependencyManager::getShiftPlanRepository()
DependencyManager::getDepartmentRepository()
DependencyManager::getWorktimeService()
DependencyManager::getWorktimeRepository()
DependencyManager::getCalendarRepository()
DependencyManager::getWorktimeReportRepository()
DependencyManager::getAbsenceRepository()
DependencyManager::getNotifier($schedule)
DependencyManager::getWorktimeEventsManager()
DependencyManager::getViolationManager()
DependencyManager::getShiftService()
DependencyManager::getWorktimeAgentManager()
DependencyManager::getScheduleService()
DependencyManager::getShiftPlanService()
DependencyManager::getCalendarService()
DependencyManager::getWorktimeNotificationService()
DependencyManager::getWorktimeActionList()
DependencyManager::getScheduleAssignmentsService()
DependencyManager::getViolationRulesService()
DependencyManager::getUserPermissionsManager($user)
DependencyManager::getUrlManager()
DependencyManager::getAutoCloseWorktimeAgent()
BaseServiceException::getResult()
BaseServiceException::setResult($result)
BaseService::wrapAction($callbackFunction)
BaseService::wrapResultOnException($result)
BaseService::safeRun($result = null)
BaseService::isSuccess(Result $result)
ShiftPlanService::__construct(ShiftRepository $shiftRepository, ShiftPlanRepository $shiftPlanRepository, WorktimeAgentManager $worktimeAgentManager)
ShiftPlanService::add(ShiftPlanForm $shiftPlanForm)
ShiftPlanService::delete(ShiftPlanForm $shiftPlanForm)
ShiftService::__construct(N/A)
ShiftService::add($scheduleOrId, ShiftForm $shiftForm)
ShiftService::update($shiftOrId, ShiftForm $shiftForm)
ShiftService::deleteFutureShiftPlans($schedule, $shiftParam = null, $activeUserIds = [])
ShiftService::deleteShiftById(Shift $shift, Schedule $schedule, $activeUserIds = [])
ScheduleService::__construct(N/A)
ScheduleService::add(ScheduleForm $scheduleForm)
ScheduleService::update($scheduleId, ScheduleForm $scheduleForm)
ScheduleService::excludeSelectedDepartmentsFromOtherSchedules($schedule)
ScheduleService::findSchedulesForDepartments($departmentIds, $exceptScheduleId = null)
ScheduleService::delete($scheduleId)
ScheduleService::createShifts($schedule, $scheduleForm)
ScheduleService::editSchedule($schedule, $scheduleForm)
ScheduleService::removeShifts(Schedule $schedule, $scheduleForm = null)
ScheduleService::updateShifts(Schedule $schedule, ScheduleForm $scheduleForm)
ScheduleService::saveCalendar(ScheduleForm $scheduleForm, Schedule $schedule = null)
ScheduleService::buildResultWithSchedule($schedule)
ScheduleService::saveAssignments($schedule, ScheduleForm $scheduleForm)
ScheduleService::addUserAssignments($scheduleId, $userIds)
ScheduleService::deleteUserAssignments($scheduleId, $userIds)
ScheduleService::excludeDepartments($scheduleId, $depIds)
ScheduleAssignmentsService::__construct(N/A)
ScheduleAssignmentsService::addUserAssignment($scheduleId, $userIds)
ScheduleAssignmentsService::deleteUserAssignments($scheduleId, $userIds)
ScheduleAssignmentsService::buildResultWithSchedule($schedule)
ScheduleAssignmentsService::insertUsersAssignment($scheduleId, $userIds, $excluded = false)
ScheduleAssignmentsService::findScheduleWithUsers($scheduleId)
ScheduleAssignmentsService::saveAssignments($scheduleOrId, ScheduleForm $scheduleForm)
ScheduleAssignmentsService::excludeDepartments($scheduleId, $depIds)
ScheduleAssignmentsService::findSchedulesForDepartments($departmentIds, $exceptScheduleId)
ScheduleAssignmentsService::fetchDepartmentRelationsData($departmentIds)
ScheduleAssignmentsService::getAllDepartmentsIds($departmentsRelationsData)
ScheduleAssignmentsService::fillCommonSchedulesAssignments($departmentIds, $schedulesForAllUsers)
ScheduleAssignmentsService::removeExcludedAssignFromResults($depId, $excludedScheduleId, $commonSchedulesIds, &$results)
ScheduleAssignmentsService::fillDepartmentsAssignments($departmentsChainData, $departmentAssignments, $results, $depId, $commonSchedulesIds)
ScheduleServiceException::getResult()
ScheduleServiceException::setResult($result)
CalendarService::__construct(CalendarRepository $calendarRepository)
CalendarService::add(CalendarForm $calendarForm)
CalendarService::update($calendarOrId, CalendarForm $calendarForm)
CalendarService::saveWithExclusions($calendar, $calendarForm)
CalendarService::isSameDates($parentDatesForYear, $datesToCompare)
CalendarService::deleteCalendarById($calendarId)
ViolationRulesService::__construct(ViolationRulesRepository $violationRulesRepository, WorktimeAgentManager $worktimeAgentManager)
ViolationRulesService::add(ViolationForm $violationForm, $schedule = null)
ViolationRulesService::update(ViolationForm $violationForm, $schedule = null)
ViolationRulesService::adjustViolationFormFields($violationForm, $schedule)
ViolationRulesService::deletePeriodTimeLackAgents($scheduleId)
ScheduleServiceResult::setShifts($shifts)
ScheduleServiceResult::getShifts()
ScheduleServiceResult::getSchedule()
ScheduleServiceResult::setSchedule($schedule)
ScheduleServiceResult::addScheduleNotFoundError()
ShiftServiceResult::getShiftPlan()
ShiftServiceResult::setShiftPlan($shiftPlan)
ShiftServiceResult::setShifts($shifts)
ShiftServiceResult::getShifts()
ShiftServiceResult::getShift()
ShiftServiceResult::setShift($shift)
ShiftServiceResult::addShiftNotFoundError()
ShiftServiceResult::addShiftPlanNotFoundError()
ShiftServiceResult::addScheduleNotFoundError()
ShiftServiceResult::getSchedule()
ShiftServiceResult::setSchedule($schedule)
ViolationRulesServiceResult::getViolationRules()
ViolationRulesServiceResult::setViolationRules($violationRules)
ViolationRulesServiceResult::addViolationRulesNotFoundError()
ViolationRulesServiceResult::addScheduleNotFoundError()
CalendarServiceResult::getCalendar()
CalendarServiceResult::setCalendar($calendar)
CalendarServiceResult::addCalendarNotFoundError()
BaseServiceResult::createByResult($result)
BaseServiceResult::createWithErrorText($text, $code = 0)
BaseServiceResult::isSuccessResult(\Bitrix\Main\Result $result)
WorktimeManager::__construct(N/A)
WorktimeManager::notifyOfAction($record, $schedule)
WorktimeManager::buildWorktimeViolations($record, $schedule, $types = [], $violationRulesList = [])
WorktimeManager::buildRecordViolations($record, $schedule, $violationRulesList = [])
WorktimeManager::validateBeforeProcess()
WorktimeManager::buildEvents($record)
WorktimeManager::verifyBeforeProcessUpdatingRecord()
WorktimeManager::verifyAfterUpdatingRecord($record)
WorktimeManager::buildActualRecord($schedule, $shift, $record, $personalViolationRules = null)
WorktimeManager::preBuildRecord()
WorktimeManager::processBuildingActualRecord()
WorktimeManager::setApproved($record)
WorktimeManager::isEmptyEventReason()
WorktimeManager::getDeviceNotAllowedErrorText($device)
WorktimeManager::getSchedule()
WorktimeManager::getPersonalViolationRules()
WorktimeManager::getRecord()
WorktimeManager::getShift()
WorktimeManager::needToSaveCompatibleReports()
WorktimeManager::checkIntersectingRecords()
ApproveWorktimeManager::verifyAfterUpdatingRecord($record)
ApproveWorktimeManager::verifyBeforeProcessUpdatingRecord()
ApproveWorktimeManager::updateRecordFields($record)
ApproveWorktimeManager::notifyOfAction($record, $schedule)
ApproveWorktimeManager::buildEvents($record)
ApproveWorktimeManager::checkIntersectingRecords()
StopWorktimeManager::verifyBeforeProcessUpdatingRecord()
StopWorktimeManager::updateRecordFields($record)
StopWorktimeManager::buildEvents($record)
StopWorktimeManager::buildRecordViolations($record, $schedule, $violationRulesList = [])
StopWorktimeManager::getRecordedStopTimestamp($record)
StopWorktimeManager::isEmptyTimeEnd()
StartWorktimeManager::updateRecordFields($record)
StartWorktimeManager::buildEvents($record)
StartWorktimeManager::buildRecordViolations($record, $schedule, $violationRulesList = [])
PauseWorktimeManager::updateRecordFields($record)
ContinueWorktimeManager::updateRecordFields($record)
ContinueWorktimeManager::buildEvents($record)
StopCustomTimeWorktimeManager::updateRecordFields($record)
StopCustomTimeWorktimeManager::verifyBeforeProcessUpdatingRecord()
StopCustomTimeWorktimeManager::notifyOfAction($record, $schedule)
StopCustomTimeWorktimeManager::buildRecordViolations($record, $schedule, $violationRulesList = [])
StopCustomTimeWorktimeManager::setApproved($record)
StopCustomTimeWorktimeManager::buildEvents($record)
StopCustomTimeWorktimeManager::getRecordedStopTimestamp($record)
StopCustomTimeWorktimeManager::checkIntersectingRecords()
StopCustomTimeWorktimeManager::buildEditedViolations($record)
StartCustomTimeWorktimeManager::verifyBeforeProcessUpdatingRecord()
StartCustomTimeWorktimeManager::updateRecordFields($record)
StartCustomTimeWorktimeManager::verifyAfterUpdatingRecord($record)
StartCustomTimeWorktimeManager::notifyOfAction($record, $schedule)
StartCustomTimeWorktimeManager::buildRecordViolations($record, $schedule, $violationRulesList = [])
StartCustomTimeWorktimeManager::setApproved($record)
StartCustomTimeWorktimeManager::buildEvents($record)
StartCustomTimeWorktimeManager::checkIntersectingRecords()
StartCustomTimeWorktimeManager::buildEditedViolations($record)
EditWorktimeManager::updateRecordFields($record)
EditWorktimeManager::notifyOfAction($record, $schedule)
EditWorktimeManager::buildRecordViolations($record, $schedule, $violationRulesList = [])
EditWorktimeManager::setApproved($record)
EditWorktimeManager::verifyBeforeProcessUpdatingRecord()
EditWorktimeManager::buildEvents($record)
EditWorktimeManager::verifyAfterUpdatingRecord($record)
EditWorktimeManager::checkIntersectingRecords()
WorktimeRecordManagerFactory::__construct($violationManager, WorktimeRepository $worktimeRepository, ShiftPlanRepository $shiftPlanRepository)
WorktimeRecordManagerFactory::buildRecordManager($recordForm)
WorktimeActionList::__construct(N/A)
WorktimeActionList::buildPossibleActionsListForUser($userId, $userDate = null)
WorktimeActionList::buildActions($record)
WorktimeActionList::getShiftById($id)
WorktimeActionList::getRelevantSchedule()
WorktimeActionList::getRelevantShift($relevantSchedule)
WorktimeActionList::getScheduleById($id)
WorktimeActionList::findSchedules($userId)
WorktimeActionList::getStopActions()
WorktimeActionList::getEditActions()
WorktimeActionList::getContinueActions()
WorktimeActionList::getReopenActions()
WorktimeActionList::getPauseActions()
WorktimeActionList::getStartActions()
WorktimeActionList::getAllActions()
WorktimeActionList::findLastRecord()
WorktimeActionList::isNextDayStarted(WorktimeRecord $record)
WorktimeActionList::getRecordSchedule()
WorktimeActionList::fillRecordSchedule($record)
WorktimeActionList::hasShiftPlan($shift, $schedule)
WorktimeViolationBuilder::__construct(N/A)
WorktimeViolationBuilder::buildViolations($types = [])
WorktimeViolationBuilder::buildDurationViolations()
WorktimeViolationBuilder::buildEditViolations($checkAllowedDelta = true)
WorktimeViolationBuilder::buildEditStartViolations($checkAllowedDelta = true)
WorktimeViolationBuilder::buildEditBreakLengthViolations($checkAllowedDelta = true)
WorktimeViolationBuilder::buildEditStopViolations($checkAllowedDelta = true)
WorktimeViolationBuilder::buildStartViolations()
WorktimeViolationBuilder::buildEndViolations()
WorktimeViolationBuilder::buildMissedShiftViolation()
WorktimeViolationBuilder::buildPeriodTimeLackViolation($params, $fromDateTime, $toDateTime)
WorktimeViolationBuilder::setWorktimeViolationParams(WorktimeViolationParams $params)
WorktimeViolationBuilder::createViolation($type, $recordedTimeValue = null, $violatedSeconds = null, $userId = null)
WorktimeViolationBuilder::buildRecordStartDateTime()
WorktimeViolationBuilder::getCalendar($calendarId, $year)
WorktimeViolationBuilder::issetProperty($value)
WorktimeViolationBuilder::getSchedule()
WorktimeViolationBuilder::getViolationRules()
WorktimeViolationBuilder::getShift()
WorktimeViolationBuilder::getRecord()
WorktimeViolationBuilder::getTimeHelper()
WorktimeViolationBuilder::getAbsenceData()
WorktimeViolationBuilder::setAbsenceData($data)
WorktimeViolationBuilder::findAbsenceData($userId, $dateTime)
WorktimeViolationBuilder::isUserWasAbsent($userId, $recordDateTime)
WorktimeViolationBuilder::skipViolationsCheck()
WorktimeViolationBuilder::getShiftPlan()
WorktimeViolationBuilder::getCreateViolationCallback()
WorktimeViolation::isManuallyChangedTime()
FixedScheduleViolationBuilder::__construct(N/A)
FixedScheduleViolationBuilder::buildPeriodTimeLackViolation($params, $fromDateTime, $toDateTime)
FixedScheduleViolationBuilder::calculateExpectedWorkedSecondsForPeriod($checkingDates, $workDays, $userId)
FixedScheduleViolationBuilder::createPeriodDates($fromDateTime, $toDateTime)
FixedScheduleViolationBuilder::isRecordStartedOnHoliday()
FixedScheduleViolationBuilder::isDateTimeHoliday(\DateTime $dateTime)
FixedScheduleViolationBuilder::skipViolationsCheck()
FixedScheduleViolationBuilder::buildStartViolations()
FixedScheduleViolationBuilder::buildEndViolations()
FixedScheduleViolationBuilder::buildDurationViolations()
FixedScheduleViolationBuilder::buildOffsetStartViolations($recordedStartSeconds)
FixedScheduleViolationBuilder::buildExactStartViolations($recordedStartSeconds)
FixedScheduleViolationBuilder::buildRelativeStartViolations($recordedStartSeconds)
FixedScheduleViolationBuilder::buildOffsetStopViolations($recordedStopSeconds)
FixedScheduleViolationBuilder::buildExactStopViolations($recordedStopSeconds)
FixedScheduleViolationBuilder::buildRelativeStopViolations($recordedStopSeconds)
FixedScheduleViolationBuilder::findActiveUsers(Schedule $schedule, $checkingEntityCode)
FixedScheduleViolationBuilder::findAbsenceForPeriod($fromDateTime, $toDateTime, $userIds)
FixedScheduleViolationBuilder::findRecordsForPeriod(\DateTime $fromDateTime, \DateTime $toDateTime, Schedule $schedule, $userIds)
WorktimeViolationResult::getViolations()
WorktimeViolationResult::getFirstViolation()
WorktimeViolationResult::setViolations($violations)
WorktimeViolationResult::addViolation(WorktimeViolation $violation)
WorktimeViolationResult::getShift()
WorktimeViolationResult::getSchedule()
WorktimeViolationResult::setSchedule($schedule)
WorktimeViolationResult::getShiftPlan()
WorktimeViolationResult::setShiftPlan($shiftPlan)
WorktimeViolationResult::setShift($shift)
WorktimeViolationManager::__construct(WorktimeViolationBuilderFactory $violationBuilderFactory)
WorktimeViolationManager::buildViolations(WorktimeViolationParams $params, $types = [])
WorktimeViolationManager::buildPeriodTimeLackViolation($params, $fromDateTime, $toDateTime)
WorktimeViolationManager::buildMissedShiftViolation(WorktimeViolationParams $params)
WorktimeViolationManager::getViolationBuilder(WorktimeViolationParams $violationParams)
WorktimeViolationParams::getWorktimeEvents()
WorktimeViolationParams::setWorktimeEvents($worktimeEvents)
WorktimeViolationParams::getSchedule()
WorktimeViolationParams::setSchedule($schedule)
WorktimeViolationParams::getRecord()
WorktimeViolationParams::setRecord($record)
WorktimeViolationParams::getShift()
WorktimeViolationParams::setShift($shift)
WorktimeViolationParams::getShiftPlan()
WorktimeViolationParams::setShiftPlan($shiftPlan)
WorktimeViolationParams::getAbsenceData()
WorktimeViolationParams::setAbsenceData($absenceData)
WorktimeViolationParams::getCreateViolationCallback()
WorktimeViolationParams::setCreateViolationCallback($createViolationCallback)
WorktimeViolationParams::getViolationRules()
WorktimeViolationParams::setViolationRules($violationRules)
ShiftedScheduleViolationBuilder::__construct(N/A)
ShiftedScheduleViolationBuilder::buildMissedShiftViolation()
ShiftedScheduleViolationBuilder::buildStartViolations()
ShiftedScheduleViolationBuilder::isWorkingByShiftPlan()
ShiftedScheduleViolationBuilder::skipViolationsCheck()
FlexTimeScheduleViolationBuilder::skipViolationsCheck()
WorktimeViolationBuilderFactory::__construct(N/A)
WorktimeViolationBuilderFactory::createFixedScheduleViolationBuilder(WorktimeViolationParams $violationParams)
WorktimeViolationBuilderFactory::createShiftedScheduleViolationBuilder(WorktimeViolationParams $violationParams)
WorktimeViolationBuilderFactory::createFlextimeScheduleViolationBuilder(WorktimeViolationParams $violationParams)
WorktimeNotificationService::__construct(N/A)
WorktimeNotificationService::sendViolationsNotifications($schedule, $violations, $worktimeRecord = null, $paramsCallback = null)
WorktimeNotificationService::buildNotificationParams($violation, $record, $toUserId)
WorktimeNotificationService::getDefaultNotificationParameters($record)
WorktimeNotificationService::sendViolationNotification($schedule, $notificationParams)
WorktimeNotificationService::getUserName($userId)
WorktimeNotificationService::getUser($userId)
WorktimeNotificationService::findUser($userId)
WorktimeNotificationService::getUserIdsToNotify(WorktimeViolation $violation, Schedule $schedule, $fromUserId = null)
WorktimeNotificationService::buildNotificationTagByViolation(WorktimeViolation $violation)
WorktimeNotificationService::buildNotificationMessage($violation, $worktimeRecord)
WorktimeNotifierFactory::getViolationNotifier($schedule)
WorktimeAction::__construct($userId, $type)
WorktimeAction::createStartAction($userId)
WorktimeAction::createStopAction($userId)
WorktimeAction::createPauseAction($userId)
WorktimeAction::createContinueAction($userId)
WorktimeAction::createEditAction($userId)
WorktimeAction::createReopenAction($userId)
WorktimeAction::getUserId()
WorktimeAction::getSchedule()
WorktimeAction::setSchedule($schedule)
WorktimeAction::getShift()
WorktimeAction::setShift($shift)
WorktimeAction::getRecord()
WorktimeAction::setRecord($record)
WorktimeAction::isStart()
WorktimeAction::isPause()
WorktimeAction::isContinue()
WorktimeAction::isReopen()
WorktimeAction::isStop()
WorktimeAction::isEdit()
WorktimeServiceResult::getWorktimeRecord()
WorktimeServiceResult::setWorktimeRecord($worktimeRecord)
WorktimeServiceResult::setWorktimeEvents($worktimeEvents)
WorktimeServiceResult::getWorktimeEvent()
WorktimeServiceResult::setWorktimeEvent($worktimeEvent)
WorktimeServiceResult::addRecordNotFoundError()
WorktimeServiceResult::addScheduleNotFoundError($code = 0)
WorktimeServiceResult::addReasonNeededError()
WorktimeServiceResult::addProhibitedActionError($code = 0)
WorktimeServiceResult::getFirstError()
WorktimeServiceResult::getWorktimeEvents()
WorktimeServiceResult::getSchedule()
WorktimeServiceResult::setSchedule($schedule)
WorktimeServiceResult::setShift($shift)
WorktimeServiceResult::getShift()
WorktimeEventsManager::sendModuleEventsOnBeforeRecordUpdate($fields, $result)
WorktimeEventsManager::sendModuleEventsOnAfterRecordUpdate($id, $fields)
WorktimeEventsManager::sendModuleEventsOnBeforeAddRecord($data, EventResult $result)
WorktimeEventsManager::sendModuleEventsOnAfterRecordAdd($fields)
WorktimeEventsManager::sendModuleEventsOnBeforeReportAdd($data, EventResult $result)
WorktimeEventsManager::sendModuleEventsOnAfterReportAdd($fields)
WorktimeEventsManager::sendModuleEventsOnBeforeReportUpdate($data, EventResult $result)
WorktimeEventsManager::sendModuleEventsOnAfterReportUpdate($id, $fields)
WorktimeEventsManager::extractIdFromEvent(\Bitrix\Main\ORM\Event $event)
WorktimeService::__construct(N/A)
WorktimeService::startWorktime($recordForm)
WorktimeService::continueWork($recordForm)
WorktimeService::pauseWork($recordForm)
WorktimeService::stopWorktime($recordForm)
WorktimeService::editWorktime($recordForm)
WorktimeService::approveWorktimeRecord($recordForm)
WorktimeService::processWorktimeAction($recordForm, $checkActionCallback)
WorktimeService::buildActionList($userId, $userDate = null)
WorktimeService::addAutoClosingAgents(Schedule $schedule, $shiftCollection = null)
WorktimeService::deleteAutoClosingAgents(Schedule $schedule, $shiftCollection = null)
WorktimeService::wrapResultOnException($result)
WorktimeService::save($record, $worktimeEvents)
WorktimeService::sendNotifications(WorktimeRecord $worktimeRecord, Schedule $schedule)
WorktimeService::checkActionEligibility($actions)
WorktimeService::getRecordManager()
WorktimeService::getPersonalViolationRules($scheduleId, $userId)
WorktimeService::runAfterRecordBuild(WorktimeRecord $actualRecord, $schedule, $shift, $eventType)
BaseUseCaseHandler::getPermissionManager()
BaseScheduleHandler::getScheduleService()
Handler::handle($recordForm)
Handler::deleteUsers($scheduleId, $userIds)
Handler::addUsers($scheduleId, $userIds)
BaseWorktimeHandler::getWorktimeService()
Absence::isActive()
Absence::setOptionActive($result = true)
Absence::isRegisterOffline()
Absence::setOptionRegisterOffline($result = true)
Absence::isRegisterIdle()
Absence::setOptionRegisterIdle($result = true)
Absence::isRegisterDesktop()
Absence::setOptionRegisterDesktop($result = true)
Absence::isReportEnable()
Absence::getOptionReportEnableType()
Absence::getOptionReportEnableUsers()
Absence::isReportEnableForUser($userId, $idleMinutes = null)
Absence::setOptionRequestReport($result = true)
Absence::getOptionReportListSimpleType()
Absence::getOptionReportListSimpleUsers()
Absence::isReportListSimpleEnableForUser($userId)
Absence::setOptionReportListSimple($result = true)
Absence::getOptionReportListFullType()
Absence::getOptionReportListFullUsers()
Absence::isReportListFullEnableForUser($userId)
Absence::setOptionReportListFull($result = true)
Absence::getMinimumIdleForReport()
Absence::setOptionMinimumIdleForReport($minutes = self::DEFAULT_IDLE_TIME)
Absence::setDesktopOnline($userId, $currentDate, $lastDate = null)
Absence::setDesktopStart($userId)
Absence::setStatusIdle($userId, $result = true, $idleStart = null)
Absence::setStatusOnline($users, $ip = null)
Absence::addReport($absenceId, $text, $type = self::REPORT_TYPE_WORK, $addToCalendar = true, $userId = null)
Absence::getMonthReport($userId, $year, $month, $workdayHours = self::DEFAULT_WORKDAY_HOURS, $idleMinutes = null)
Absence::addCalendarEntry($userId, $text, $dateStart, $dateEnd, $private = false)
Absence::convertSecondsToMinutes($seconds)
Absence::getIntersectWithCalendar($userId)
Absence::onImUserStatusSet(\Bitrix\Main\Event $event)
Absence::onImDesktopStart(\Bitrix\Main\Event $event)
Absence::onUserSetLastActivityDate(\Bitrix\Main\Event $event)
Absence::onUserStartWorkDay($params)
Absence::onUserPauseWorkDay($params)
Absence::onUserContinueWorkDay($params)
Absence::onUserEndWorkDay($params)
Absence::addTimeManagerEvent($entryId, $userId, $typeId)
Absence::getSubordinateDepartmentId($userId)
Absence::getSubordinateDepartments($userId)
Absence::getSubordinateUsers($departmentId, $userId)
Absence::getUserData($userId)
Absence::hasAccessToReport($userId)
Absence::isHead()
Absence::isAdmin()
Absence::searchOfflineUsersWithActiveDayAgent()
Absence::searchOfflineDesktopUsersWithActiveDayAgent()
Absence::formatDuration($seconds)
Worktime::approveRecordAction()
Worktime::makeResult($serviceResult, $worktimeForm, $oldRecord)
Permissions::saveTaskAction()
Permissions::deleteTaskAction($id)
Permissions::addTaskToAccessCodeAction()
Permissions::checkAccess()
Schedule::init()
Schedule::getAutoWiredParameters()
Schedule::getSchedulesForScheduleFormAction($exceptScheduleId = null, $exceptScheduleAssignmentCodes = [], $checkNestedEntities = false)
Schedule::getSchedulesForEntityAction($entityCode)
Schedule::addAction()
Schedule::updateAction()
Schedule::getAction($id)
Schedule::deleteListAction($ids)
Schedule::deleteAction($id)
Schedule::deleteUserAction(ScheduleEntity $schedule, $userId)
Schedule::addUserAction(ScheduleEntity $schedule, $userId)
Schedule::makeResult($result)
ShiftPlan::addAction()
ShiftPlan::deleteAction()
ShiftPlan::makeResult($shiftPlanResult, $deleted = false)
ViolationRules::init()
ViolationRules::saveAction()
Shift::addAction()
timeman::timeman()
timeman::InstallDB()
timeman::UnInstallDB($arParams = array())
timeman::InstallEvents()
timeman::UnInstallEvents()
timeman::InstallFiles()
timeman::UnInstallFiles()
timeman::DoInstall()
timeman::DoUninstall()
timeman::GetModuleTasks()