1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс CBPHelper

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

static usersArrayToString ($users, $arWorkflowTemplate, $documentType, $appendId=true)
static usersStringToArray ($strUsers, $documentType, &$arErrors, $callbackFunction=null)
static formatTimePeriod ($period)
static getFilterOperation ($key)
static prepareSql (&$arFields, $arOrder, $arFilter, $arGroupBy, $arSelectFields)
static parseDocumentId ($parameterDocumentId)
static parseDocumentIdArray ($parameterDocumentId)
static getFieldValuePrintable ($fieldName, $fieldType, $result)
static convertUserToPrintableForm ($userId, $nameTemplate="", $htmlSpecialChars=true)
static getJSFunctionsForFields ($objectName, $arDocumentFields, $arDocumentFieldTypes)
static getDocumentFieldTypes ()
static getGUIFieldEdit ($documentType, $formName, $fieldName, $fieldValue, $arDocumentField, $bAllowSelection)
static getFieldInputControl ($documentType, $arFieldType, $arFieldName, $fieldValue, $bAllowSelection=false)
static getFieldInputValue ($documentType, $arFieldType, $arFieldName, $arRequest, &$arErrors)
static getFieldInputValuePrintable ($documentType, $arFieldType, $fieldValue)
static setGUIFieldEdit ($documentType, $fieldName, $arRequest, &$arErrors, $arDocumentField=null)
static convertTextForMail ($text, $siteId=false)
static convertBBtoText (string $text)
static __ConvertAnchorTag ($url, $text='', $serverName='')
static isAssociativeArray ($ar)
static extractUsersFromUserGroups ($value, $activity)
static extractUsersFromExtendedGroup ($code)
static extractUsers ($arUsersDraft, $documentId, $bFirst=false)
static extractFirstUser ($userGroups, $documentId)
static makeArrayFlat ($ar)
static flatten ($array)
static stringify ($mixed)
static getBool ($value)
static isEmptyValue ($value)
static convertParameterValues ($val)
static stripUserPrefix ($value)
static getUserExtendedGroups ($userId)
static getExtendedGroupName ($group, $appendId=true)
static convertToExtendedGroups ($users)
static convertToSimpleGroups ($users, $extractUsers=false)
static getForumId ()
static getDistrName ()
static checkUserSubordination (mixed $headUserId, mixed $subUserId)
static renderControlSelectorButton ($controlId, $baseType='string', array $options=null)
static decodeTemplatePostData (&$data)
static makeTimestamp ($date, bool $appendOffset=false)
static isWorkTimeAvailable ()
static hasStringRepresentation ($value)
static isEqualDocument (array $documentA, array $documentB)
static isWorkflowFinished (string $workflowId)

Поля данных

const DISTR_B24 = 'b24'
const DISTR_BOX = 'box'

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

static getAccessProvider ()

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

static $cAccess
static $groupsCache = array()

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

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

Методы

◆ __ConvertAnchorTag()

__ConvertAnchorTag ( $url,
$text = '',
$serverName = '' )
static

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

◆ checkUserSubordination()

checkUserSubordination ( mixed $headUserId,
mixed $subUserId )
static
Аргументы
int$headUserId
int$subUserId
Возвращает
bool

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

◆ convertBBtoText()

convertBBtoText ( string $text)
static

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

◆ convertParameterValues()

convertParameterValues ( $val)
static

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

◆ convertTextForMail()

convertTextForMail ( $text,
$siteId = false )
static
См. также
\CBPHelper::convertBBtoText
Аргументы
$text
false$siteId
Возвращает
array|string|string[]|null

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

◆ convertToExtendedGroups()

convertToExtendedGroups ( $users)
static
Аргументы
$users
Возвращает
array

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

◆ convertToSimpleGroups()

convertToSimpleGroups ( $users,
$extractUsers = false )
static
Аргументы
$users
bool$extractUsers
Возвращает
array

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

◆ convertUserToPrintableForm()

convertUserToPrintableForm ( $userId,
$nameTemplate = "",
$htmlSpecialChars = true )
static

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

◆ decodeTemplatePostData()

decodeTemplatePostData ( & $data)
static

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

◆ extractFirstUser()

extractFirstUser ( $userGroups,
$documentId )
static

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

◆ extractUsers()

extractUsers ( $arUsersDraft,
$documentId,
$bFirst = false )
static

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

◆ extractUsersFromExtendedGroup()

extractUsersFromExtendedGroup ( $code)
static

Method return array of user ids, extracting from special codes. Supported: user (U), group (G), intranet (IU, D, DR, UA), socnet (SU, SG1_A, SG1_E, SG1_K), humanresources(HR, HRR)

Аргументы
string$code- group code, ex. group_D1
Возвращает
bool|array

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

◆ extractUsersFromUserGroups()

extractUsersFromUserGroups ( $value,
$activity )
static

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

◆ flatten()

flatten ( $array)
static

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

◆ formatTimePeriod()

formatTimePeriod ( $period)
static

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

◆ getAccessProvider()

getAccessProvider ( )
staticprotected

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

◆ getBool()

getBool ( $value)
static

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

◆ getDistrName()

getDistrName ( )
static

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

◆ getDocumentFieldTypes()

getDocumentFieldTypes ( )
static

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

◆ getExtendedGroupName()

getExtendedGroupName ( $group,
$appendId = true )
static
Аргументы
string$group- Extended group code (ex. group_g1)
bool$appendId- Append id to group name
Возвращает
string

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

◆ getFieldInputControl()

getFieldInputControl ( $documentType,
$arFieldType,
$arFieldName,
$fieldValue,
$bAllowSelection = false )
static

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

◆ getFieldInputValue()

getFieldInputValue ( $documentType,
$arFieldType,
$arFieldName,
$arRequest,
& $arErrors )
static

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

◆ getFieldInputValuePrintable()

getFieldInputValuePrintable ( $documentType,
$arFieldType,
$fieldValue )
static

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

◆ getFieldValuePrintable()

getFieldValuePrintable ( $fieldName,
$fieldType,
$result )
static

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

◆ getFilterOperation()

getFilterOperation ( $key)
static

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

◆ getForumId()

getForumId ( )
static

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

◆ getGUIFieldEdit()

getGUIFieldEdit ( $documentType,
$formName,
$fieldName,
$fieldValue,
$arDocumentField,
$bAllowSelection )
static

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

◆ getJSFunctionsForFields()

getJSFunctionsForFields ( $objectName,
$arDocumentFields,
$arDocumentFieldTypes )
static
Аргументы
$objectName
$arDocumentFields
$arDocumentFieldTypes
Возвращает
false|string

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

◆ getUserExtendedGroups()

getUserExtendedGroups ( $userId)
static
Аргументы
$userId
Возвращает
array

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

◆ hasStringRepresentation()

hasStringRepresentation ( $value)
static

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

◆ isAssociativeArray()

isAssociativeArray ( $ar)
static

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

◆ isEmptyValue()

isEmptyValue ( $value)
static

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

◆ isEqualDocument()

isEqualDocument ( array $documentA,
array $documentB )
static

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

◆ isWorkflowFinished()

isWorkflowFinished ( string $workflowId)
static
Исключения
CBPArgumentNullException

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

◆ isWorkTimeAvailable()

isWorkTimeAvailable ( )
static

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

◆ makeArrayFlat()

makeArrayFlat ( $ar)
static

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

◆ makeTimestamp()

makeTimestamp ( $date,
bool $appendOffset = false )
static

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

◆ parseDocumentId()

parseDocumentId ( $parameterDocumentId)
static

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

◆ parseDocumentIdArray()

parseDocumentIdArray ( $parameterDocumentId)
static

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

◆ prepareSql()

prepareSql ( & $arFields,
$arOrder,
$arFilter,
$arGroupBy,
$arSelectFields )
static

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

◆ renderControlSelectorButton()

renderControlSelectorButton ( $controlId,
$baseType = 'string',
array $options = null )
static

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

◆ setGUIFieldEdit()

setGUIFieldEdit ( $documentType,
$fieldName,
$arRequest,
& $arErrors,
$arDocumentField = null )
static

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

◆ stringify()

stringify ( $mixed)
static

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

◆ stripUserPrefix()

stripUserPrefix ( $value)
static

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

◆ usersArrayToString()

usersArrayToString ( $users,
$arWorkflowTemplate,
$documentType,
$appendId = true )
static

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

◆ usersStringToArray()

usersStringToArray ( $strUsers,
$documentType,
& $arErrors,
$callbackFunction = null )
static

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

Поля

◆ $cAccess

$cAccess
staticprotected

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

◆ $groupsCache

$groupsCache = array()
staticprotected

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

◆ DISTR_B24

const DISTR_B24 = 'b24'

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

◆ DISTR_BOX

const DISTR_BOX = 'box'

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


Объявления и описания членов класса находятся в файле:
  • C:/bitrix/modules/bizproc/classes/general/helper.php