1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс StatusBase
Граф наследования:StatusBase:
DeliveryStatus OrderStatus

Открытые статические члены

static getList (array $parameters=array())
static canGroupDoOperations ($groupId, $fromStatus, array $operations)
static getAllowedUserStatuses ($userId, $fromStatus)
static getAllStatuses ()
static getAllStatusesNames ($lang=null)
static getStatusesUserCanDoOperations ($userId, array $operations)
static getStatusesGroupCanDoOperations ($groupId, array $operations)
static getInitialStatus ()
static getFinalStatus ()
static install (array $data)

Поля данных

const TYPE = ''

Защищенные статические члены

static getUserGroups ($userId)
static getAllowedGroupStatuses ($groupId, $fromStatus)

Подробное описание

См. определение в файле statusbase.php строка 18

Методы

◆ canGroupDoOperations()

canGroupDoOperations ( $groupId,
$fromStatus,
array $operations )
static
Аргументы
$groupId
$fromStatus
array$operations
Возвращает
bool
Исключения
Main

NotImplementedException

Исключения
SystemException

См. определение в файле statusbase.php строка 98

◆ getAllowedGroupStatuses()

getAllowedGroupStatuses ( $groupId,
$fromStatus )
staticprotected
Аргументы
$groupId
$fromStatus
Возвращает
array
Исключения
Main

ArgumentException

Исключения
Main

NotImplementedException

См. определение в файле statusbase.php строка 160

◆ getAllowedUserStatuses()

getAllowedUserStatuses ( $userId,
$fromStatus )
static

Get statuses that user can switch to.

Аргументы
$userId
$fromStatus
Возвращает
array
Исключения
Main

ArgumentException

Исключения
Main

NotImplementedException

См. определение в файле statusbase.php строка 148

◆ getAllStatuses()

getAllStatuses ( )
static

Get all statuses for current class type.

Возвращает
mixed
Исключения
Main

NotImplementedException

См. определение в файле statusbase.php строка 255

◆ getAllStatusesNames()

getAllStatusesNames ( $lang = null)
static

Get all statuses names for current class type.

Аргументы
null$lang
Возвращает
mixed
Исключения
Main

NotImplementedException

См. определение в файле statusbase.php строка 285

◆ getFinalStatus()

getFinalStatus ( )
static
Исключения
Main

NotImplementedException

Переопределяется в DeliveryStatus и OrderStatus.

См. определение в файле statusbase.php строка 421

◆ getInitialStatus()

getInitialStatus ( )
static
Исключения
Main

NotImplementedException

Переопределяется в DeliveryStatus и OrderStatus.

См. определение в файле statusbase.php строка 413

◆ getList()

getList ( array $parameters = array())
static
Аргументы
array$parameters
Возвращает
Main\DB\Result
Исключения
Main

ArgumentException

Исключения
Main

ObjectPropertyException

Исключения
Main

SystemException

См. определение в файле statusbase.php строка 29

◆ getStatusesGroupCanDoOperations()

getStatusesGroupCanDoOperations ( $groupId,
array $operations )
static
Аргументы
$groupId
array$operations
Возвращает
array|mixed
Исключения
Main

NotImplementedException

См. определение в файле statusbase.php строка 340

◆ getStatusesUserCanDoOperations()

getStatusesUserCanDoOperations ( $userId,
array $operations )
static

Get statuses user can do operations within

Аргументы
$userId
array$operations
Возвращает
array|mixed
Исключения
Main

ArgumentException

Исключения
Main

NotImplementedException

См. определение в файле statusbase.php строка 329

◆ getUserGroups()

getUserGroups ( $userId)
staticprotected
Аргументы
$userId
Возвращает
array
Исключения

Bitrix\Main\ArgumentException

См. определение в файле statusbase.php строка 55

◆ install()

install ( array $data)
static
Аргументы
array$data
Исключения
Main

ArgumentException

Исключения
SystemException

Exception

См. определение в файле statusbase.php строка 432

Поля

◆ TYPE

const TYPE = ''

См. определение в файле statusbase.php строка 20


Объявления и описания членов класса находятся в файле: