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

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

static getEntityName ()
static generateDocumentType ($iblockId)
static generateDocumentComplexType ($iblockType, $iblockId)
static getDocumentComplexId ($iblockType, $documentId)
static deleteDataIblock ($iblockId)
static getDocumentIcon ($documentId)
static getDocument ($documentId)
static getDocumentFields ($documentType)
static generateMnemonicCode ($integerCode=0)
static addDocumentField ($documentType, $fields)
static updateDocumentField ($documentType, $fields)
static updateDocument ($documentId, $arFields)
static onWorkflowStatusChange ($documentId, $workflowId, $status, $rootActivity)
static getDocumentAdminPage ($documentId)
static getAllowableOperations ($documentType)
static toInternalOperations ($documentType, $permissions)
static toExternalOperations ($documentType, $permissions)
static CanUserOperateDocument ($operation, $userId, $documentId, $parameters=array())
static CanUserOperateDocumentType ($operation, $userId, $documentType, $parameters=array())
static GetAllowableUserGroups ($documentType, $withExtended=false)
static SetPermissions ($documentId, $workflowId, $permissions, $rewrite=true)
static GetFieldInputControl ($documentType, $fieldType, $fieldName, $fieldValue, $allowSelection=false, $publicMode=false)
static GetFieldInputValue ($documentType, $fieldType, $fieldName, $request, &$errors)
static GetFieldInputValuePrintable ($documentType, $fieldType, $fieldValue)
static UnlockDocument ($documentId, $workflowId)
static PublishDocument ($documentId)
static GetDocumentForHistory ($documentId, $historyIndex)
static isFeatureEnabled ($documentType, $feature)
static getBizprocEditorUrl ($documentType)
Открытые статические члены унаследованные от CIBlockDocument
static GetFieldValuePrintable ($documentId, $fieldName, $fieldType, $fieldValue, $arFieldType)
static GetVersion ()
static GetDocumentAdminPage ($documentId)
static getDocumentName ($documentId)
static getDocumentTypeName ($documentType)
static getDocumentTypeCaption ($documentType)
static isDocumentExists ($documentId)
static GetDocument ($documentId)
static GetDocumentType ($documentId)
static GetDocumentFields ($documentType)
static GetDocumentFieldTypes ($documentType)
static AddDocumentField ($documentType, $arFields)
static UpdateDocument ($documentId, $arFields)
static LockDocument ($documentId, $workflowId)
static IsDocumentLocked ($documentId, $workflowId)
static CreateDocument ($parentDocumentId, $arFields)
static DeleteDocument ($documentId)
static CloneElement ($ID, $arFields=array())
static UnpublishDocument ($documentId)
static GetAllowableOperations ($documentType)
static GetJSFunctionsForFields ($documentType, $objectName, $arDocumentFields=array(), $arDocumentFieldTypes=array())
static GetFieldInputControlOptions ($documentType, &$arFieldType, $jsFunctionName, &$value)
static GetUsersFromUserGroup ($group, $documentId)
static RecoverDocumentFromHistory ($documentId, $arDocument)
static isExtendedPermsSupported ($documentType)
static generatePropertyCode ($name, $code, $iblockId, $propertyId=0)

Поля данных

const DOCUMENT_TYPE_PREFIX = 'iblock_'

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

static setArray (array $result, $value)
static getSystemIblockFields ()
static getRightsTasks ()
static isAdmin ()

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

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

Методы

◆ addDocumentField()

addDocumentField ( $documentType,
$fields )
static
Аргументы
$documentType
$fields
Возвращает
bool|string
Исключения
CBPArgumentOutOfRangeException

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

◆ CanUserOperateDocument()

CanUserOperateDocument ( $operation,
$userId,
$documentId,
$parameters = array() )
static

Переопределяет метод предка CIBlockDocument.

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

◆ CanUserOperateDocumentType()

CanUserOperateDocumentType ( $operation,
$userId,
$documentType,
$parameters = array() )
static

Переопределяет метод предка CIBlockDocument.

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

◆ deleteDataIblock()

deleteDataIblock ( $iblockId)
static
Аргументы
$iblockId

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

◆ generateDocumentComplexType()

generateDocumentComplexType ( $iblockType,
$iblockId )
static
Аргументы
$iblockType
$iblockId
Возвращает
array

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

◆ generateDocumentType()

generateDocumentType ( $iblockId)
static
Аргументы
$iblockId
Возвращает
string

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

◆ generateMnemonicCode()

generateMnemonicCode ( $integerCode = 0)
static
Аргументы
int$integerCode
Возвращает
string

Переопределяет метод предка CIBlockDocument.

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

◆ getAllowableOperations()

getAllowableOperations ( $documentType)
static
Аргументы
string$documentType
Возвращает
array
Исключения
CBPArgumentOutOfRangeException

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

◆ GetAllowableUserGroups()

GetAllowableUserGroups ( $documentType,
$withExtended = false )
static
Аргументы
$documentType
bool$withExtended
Возвращает
array|bool

Переопределяет метод предка CIBlockDocument.

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

◆ getBizprocEditorUrl()

getBizprocEditorUrl ( $documentType)
static

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

◆ getDocument()

getDocument ( $documentId)
static
Аргументы
$documentId
Возвращает
array
Исключения
CBPArgumentNullException
CBPArgumentOutOfRangeException
Exception

Переопределяется в BizprocDocumentLists.

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

◆ getDocumentAdminPage()

getDocumentAdminPage ( $documentId)
static
Аргументы
int$documentId
Возвращает
null|string
Исключения
CBPArgumentNullException

Переопределяется в BizprocDocumentLists.

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

◆ getDocumentComplexId()

getDocumentComplexId ( $iblockType,
$documentId )
static
Аргументы
$iblockType
$documentId
Возвращает
array

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

◆ getDocumentFields()

getDocumentFields ( $documentType)
static
Аргументы
string$documentType
Возвращает
array
Исключения
CBPArgumentOutOfRangeException

Переопределяется в BizprocDocumentLists.

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

◆ GetDocumentForHistory()

GetDocumentForHistory ( $documentId,
$historyIndex )
static

Method return array with all information about document. Array used for method RecoverDocumentFromHistory.

Аргументы
string$documentId
$historyIndex
Возвращает
null
Исключения
CBPArgumentNullException

Переопределяет метод предка CIBlockDocument.

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

◆ getDocumentIcon()

getDocumentIcon ( $documentId)
static

Method returns document icon (image source path)

Аргументы
$documentId
Возвращает
null|string
Исключения
CBPArgumentNullException

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

◆ getEntityName()

getEntityName ( )
static

Переопределяет метод предка CIBlockDocument.

Переопределяется в BizprocDocumentLists.

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

◆ GetFieldInputControl()

GetFieldInputControl ( $documentType,
$fieldType,
$fieldName,
$fieldValue,
$allowSelection = false,
$publicMode = false )
static

Переопределяет метод предка CIBlockDocument.

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

◆ GetFieldInputValue()

GetFieldInputValue ( $documentType,
$fieldType,
$fieldName,
$request,
& $errors )
static

Переопределяет метод предка CIBlockDocument.

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

◆ GetFieldInputValuePrintable()

GetFieldInputValuePrintable ( $documentType,
$fieldType,
$fieldValue )
static

Переопределяет метод предка CIBlockDocument.

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

◆ getRightsTasks()

getRightsTasks ( )
staticprotected

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

◆ getSystemIblockFields()

getSystemIblockFields ( )
staticprotected

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

◆ isAdmin()

isAdmin ( )
staticprotected

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

◆ isFeatureEnabled()

isFeatureEnabled ( $documentType,
$feature )
static

Переопределяется в BizprocDocumentLists.

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

◆ onWorkflowStatusChange()

onWorkflowStatusChange ( $documentId,
$workflowId,
$status,
$rootActivity )
static
Аргументы
string$documentId
string$workflowId
int$status
null | CBPActivity$rootActivity

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

◆ PublishDocument()

PublishDocument ( $documentId)
static

The method of publishing the document. That is making it available in the public section.

Аргументы
string$documentId
Возвращает
bool|int

Переопределяет метод предка CIBlockDocument.

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

◆ setArray()

setArray ( array $result,
$value )
staticprotected

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

◆ SetPermissions()

SetPermissions ( $documentId,
$workflowId,
$permissions,
$rewrite = true )
static

Переопределяет метод предка CIBlockDocument.

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

◆ toExternalOperations()

toExternalOperations ( $documentType,
$permissions )
static
Аргументы
$documentType
array$permissions
Возвращает
array

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

◆ toInternalOperations()

toInternalOperations ( $documentType,
$permissions )
static
Аргументы
$documentType
array$permissions
Возвращает
array

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

◆ UnlockDocument()

UnlockDocument ( $documentId,
$workflowId )
static

Переопределяет метод предка CIBlockDocument.

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

◆ updateDocument()

updateDocument ( $documentId,
$arFields )
static

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

◆ updateDocumentField()

updateDocumentField ( $documentType,
$fields )
static
Аргументы
string$documentType
array$fields
Возвращает
bool|string
Исключения
CBPArgumentOutOfRangeException

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

Поля

◆ DOCUMENT_TYPE_PREFIX

const DOCUMENT_TYPE_PREFIX = 'iblock_'

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


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