|
static | getUserTypeDescription () |
|
static | prepareSettings ($userField=[]) |
|
static | getDBColumnType () |
|
static | checkFields ($userField, $value) |
|
static | onBeforeSaveAll ($userField, $values, $userId=false) |
|
static | onDelete ($userField, $values, $userId=false) |
|
static | saveResource ($id, $resourceType, $resourceId, $eventFields=[], $params=[]) |
|
static | releaseResource ($entry) |
|
static | prepareValue ($type, $id, $from, $duration, $serviceName='') |
|
static | parseValue ($value) |
|
static | getPublicEdit ($userField, $additionalParams=[]) |
|
static | getPublicView ($userField, $additionalParams=[]) |
|
static | getPublicText ($userField) |
|
static | getDefaultResourcesList () |
|
static | getDefaultServiceList () |
|
static | getBitrx24Limitation () |
|
static | getAvailableEntriesList () |
|
static | onBeforeUserTypeAdd (&$userTypeFields) |
|
static | getResourceEntriesList ($idList=[]) |
|
static | getUserFieldByFieldName ($fieldName='', $selectedUsers=[]) |
|
static | getFillFormData ($data=[], $params=[]) |
|
static | getFormDateTimeSlots ($fieldName='', $options=[]) |
|
static | prepareFormDateValues ($dateFrom=null, $fieldName='', $options=[]) |
|
Открытые статические члены унаследованные от TypeBase |
static | getHelper () |
|
static | setHelper (TypeHelper $helper) |
|
|
Статические открытые данные унаследованные от TypeBase |
static | $helper = array() |
|
См. определение в файле resourcebooking.php строка 17
◆ checkFields()
static checkFields |
( |
| $userField, |
|
|
| $value ) |
|
static |
◆ fetchFieldValue()
static fetchFieldValue |
( |
| $value | ) |
|
|
staticprotected |
◆ getAvailableEntriesList()
static getAvailableEntriesList |
( |
| ) |
|
|
static |
◆ getBitrx24Limitation()
static getBitrx24Limitation |
( |
| ) |
|
|
static |
◆ getDBColumnType()
static getDBColumnType |
( |
| ) |
|
|
static |
◆ getDefaultResourcesList()
static getDefaultResourcesList |
( |
| ) |
|
|
static |
◆ getDefaultServiceList()
static getDefaultServiceList |
( |
| ) |
|
|
static |
◆ getEditFormHTML()
getEditFormHTML |
( |
| $userField, |
|
|
| $htmlControl ) |
◆ getFillFormData()
static getFillFormData |
( |
| $data = [], |
|
|
| $params = [] ) |
|
static |
◆ getFormDateTimeSlots()
static getFormDateTimeSlots |
( |
| $fieldName = '', |
|
|
| $options = [] ) |
|
static |
◆ getPublicEdit()
static getPublicEdit |
( |
| $userField, |
|
|
| $additionalParams = [] ) |
|
static |
◆ getPublicText()
static getPublicText |
( |
| $userField | ) |
|
|
static |
◆ getPublicView()
static getPublicView |
( |
| $userField, |
|
|
| $additionalParams = [] ) |
|
static |
◆ getResourceEntriesList()
static getResourceEntriesList |
( |
| $idList = [] | ) |
|
|
static |
◆ getSettingsHTML()
getSettingsHTML |
( |
| $userField = false, |
|
|
| $htmlControl = [], |
|
|
| $varsFromForm = false ) |
◆ getUserFieldByFieldName()
static getUserFieldByFieldName |
( |
| $fieldName = '', |
|
|
| $selectedUsers = [] ) |
|
static |
◆ getUserTypeDescription()
static getUserTypeDescription |
( |
| ) |
|
|
static |
◆ onBeforeSaveAll()
static onBeforeSaveAll |
( |
| $userField, |
|
|
| $values, |
|
|
| $userId = false ) |
|
static |
◆ onBeforeUserTypeAdd()
static onBeforeUserTypeAdd |
( |
& | $userTypeFields | ) |
|
|
static |
◆ onDelete()
static onDelete |
( |
| $userField, |
|
|
| $values, |
|
|
| $userId = false ) |
|
static |
◆ parseValue()
static parseValue |
( |
| $value | ) |
|
|
static |
◆ prepareFormDateValues()
static prepareFormDateValues |
( |
| $dateFrom = null, |
|
|
| $fieldName = '', |
|
|
| $options = [] ) |
|
static |
◆ prepareSettings()
static prepareSettings |
( |
| $userField = [] | ) |
|
|
static |
◆ prepareValue()
static prepareValue |
( |
| $type, |
|
|
| $id, |
|
|
| $from, |
|
|
| $duration, |
|
|
| $serviceName = '' ) |
|
static |
◆ releaseResource()
static releaseResource |
( |
| $entry | ) |
|
|
static |
◆ saveResource()
static saveResource |
( |
| $id, |
|
|
| $resourceType, |
|
|
| $resourceId, |
|
|
| $eventFields = [], |
|
|
| $params = [] ) |
|
static |
Saves resource of given type.
- Аргументы
-
integer | $id | id of current booking. |
string | $resourceType | resource type. |
integer | $resourceId | resource id. |
array | $eventFields | calendar event fields. |
array | $params | additional params. |
- Возвращает
- integer, id of resource booking or null
- Исключения
-
Bitrix\Main\SystemException
См. определение в файле resourcebooking.php строка 368
◆ $restrictionCount
◆ BITRIX24_RESTRICTION
const BITRIX24_RESTRICTION = 100 |
◆ BITRIX24_RESTRICTION_CODE
const BITRIX24_RESTRICTION_CODE = 'uf_resourcebooking' |
◆ CRM_DEAL_ENTITY_ID
const CRM_DEAL_ENTITY_ID = 'CRM_DEAL' |
◆ CRM_LEAD_ENTITY_ID
const CRM_LEAD_ENTITY_ID = 'CRM_LEAD' |
◆ CRM_SUSPENDED_DEAL_ENTITY_ID
const CRM_SUSPENDED_DEAL_ENTITY_ID = 'CRM_DEAL_SPD' |
◆ CRM_SUSPENDED_LEAD_ENTITY_ID
const CRM_SUSPENDED_LEAD_ENTITY_ID = 'CRM_LEAD_SPD' |
◆ EVENT_LABEL
const EVENT_LABEL = '#resourcebooking#' |
◆ RESOURCE_CALENDAR_TYPE
const RESOURCE_CALENDAR_TYPE = 'resource' |
◆ USER_TYPE_ID
const USER_TYPE_ID = 'resourcebooking' |