Bitrix-D7 22.6
 
Загрузка...
Поиск...
Не найдено
Класс Helper

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

static prepareUserSelectorEntities (array $documentType, $users, $config=[])
 
static getResponsibleUserExpression (array $documentType)
 
static prepareDiskAttachments ($attachments)
 
static prepareFileAttachments (array $documentType, $files)
 
static convertExpressions ($source, array $documentType, $useTilda=true)
 
static unConvertExpressions ($source, array $documentType)
 
static convertProperties (array $properties, array $documentType, $useTilda=true)
 
static unConvertProperties (array $properties, array $documentType)
 
static getDocumentFields (array $documentType, $typeFilter=null)
 
static getGlobalVariables (array $documentType)
 
static getGlobalConstants (array $documentType)
 
static getDocumentUserGroups (array $documentType)
 
static isDocumentUserGroup (string $value, array $documentType)
 
static parseDateTimeInterval ($interval)
 
static getDateTimeIntervalString ($interval)
 
static parseTimeString ($time)
 
static countAllRobots (array $documentType, array $statuses)
 

Открытые атрибуты

const CURRENT_DATE_BASIS = '{=System:Date}'
 
const CURRENT_DATETIME_BASIS = '{=System:Now}'
 

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

static getExpressionsMaps ($documentType)
 
static getFieldsMap (array $documentType)
 
static getGlobalsMap (string $type, array $documentType)
 

Статические защищенные данные

static $maps
 
static $documentFields
 

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

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

Методы

◆ convertExpressions()

static convertExpressions (   $source,
array  $documentType,
  $useTilda = true 
)
static

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

◆ convertProperties()

static convertProperties ( array  $properties,
array  $documentType,
  $useTilda = true 
)
static

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

◆ countAllRobots()

static countAllRobots ( array  $documentType,
array  $statuses 
)
static

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

◆ getDateTimeIntervalString()

static getDateTimeIntervalString (   $interval)
static

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

◆ getDocumentFields()

static getDocumentFields ( array  $documentType,
  $typeFilter = null 
)
static

Get document fields for usage in robots designer.

Аргументы
array$documentTypeBizproc document type.
null | string$typeFilter
Возвращает
array

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

◆ getDocumentUserGroups()

static getDocumentUserGroups ( array  $documentType)
static

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

◆ getExpressionsMaps()

static getExpressionsMaps (   $documentType)
staticprotected

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

◆ getFieldsMap()

static getFieldsMap ( array  $documentType)
staticprotected

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

◆ getGlobalConstants()

static getGlobalConstants ( array  $documentType)
static

Get global constants for usage in robots designer

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

◆ getGlobalsMap()

static getGlobalsMap ( string  $type,
array  $documentType 
)
staticprotected

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

◆ getGlobalVariables()

static getGlobalVariables ( array  $documentType)
static

Get global variables for usage in robots designer

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

◆ getResponsibleUserExpression()

static getResponsibleUserExpression ( array  $documentType)
static

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

◆ isDocumentUserGroup()

static isDocumentUserGroup ( string  $value,
array  $documentType 
)
static

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

◆ parseDateTimeInterval()

static parseDateTimeInterval (   $interval)
static

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

◆ parseTimeString()

static parseTimeString (   $time)
static

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

◆ prepareDiskAttachments()

static prepareDiskAttachments (   $attachments)
static

Get disk files information by file ids.

Аргументы
int | array$attachments
Возвращает
array

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

◆ prepareFileAttachments()

static prepareFileAttachments ( array  $documentType,
  $files 
)
static

Get files information from document fields.

Аргументы
array$documentType
$files
Возвращает
array

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

◆ prepareUserSelectorEntities()

static prepareUserSelectorEntities ( array  $documentType,
  $users,
  $config = [] 
)
static

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

◆ unConvertExpressions()

static unConvertExpressions (   $source,
array  $documentType 
)
static

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

◆ unConvertProperties()

static unConvertProperties ( array  $properties,
array  $documentType 
)
static

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

Данные класса

◆ $documentFields

$documentFields
staticprotected

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

◆ $maps

$maps
staticprotected

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

◆ CURRENT_DATE_BASIS

const CURRENT_DATE_BASIS = '{=System:Date}'

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

◆ CURRENT_DATETIME_BASIS

const CURRENT_DATETIME_BASIS = '{=System:Now}'

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