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

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

static __IncludeLang ($filePath, $fileName, $lang=false)
static PrepareVariables (&$arData)
static __ShowError ($errorMessage)
static __BuildTree ($arPath, &$arTree, &$arComponent, $level=1)
static isComponent ($componentPath)
static __GetComponentsTree ($filterNamespace=false, $arNameFilter=false, $arFilter=false)
static __TreeFolderCompare ($a, $b)
static __TreeItemCompare ($a, $b)
static __SortComponentsTree (&$arTree)
static GetComponentsTree ($filterNamespace=false, $arNameFilter=false, $arFilter=false)
static GetNamespaceList ()
static GetComponentDescr ($componentName)
static __GroupParamsCompare ($a, $b)
static GetComponentProps ($componentName, $arCurrentValues=array(), $templateProperties=array())
static GetTemplateProps ($componentName, $templateName, $siteTemplate="", $arCurrentValues=array())
static GetTemplatesList ($componentName, $currentTemplate=false)
static CopyComponent ($componentName, $newNamespace, $newName=false, $bRewrite=false)
static CopyTemplate ($componentName, $templateName, $siteTemplate, $newSiteTemplate, $newName=false, $bRewrite=false)
static CheckComponentName ($name, $arFilter)
static GetDefaultNameTemplates ()
static GetDateFormatField ($name="", $parent="", $no_year=false)
static GetDateFormatDefault ($no_year=false)
static GetDateTimeFormatField ($name="", $parent="")
static GetDateTimeFormatDefault ()
static GetDateTimeFormatted ($timestamp, $dateTimeFormat=false, $offset=0, $hideToday=false)

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

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

Методы

◆ __BuildTree()

__BuildTree ( $arPath,
& $arTree,
& $arComponent,
$level = 1 )
static

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

◆ __GetComponentsTree()

__GetComponentsTree ( $filterNamespace = false,
$arNameFilter = false,
$arFilter = false )
static

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

◆ __GroupParamsCompare()

__GroupParamsCompare ( $a,
$b )
static

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

◆ __IncludeLang()

__IncludeLang ( $filePath,
$fileName,
$lang = false )
static

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

◆ __ShowError()

__ShowError ( $errorMessage)
static

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

◆ __SortComponentsTree()

__SortComponentsTree ( & $arTree)
static

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

◆ __TreeFolderCompare()

__TreeFolderCompare ( $a,
$b )
static

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

◆ __TreeItemCompare()

__TreeItemCompare ( $a,
$b )
static

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

◆ CheckComponentName()

CheckComponentName ( $name,
$arFilter )
static

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

◆ CopyComponent()

CopyComponent ( $componentName,
$newNamespace,
$newName = false,
$bRewrite = false )
static

@global CMain $APPLICATION

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

◆ CopyTemplate()

CopyTemplate ( $componentName,
$templateName,
$siteTemplate,
$newSiteTemplate,
$newName = false,
$bRewrite = false )
static

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

◆ GetComponentDescr()

GetComponentDescr ( $componentName)
static

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

◆ GetComponentProps()

GetComponentProps ( $componentName,
$arCurrentValues = array(),
$templateProperties = array() )
static
Аргументы
string$componentName
array$arCurrentValuesDon't change the name! It's used in the .parameters.php file.
array$templateProperties
Возвращает
array|bool

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

◆ GetComponentsTree()

GetComponentsTree ( $filterNamespace = false,
$arNameFilter = false,
$arFilter = false )
static

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

◆ GetDateFormatDefault()

GetDateFormatDefault ( $no_year = false)
static

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

◆ GetDateFormatField()

GetDateFormatField ( $name = "",
$parent = "",
$no_year = false )
static

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

◆ GetDateTimeFormatDefault()

GetDateTimeFormatDefault ( )
static

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

◆ GetDateTimeFormatField()

GetDateTimeFormatField ( $name = "",
$parent = "" )
static

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

◆ GetDateTimeFormatted()

GetDateTimeFormatted ( $timestamp,
$dateTimeFormat = false,
$offset = 0,
$hideToday = false )
static

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

◆ GetDefaultNameTemplates()

GetDefaultNameTemplates ( )
static

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

◆ GetNamespaceList()

GetNamespaceList ( )
static

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

◆ GetTemplateProps()

GetTemplateProps ( $componentName,
$templateName,
$siteTemplate = "",
$arCurrentValues = array() )
static
Аргументы
string$componentName
string$templateName
string$siteTemplate
array$arCurrentValuesDon't change the name! It's used in the .parameters.php file.
Возвращает
array

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

◆ GetTemplatesList()

GetTemplatesList ( $componentName,
$currentTemplate = false )
static

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

◆ isComponent()

isComponent ( $componentPath)
static

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

◆ PrepareVariables()

PrepareVariables ( & $arData)
static

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


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