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

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

getParams ()
getResult ()
 getTopIndexedFolders (int $depth=2)
Открытые члены унаследованные от CBitrixComponent
 onPrepareComponentParams ($arParams)
 onIncludeComponentLang ()
 executeComponent ()
 __construct ($component=null)
 getName ()
 getRelativePath ()
 getPath ()
 getTemplateName ()
 setTemplateName ($templateName)
 setSiteTemplateId ($siteTemplateId)
 getSiteTemplateId ()
 setSiteId ($siteId)
 getSiteId ()
 setLanguageId ($languageId)
 getLanguageId ()
 getSignedParameters ()
 getTemplatePage ()
 getTemplate ()
 getParent ()
 getTemplateCachedData ()
 setTemplateCachedData ($templateCachedData)
 initComponent ($componentName, $componentTemplate=false)
 __prepareComponentParams (&$arParams)
 includeComponentLang ($relativePath="", $lang=false)
 includeComponentTemplate ($templatePage="", $customTemplatePath="")
 initComponentTemplate ($templatePage="", $siteTemplate=false, $customTemplatePath="")
 showComponentTemplate ()
 addIncludeAreaIcon ($arIcon)
 addIncludeAreaIcons ($arIcons)
 getIncludeAreaIcons ()
 getCacheID ($additionalCacheID=false)
 startResultCache ($cacheTime=false, $additionalCacheID=false, $cachePath=false)
 endResultCache ()
 abortResultCache ()
 clearResultCache ($additionalCacheID=false, $cachePath=false)
 getCachePath ()
 setResultCacheKeys ($arResultCacheKeys)
 getEditAreaId ($entryId)
 addEditAction ($entryId, $editLink, $editTitle=false, $arParams=array())
 addDeleteAction ($entryId, $deleteLink, $deleteTitle=false, $arParams=array())
 setTemplateEpilog ($arEpilogInfo)
 __showError ($errorMessage, $errorCode="")
 addChildCSS ($cssPath)
 addChildJS ($jsPath)
 addChildEpilog ($epilogFile)
 addChildFrame ($frame)
 addEditButton ($arButton)
 addViewTarget ($target, $content, $pos)
 randString ($length=6)
 setFrameMode ($mode)
 getFrameMode ()
 getRealFrameMode ()
 getDefaultFrameMode ()
Открытые члены унаследованные от IErrorable
 addError (Main\Error $error)
 addErrors (array $errors)
 hasErrors ()
Открытые члены унаследованные от Errorable
 getErrors ()
 getErrorByCode ($code)

Поля данных

const STATUS_SUCCESS = 'success'
const STATUS_DENIED = 'denied'
const STATUS_ERROR = 'error'
const TEMPLATE_ERROR = 'error'
Поля данных унаследованные от CBitrixComponent
 $__name = ""
 $__path = ""
 $__templatePage = ""
 $__template = null
 $arParams = array()
 $arResult = array()
 $arResultCacheKeys = false
 $__parent = null

Защищенные члены

 checkModuleAvailability ()
 hasUserPermissionView ($user)
 hasUserPermissionEdit ($user)
 hasUserPermissionEditSource ($user)
 checkPermissionView ()
 checkPermissionEdit ()
 checkPermissionEditPhp ()
 checkModuleStepper ()
 checkFtsTables ()
 checkMysqlConfig ()
 prepareParams ()
 rearrangeLanguages ($languageList, $currentLangId)
 getLanguages ()
 getLanguagesTitle ($languageIds)
 getCompatibleLanguages ()
 detectTabId ()
 detectStartingPath (?string $path='')
 getUser ()
 getApplication ()
 isAjaxRequest ()
 clearSavedOptions ($category, $nameMask)
 detectPathBack ($path)
 generateChainLinks ($path)
Защищенные члены унаследованные от CBitrixComponent
 listKeysSignedParameters ()
 __includeComponent ()

Защищенные данные

 $path = ''
 $tabId = 0
Защищенные данные унаследованные от CBitrixComponent
 $request
 $signedParameters

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

Открытые статические члены унаследованные от CBitrixComponent
static includeComponentClass ($componentName)
static clearComponentCache ($componentName, $siteId="")

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

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

Методы

◆ checkFtsTables()

checkFtsTables ( )
protected

Checks FTS if tables exists.

Возвращает
void

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

◆ checkModuleAvailability()

checkModuleAvailability ( )
protected
Возвращает
boolean

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

◆ checkModuleStepper()

checkModuleStepper ( )
protected

Checks some mysql config variables.

Возвращает
void

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

◆ checkMysqlConfig()

checkMysqlConfig ( )
protected

Checks some mysql config variables.

Возвращает
void

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

◆ checkPermissionEdit()

checkPermissionEdit ( )
protected

Checks if user has permission to edit language file.

Возвращает
boolean

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

◆ checkPermissionEditPhp()

checkPermissionEditPhp ( )
protected

Checks if user has permission to edit source language file.

Возвращает
boolean

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

◆ checkPermissionView()

checkPermissionView ( )
protected

Checks if user has permission to view language file.

Возвращает
boolean

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

◆ clearSavedOptions()

clearSavedOptions ( $category,
$nameMask )
protected

Drops saved options.

Аргументы
string$categoryGroup option name.
string$nameMaskOption name mask.
Возвращает
void

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

◆ detectPathBack()

detectPathBack ( $path)
protected

Finds way to get back.

Аргументы
string$pathPath to analise.
Возвращает
string

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

◆ detectStartingPath()

detectStartingPath ( ?string $path = '')
protected
Возвращает
string

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

◆ detectTabId()

detectTabId ( )
protected
Возвращает
string

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

◆ generateChainLinks()

generateChainLinks ( $path)
protected

Get data for chain links.

Аргументы
string$pathPath to analise.
Возвращает
array

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

◆ getApplication()

getApplication ( )
protected
Возвращает
\CMain

@global \CMain $APPLICATION

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

◆ getCompatibleLanguages()

getCompatibleLanguages ( )
protected

Return languages compatible by their encoding.

Возвращает
string[]

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

◆ getLanguages()

getLanguages ( )
protected
Возвращает
string[]

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

◆ getLanguagesTitle()

getLanguagesTitle ( $languageIds)
protected

Returns list of language names from the site settings.

Аргументы
string[]$languageIdsLanguages list to get name.
Возвращает
array

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

◆ getParams()

& getParams ( )

Returns component calling params by reference.

Возвращает
array

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

◆ getResult()

& getResult ( )

Returns component resulting array by reference.

Возвращает
array

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

◆ getTopIndexedFolders()

getTopIndexedFolders ( int $depth = 2)

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

◆ getUser()

getUser ( )
protected
Возвращает
\CUser

@global \CUser $USER

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

◆ hasUserPermissionEdit()

hasUserPermissionEdit ( $user)
protected

Checks if user has permission to edit language file.

Аргументы
\CUser$userUser to check permissions.
Возвращает
boolean

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

◆ hasUserPermissionEditSource()

hasUserPermissionEditSource ( $user)
protected

Checks if user has permission to edit source language file.

Аргументы
\CUser$userUser to check permissions.
Возвращает
boolean

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

◆ hasUserPermissionView()

hasUserPermissionView ( $user)
protected

Checks if user has permission to view language file.

Аргументы
\CUser$userUser to check permissions.
Возвращает
boolean

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

◆ isAjaxRequest()

isAjaxRequest ( )
protected

Returns whether this is an AJAX (XMLHttpRequest) request.

Возвращает
boolean

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

◆ prepareParams()

prepareParams ( )
protected
Возвращает
void

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

◆ rearrangeLanguages()

rearrangeLanguages ( $languageList,
$currentLangId )
protected

Moves current language to the first position.

Аргументы
string[]$languageList
string$currentLangId
Возвращает
string[]

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

Поля

◆ $path

$path = ''
protected

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

◆ $tabId

$tabId = 0
protected

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

◆ STATUS_DENIED

const STATUS_DENIED = 'denied'

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

◆ STATUS_ERROR

const STATUS_ERROR = 'error'

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

◆ STATUS_SUCCESS

const STATUS_SUCCESS = 'success'

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

◆ TEMPLATE_ERROR

const TEMPLATE_ERROR = 'error'

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


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