1C-Bitrix 25.700.0
|
Открытые статические члены | |
static | includeComponentClass ($componentName) |
static | clearComponentCache ($componentName, $siteId="") |
Поля данных | |
$__name = "" | |
$__path = "" | |
$__templatePage = "" | |
$__template = null | |
$arParams = array() | |
$arResult = array() | |
$arResultCacheKeys = false | |
$__parent = null |
Защищенные члены | |
listKeysSignedParameters () | |
__includeComponent () |
Защищенные данные | |
$request | |
$signedParameters |
См. определение в файле component.php строка 11
__construct | ( | $component = null | ) |
Constructor with ability to copy the component.
CBitrixComponent | $component |
Переопределяется в Base, Base, Entity, BaseUfComponent, EntitySelector, LogEntry, WorkgroupList и WorkgroupUserList.
См. определение в файле component.php строка 112
|
finalprotected |
Function includes component.php file thus executing the component. Returns what component.php returns.
Before include there is some helper variables made available for component.php scope.
Note: component must be inited by initComponent method.
@noinspection PhpUnusedLocalVariableInspection
См. определение в файле component.php строка 593
|
final |
Helper function for component parameters safe html escaping.
array[string]mixed | &$arParams |
См. определение в файле component.php строка 514
__showError | ( | $errorMessage, | |
$errorCode = "" ) |
Function shows an internal error message.
string | $errorMessage | |
string | $errorCode |
См. определение в файле component.php строка 1519
|
final |
Function aborts the cache after it's start.
Note: must be called if component returns before endResultCache or includeComponentTemplate called.
См. определение в файле component.php строка 1233
|
final |
Function registers children css file for cache.
string | $cssPath |
См. определение в файле component.php строка 1531
|
final |
Function registers children epilog file for cache.
string | $epilogFile |
См. определение в файле component.php строка 1553
|
final |
Registers child frame for cache.
\Bitrix\Main\Composite\StaticArea | $frame |
См. определение в файле component.php строка 1565
|
final |
Function registers children js file for cache.
string | $jsPath |
См. определение в файле component.php строка 1542
Function adds an delete action to some area inside the component.
string | $entryId | |
string | $deleteLink | |
string | bool | $deleteTitle | |
array[string]mixed | $arParams |
@global CMain $APPLICATION
См. определение в файле component.php строка 1424
Function adds an edit action to some area inside the component.
string | $entryId | |
string | $editLink | |
string | bool | $editTitle | |
array[string]mixed | $arParams |
@global CMain $APPLICATION
См. определение в файле component.php строка 1366
|
final |
Function adds a button to be displayed.
array[int]string | $arButton |
См. определение в файле component.php строка 1577
|
final |
Function adds an Icon to the component area in the editing mode.
array[string]mixed | $arIcon |
См. определение в файле component.php строка 824
|
final |
Function replaces Icons displayed for the component by an collection.
array[int][string]mixed | $arIcon |
См. определение в файле component.php строка 838
|
final |
Function registers new view target for the cache.
string | $target | |
string | $content | |
int | $pos |
См. определение в файле component.php строка 1590
|
staticfinal |
Function clears entire component cache.
Note: parameters must exactly match to startResultCache call.
string | $componentName | |
string | $siteId |
@global CCacheManager $CACHE_MANAGER
См. определение в файле component.php строка 1285
Function deletes the cache created before.
Note: parameters must exactly match to startResultCache call.
mixed | $additionalCacheID | |
string | bool | $cachePath |
См. определение в файле component.php строка 1260
|
final |
Function ends the caching block of the component execution.
Note: automaticly called by includeComponentTemplate.
См. определение в файле component.php строка 1088
executeComponent | ( | ) |
Function calls __includeComponent in order to execute the component.
Переопределяется в StoreChart, ReportProductList, ReportStoreList, ReportStoreProfitList, Base, GridComponent, Entity, BaseUfComponent, GridComponent, BaseViewComponent, CommonSenderComponent, EntitySelector, CPullDemoComponent и CPullDemoWebrtcComponent.
См. определение в файле component.php строка 103
getCacheID | ( | $additionalCacheID = false | ) |
Function returns an cache identifier based on component parameters and environment.
mixed | $additionalCacheID |
См. определение в файле component.php строка 859
|
final |
Function returns component cache path.
См. определение в файле component.php строка 1326
getDefaultFrameMode | ( | ) |
См. определение в файле component.php строка 1660
|
final |
Function returns component area id for editing mode.
string | $entryId |
См. определение в файле component.php строка 1352
getFrameMode | ( | ) |
См. определение в файле component.php строка 1645
|
final |
Function returns the collection of the Icons displayed for the component.
См. определение в файле component.php строка 849
getLanguageId | ( | ) |
См. определение в файле component.php строка 279
|
final |
Function returns component name in form bitrix:component.name
Note: component must be inited by initComponent method.
См. определение в файле component.php строка 170
|
final |
Function returns the parent component (if exists)
Note: component must be inited by initComponent method.
См. определение в файле component.php строка 357
|
final |
Function returns path to component relative to Web server DOCUMENT_ROOT in form /bitrix/components/bitrix/component.name
Note: component must be inited by initComponent method.
См. определение в файле component.php строка 198
getRealFrameMode | ( | ) |
См. определение в файле component.php строка 1655
|
final |
Function returns path to component in form /bitrix/component.name
Note: component must be inited by initComponent method.
См. определение в файле component.php строка 184
|
final |
Returns signed parameters. The list contains parameters which are presented in \CBitrixComponent::listKeysSignedParameters().
См. определение в файле component.php строка 292
getSiteId | ( | ) |
См. определение в файле component.php строка 263
getSiteTemplateId | ( | ) |
См. определение в файле component.php строка 247
|
final |
Function returns the template object
Note: component must be inited by initComponent method.
См. определение в файле component.php строка 343
|
final |
Function returns current template css files or null if there is no template.
Note: component must be inited by initComponent method.
См. определение в файле component.php строка 371
|
final |
Function returns the name of the template
Note: component must be inited by initComponent method.
См. определение в файле component.php строка 212
|
final |
Function returns the template page witch was set with initComponentTemplate
Note: component must be inited by initComponent method.
См. определение в файле component.php строка 329
|
staticfinal |
Function includes class of the component by component name bitrix:component.base
string | $componentName |
См. определение в файле component.php строка 398
|
final |
Function includes language files from within the component directory.
For example: $this->includeComponentLang("ajax.php") will include "lang/en/ajax.php" file.
Note: component must be inited by initComponent method.
string | $relativePath | |
string | bool | $lang |
См. определение в файле component.php строка 566
|
final |
Function executes the template.
Note: component must be inited by initComponent method.
string | $templatePage | |
string | $customTemplatePath |
См. определение в файле component.php строка 724
|
final |
Function initializes the component. Returns true on success.
It is absolutly necessery to call this function before any component usage.
string | $componentName | |
string | bool | $componentTemplate |
См. определение в файле component.php строка 458
|
final |
Function initializes the template of the component. Returns true on success.
Instansiates the template object and calls it's init function.
Note: component must be inited by initComponent method.
string | $templatePage | |
string | bool | $siteTemplate | |
string | $customTemplatePath |
См. определение в файле component.php строка 757
|
protected |
List of keys of parameters which the component have to sign,
См. определение в файле component.php строка 317
onIncludeComponentLang | ( | ) |
Event called from includeComponent before component execution.
Includes component.php from within lang directory of the component.
Переопределяется в Entity и EntitySelector.
См. определение в файле component.php строка 93
onPrepareComponentParams | ( | $arParams | ) |
Event called from includeComponent before component execution.
Takes component parameters as argument and should return it formatted as needed.
array[string]mixed | $arParams |
Переопределяется в ReportProductList, Base, Entity, EntitySelector, LogEntry и LogList.
См. определение в файле component.php строка 82
randString | ( | $length = 6 | ) |
Function returns next pseudo random value.
int | $length |
См. определение в файле component.php строка 1618
setFrameMode | ( | $mode | ) |
Marks a component as capable of composite mode. You should use is to mark a whole component as composite incompatible.
bool | $mode |
См. определение в файле component.php строка 1637
setLanguageId | ( | $languageId | ) |
string | $languageId |
См. определение в файле component.php строка 271
|
final |
Function marks the arResult keys to be saved to cache. Just like __sleep magic method do.
Note: it's call adds key, not replacing.
array[int]string | $arResultCacheKeys |
См. определение в файле component.php строка 1338
setSiteId | ( | $siteId | ) |
string | $siteId |
См. определение в файле component.php строка 255
setSiteTemplateId | ( | $siteTemplateId | ) |
string | $siteTemplateId |
См. определение в файле component.php строка 239
|
final |
Function applies collection of the css files to the current template.
Note: component must be inited by initComponent method.
array[string][int]string | $templateCachedData |
См. определение в файле component.php строка 386
|
final |
Function saves component epilog environment
array[string]mixed | $arEpilogInfo |
См. определение в файле component.php строка 1478
|
final |
Function sets the name of the template. Returns true on success.
Note: component must be inited by initComponent method.
string | $templateName |
См. определение в файле component.php строка 227
|
final |
Function executes initialized template of the component.
Note: component must be inited by initComponent method.
См. определение в файле component.php строка 785
Function starts the caching block of the component execution.
int | bool | $cacheTime | |
mixed | $additionalCacheID | |
string | bool | $cachePath |
@global CMain $APPLICATION
См. определение в файле component.php строка 904
$__name = "" |
См. определение в файле component.php строка 13
$__parent = null |
См. определение в файле component.php строка 31
$__path = "" |
См. определение в файле component.php строка 15
$__template = null |
См. определение в файле component.php строка 21
$__templatePage = "" |
См. определение в файле component.php строка 18
$arParams = array() |
См. определение в файле component.php строка 25
$arResult = array() |
См. определение в файле component.php строка 26
$arResultCacheKeys = false |
См. определение в файле component.php строка 28
|
protected |
См. определение в файле component.php строка 65
|
protected |
См. определение в файле component.php строка 72