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

Открытые члены

 getEntityName ($moduleId, $entity)
 getDocument ($parameterDocumentId, $parameterDocumentType=null, array $select=[])
 isDocumentExists (array $parameterDocumentId)
 getFieldValue ($parameterDocumentId, $fieldId, $parameterDocumentType=null, array $usedDocumentFields=[])
 updateDocument ($parameterDocumentId, $arFields, $modifiedBy=null)
 createDocument ($parameterDocumentId, $arFields)
 createTestDocument (array $parameterDocumentType, array $fields, int $createdById)
 publishDocument ($parameterDocumentId)
 unpublishDocument ($parameterDocumentId)
 lockDocument ($parameterDocumentId, $workflowId)
 unlockDocument ($parameterDocumentId, $workflowId)
 deleteDocument ($parameterDocumentId)
 isDocumentLocked ($parameterDocumentId, $workflowId)
 subscribeOnUnlockDocument ($parameterDocumentId, $workflowId, $eventName)
 unsubscribeOnUnlockDocument ($parameterDocumentId, $workflowId, $eventName)
 getDocumentType ($parameterDocumentId)
 normalizeDocumentId ($parameterDocumentId, string $docType=null)
 getDocumentFields ($parameterDocumentType, $importExportMode=false)
 getDocumentFieldTypes ($parameterDocumentType)
 addDocumentField ($parameterDocumentType, $arFields)
 updateDocumentField ($parameterDocumentType, $arFields)
 getJSFunctionsForFields ($parameterDocumentType, $objectName, $arDocumentFields=array(), $arDocumentFieldTypes=array())
 getFieldInputControlOptions ($parameterDocumentType, &$fieldType, $jsFunctionName, &$value)
 getFieldInputControl ($parameterDocumentType, $fieldType, $fieldName, $fieldValue, $bAllowSelection=false, $publicMode=false)
 getFieldInputValue ($parameterDocumentType, $fieldType, $fieldName, $arRequest, &$arErrors)
 getFieldInputValuePrintable ($parameterDocumentType, $fieldType, $fieldValue)
 getFieldValuePrintable ($parameterDocumentId, $fieldName, $fieldType, $fieldValue, $arFieldType=null)
 getTypesMap (array $parameterDocumentType)
 getTypeClass (array $parameterDocumentType, $type)
 getFieldTypeObject (array $parameterDocumentType, array $property)
 getGUIFieldEdit ($parameterDocumentType, $formName, $fieldName, $fieldValue, $arDocumentField=array(), $bAllowSelection=false)
 setGUIFieldEdit ($parameterDocumentType, $fieldName, $arRequest, &$arErrors, $arDocumentField=array())
 getDocumentAdminPage ($parameterDocumentId)
 getDocumentDetailUrl (array $parameterDocumentId, array $options=[])
 getDocumentName ($parameterDocumentId)
 getDocumentCategories ($parameterDocumentType)
 getDocumentCategoryId (array $parameterDocumentId)
 getDocumentTypeName ($parameterDocumentType)
 getDocumentTypeCaption ($parameterDocumentType)
 getDocumentIcon ($parameterDocumentId)
 getDocumentResponsible (array $parameterDocumentId)
 getDocumentForHistory ($parameterDocumentId, $historyIndex)
 recoverDocumentFromHistory ($parameterDocumentId, $arDocument)
 getUsersFromUserGroup ($group, $parameterDocumentId)
 getAllowableUserGroups ($parameterDocumentType, $withExtended=false)
 getAllowableOperations ($parameterDocumentType)
 setPermissions ($parameterDocumentId, $workflowId, $arPermissions, $bRewrite=true)
 isFeatureEnabled ($parameterDocumentType, $feature)
 isExtendedPermsSupported ($parameterDocumentType)
 toInternalOperations ($parameterDocumentType, $permissions)
 toExternalOperations ($parameterDocumentType, $permissions)
 onTaskChange ($parameterDocumentId, $taskId, $taskData, $status)
 onWorkflowStatusChange ($parameterDocumentId, $workflowId, $status, $rootActivity=null)
 onWorkflowCommentAdded ($parameterDocumentId, string $workflowId, int $authorId)
 onWorkflowCommentDeleted ($parameterDocumentId, string $workflowId, int $authorId)
 onWorkflowAllCommentViewed ($parameterDocumentId, string $workflowId, int $authorId)
 onDebugSessionDocumentStatusChanged (array $parameterDocumentId, int $userId, string $status)
Открытые члены унаследованные от CBPRuntimeService
 setRuntime (CBPRuntime $runtime)
 start (CBPRuntime $runtime=null)
 stop ()

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

static onUnlockDocument ($workflowId, $eventName, $documentId=[])
static getBizprocEditorUrl ($parameterDocumentType)

Поля данных

const FEATURE_MARK_MODIFIED_FIELDS = 'FEATURE_MARK_MODIFIED_FIELDS'
const FEATURE_SET_MODIFIED_BY = 'FEATURE_SET_MODIFIED_BY'

Дополнительные унаследованные члены

Защищенные данные унаследованные от CBPRuntimeService
 $runtime

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

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

Методы

◆ addDocumentField()

addDocumentField ( $parameterDocumentType,
$arFields )

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

◆ createDocument()

createDocument ( $parameterDocumentId,
$arFields )

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

◆ createTestDocument()

createTestDocument ( array $parameterDocumentType,
array $fields,
int $createdById )

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

◆ deleteDocument()

deleteDocument ( $parameterDocumentId)

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

◆ getAllowableOperations()

getAllowableOperations ( $parameterDocumentType)

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

◆ getAllowableUserGroups()

getAllowableUserGroups ( $parameterDocumentType,
$withExtended = false )

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

◆ getBizprocEditorUrl()

getBizprocEditorUrl ( $parameterDocumentType)
static

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

◆ getDocument()

getDocument ( $parameterDocumentId,
$parameterDocumentType = null,
array $select = [] )

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

◆ getDocumentAdminPage()

getDocumentAdminPage ( $parameterDocumentId)

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

◆ getDocumentCategories()

getDocumentCategories ( $parameterDocumentType)

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

◆ getDocumentCategoryId()

getDocumentCategoryId ( array $parameterDocumentId)

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

◆ getDocumentDetailUrl()

getDocumentDetailUrl ( array $parameterDocumentId,
array $options = [] )

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

◆ getDocumentFields()

getDocumentFields ( $parameterDocumentType,
$importExportMode = false )

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

◆ getDocumentFieldTypes()

getDocumentFieldTypes ( $parameterDocumentType)

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

◆ getDocumentForHistory()

getDocumentForHistory ( $parameterDocumentId,
$historyIndex )

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

◆ getDocumentIcon()

getDocumentIcon ( $parameterDocumentId)

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

◆ getDocumentName()

getDocumentName ( $parameterDocumentId)

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

◆ getDocumentResponsible()

getDocumentResponsible ( array $parameterDocumentId)

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

◆ getDocumentType()

getDocumentType ( $parameterDocumentId)

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

◆ getDocumentTypeCaption()

getDocumentTypeCaption ( $parameterDocumentType)

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

◆ getDocumentTypeName()

getDocumentTypeName ( $parameterDocumentType)

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

◆ getEntityName()

getEntityName ( $moduleId,
$entity )

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

◆ getFieldInputControl()

getFieldInputControl ( $parameterDocumentType,
$fieldType,
$fieldName,
$fieldValue,
$bAllowSelection = false,
$publicMode = false )

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

◆ getFieldInputControlOptions()

getFieldInputControlOptions ( $parameterDocumentType,
& $fieldType,
$jsFunctionName,
& $value )

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

◆ getFieldInputValue()

getFieldInputValue ( $parameterDocumentType,
$fieldType,
$fieldName,
$arRequest,
& $arErrors )

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

◆ getFieldInputValuePrintable()

getFieldInputValuePrintable ( $parameterDocumentType,
$fieldType,
$fieldValue )

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

◆ getFieldTypeObject()

getFieldTypeObject ( array $parameterDocumentType,
array $property )
Аргументы
array$parameterDocumentType
array$property
Возвращает
null|FieldType

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

◆ getFieldValue()

getFieldValue ( $parameterDocumentId,
$fieldId,
$parameterDocumentType = null,
array $usedDocumentFields = [] )

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

◆ getFieldValuePrintable()

getFieldValuePrintable ( $parameterDocumentId,
$fieldName,
$fieldType,
$fieldValue,
$arFieldType = null )

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

◆ getGUIFieldEdit()

getGUIFieldEdit ( $parameterDocumentType,
$formName,
$fieldName,
$fieldValue,
$arDocumentField = array(),
$bAllowSelection = false )
Аргументы
$parameterDocumentType
$formName
$fieldName
$fieldValue
array$arDocumentField
bool$bAllowSelection
Возвращает
mixed|string
Исключения
CBPArgumentNullException

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

◆ getJSFunctionsForFields()

getJSFunctionsForFields ( $parameterDocumentType,
$objectName,
$arDocumentFields = array(),
$arDocumentFieldTypes = array() )

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

◆ getTypeClass()

getTypeClass ( array $parameterDocumentType,
$type )
Аргументы
array$parameterDocumentType
string$type
Возвращает
null|string

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

◆ getTypesMap()

getTypesMap ( array $parameterDocumentType)
Аргументы
array$parameterDocumentType
Возвращает
array

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

◆ getUsersFromUserGroup()

getUsersFromUserGroup ( $group,
$parameterDocumentId )

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

◆ isDocumentExists()

isDocumentExists ( array $parameterDocumentId)

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

◆ isDocumentLocked()

isDocumentLocked ( $parameterDocumentId,
$workflowId )

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

◆ isExtendedPermsSupported()

isExtendedPermsSupported ( $parameterDocumentType)

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

◆ isFeatureEnabled()

isFeatureEnabled ( $parameterDocumentType,
$feature )

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

◆ lockDocument()

lockDocument ( $parameterDocumentId,
$workflowId )

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

◆ normalizeDocumentId()

normalizeDocumentId ( $parameterDocumentId,
string $docType = null )

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

◆ onDebugSessionDocumentStatusChanged()

onDebugSessionDocumentStatusChanged ( array $parameterDocumentId,
int $userId,
string $status )

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

◆ onTaskChange()

onTaskChange ( $parameterDocumentId,
$taskId,
$taskData,
$status )

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

◆ onUnlockDocument()

onUnlockDocument ( $workflowId,
$eventName,
$documentId = [] )
static

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

◆ onWorkflowAllCommentViewed()

onWorkflowAllCommentViewed ( $parameterDocumentId,
string $workflowId,
int $authorId )

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

◆ onWorkflowCommentAdded()

onWorkflowCommentAdded ( $parameterDocumentId,
string $workflowId,
int $authorId )

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

◆ onWorkflowCommentDeleted()

onWorkflowCommentDeleted ( $parameterDocumentId,
string $workflowId,
int $authorId )

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

◆ onWorkflowStatusChange()

onWorkflowStatusChange ( $parameterDocumentId,
$workflowId,
$status,
$rootActivity = null )

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

◆ publishDocument()

publishDocument ( $parameterDocumentId)

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

◆ recoverDocumentFromHistory()

recoverDocumentFromHistory ( $parameterDocumentId,
$arDocument )

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

◆ setGUIFieldEdit()

setGUIFieldEdit ( $parameterDocumentType,
$fieldName,
$arRequest,
& $arErrors,
$arDocumentField = array() )
Аргументы
$parameterDocumentType
$fieldName
$arRequest
$arErrors
array$arDocumentField
Возвращает
array|mixed|null
Исключения
CBPArgumentNullException

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

◆ setPermissions()

setPermissions ( $parameterDocumentId,
$workflowId,
$arPermissions,
$bRewrite = true )

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

◆ subscribeOnUnlockDocument()

subscribeOnUnlockDocument ( $parameterDocumentId,
$workflowId,
$eventName )

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

◆ toExternalOperations()

toExternalOperations ( $parameterDocumentType,
$permissions )

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

◆ toInternalOperations()

toInternalOperations ( $parameterDocumentType,
$permissions )

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

◆ unlockDocument()

unlockDocument ( $parameterDocumentId,
$workflowId )

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

◆ unpublishDocument()

unpublishDocument ( $parameterDocumentId)

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

◆ unsubscribeOnUnlockDocument()

unsubscribeOnUnlockDocument ( $parameterDocumentId,
$workflowId,
$eventName )

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

◆ updateDocument()

updateDocument ( $parameterDocumentId,
$arFields,
$modifiedBy = null )

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

◆ updateDocumentField()

updateDocumentField ( $parameterDocumentType,
$arFields )

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

Поля

◆ FEATURE_MARK_MODIFIED_FIELDS

const FEATURE_MARK_MODIFIED_FIELDS = 'FEATURE_MARK_MODIFIED_FIELDS'

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

◆ FEATURE_SET_MODIFIED_BY

const FEATURE_SET_MODIFIED_BY = 'FEATURE_SET_MODIFIED_BY'

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


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