Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
Класс BaseBuilder
+ Граф наследования:BaseBuilder:

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

 __construct ()
 
 __destruct ()
 
 getId ()
 
 getWeight ()
 
 setLanguageId (string $languageId)
 
 getLanguageId ()
 
 setIblockId (int $iblockId)
 
 setPrefix (string $prefix)
 
 getPrefix ()
 
 setUrlParams (array $list)
 
 getCompiledParams (array $params)
 
 isIblockListMixed ()
 
 setMixedIblockList ()
 
 setSeparateIblockList ()
 
 preloadUrlData (string $entityType, array $entityIds)
 
 clearPreloadedUrlData ()
 
 getSectionListUrl (?int $parentId, array $options=[], string $additional='')
 
 getSectionDetailUrl (?int $entityId, array $options=[], string $additional='')
 
 getSectionSaveUrl (?int $entityId, array $options=[], string $additional='')
 
 getSectionSearchUrl (array $options=[], string $additional='')
 
 getElementListUrl (?int $parentId, array $options=[], string $additional='')
 
 getElementDetailUrl (?int $entityId, array $options=[], string $additional='')
 
 getElementCopyUrl (?int $entityId, array $options=[], string $additional='')
 
 getElementSaveUrl (?int $entityId, array $options=[], string $additional='')
 
 getElementSearchUrl (array $options=[], string $additional='')
 
 getCatalogSeoUrl (array $options=[], string $additional='')
 
 getElementSeoUrl (int $productId, array $options=[], string $additional='')
 
 getSectionSeoUrl (int $sectionId, array $options=[], string $additional='')
 
 getContextMenuItems (string $pageType, array $items=[], array $options=[])
 
 getBaseParams ()
 
 getUrlParams (array $options=[], string $additional='')
 
 getLanguageParam ()
 
 getUrlBuilderIdParam ()
 
 setSliderMode (bool $mode)
 
 isSliderMode ()
 
 getDetailPageSlider ()
 
 showDetailPageSlider ()
 
 getSliderPathOption (string $path)
 
 getSliderPathString (string $path)
 
 openSettingsPage ()
 
 subscribeOnAfterSettingsSave ()
 

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

const TYPE_AUTODETECT = 'AUTO'
 
const TYPE_ID = 'BASE'
 
const PAGE_ELEMENT_LIST = 'elementList'
 
const PAGE_ELEMENT_DETAIL = 'elementDetail'
 
const PAGE_ELEMENT_COPY = 'elementCopy'
 
const PAGE_ELEMENT_SAVE = 'elementSave'
 
const PAGE_ELEMENT_SEARCH = 'elementSearch'
 
const PAGE_ELEMENT_SEO = 'elementSeo'
 
const PAGE_SECTION_LIST = 'sectionList'
 
const PAGE_SECTION_DETAIL = 'sectionDetail'
 
const PAGE_SECTION_COPY = 'sectionCopy'
 
const PAGE_SECTION_SAVE = 'sectionSave'
 
const PAGE_SECTION_SEARCH = 'sectionSearch'
 
const PAGE_SECTION_SEO = 'sectionSeo'
 
const PAGE_CATALOG_SEO = 'catalogSeo'
 
const ENTITY_SECTION = 'section'
 
const ENTITY_ELEMENT = 'element'
 

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

 checkCurrentPage (array $urlList)
 
 initSettings ()
 
 initConfig ()
 
 resetIblock ()
 
 initIblockListMode ()
 
 setIblockListMode (string $listMode)
 
 compileUrlParams (array $params)
 
 compileParamsLevel (string &$result, string $prefix, array $params)
 
 getParentFilter (?int $parentId)
 
 getEntityFilter (?int $entityId)
 
 extendUrl (array $options=[], string $additional='')
 
 initUrlTemplates ()
 
 getUrlTemplate (string $templateId)
 
 fillUrlTemplate (?string $template, array $replaces)
 
 setTemplateVariable (string $name, string $value)
 
 getTemplateVariables ()
 
 getExtendedVariables (array $options=[], string $additional='')
 
 getListVariables (string $page, ?int $parentId, array $options=[], string $additional='')
 
 getDetailVariables (string $page, ?int $entityId, array $options=[], string $additional='')
 
 getDetailSeoVariables (?int $entityId, array $options=[], string $additional='')
 
 getSectionSeoVariables (?int $sectionId, array $options=[], string $additional='')
 
 getCopyAction ()
 
 preloadSectionUrlData (array $sectionIds)
 
 preloadElementUrlData (array $elementIds)
 
 getSliderPath ()
 
 checkSliderPath (?string $path)
 
 getSliderPathTemplates ()
 

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

static clearNull ($value)
 
static getSliderOptions ()
 

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

const TYPE_WEIGHT = null
 
const PATH_PREFIX = ''
 
const SLIDER_PATH_VARIABLE = 'slider_path'
 
 $request
 
 $id
 
 $weight
 
 $languageId
 
 $iblockId
 
 $iblock
 
 $iblockListMode
 
 $iblockListMixed
 
 $prefix
 
 $urlParams = []
 
 $compiledUrlParams = ''
 
 $config = []
 
 $urlTemplates = []
 
 $templateVariables = []
 
 $sliderMode
 

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

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

Конструктор(ы)

◆ __construct()

__construct ( )

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

◆ __destruct()

__destruct ( )

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

Методы

◆ checkCurrentPage()

checkCurrentPage ( array $urlList)
protected

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

◆ checkSliderPath()

checkSliderPath ( ?string $path)
protected

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

◆ clearNull()

static clearNull ( $value)
staticprotected

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

◆ clearPreloadedUrlData()

clearPreloadedUrlData ( )

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

◆ compileParamsLevel()

compileParamsLevel ( string & $result,
string $prefix,
array $params )
protected

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

◆ compileUrlParams()

compileUrlParams ( array $params)
protected

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

◆ extendUrl()

extendUrl ( array $options = [],
string $additional = '' )
protected

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

◆ fillUrlTemplate()

fillUrlTemplate ( ?string $template,
array $replaces )
protected

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

◆ getBaseParams()

getBaseParams ( )

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

◆ getCatalogSeoUrl()

getCatalogSeoUrl ( array $options = [],
string $additional = '' )

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

◆ getCompiledParams()

getCompiledParams ( array $params)

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

◆ getContextMenuItems()

getContextMenuItems ( string $pageType,
array $items = [],
array $options = [] )

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

◆ getCopyAction()

getCopyAction ( )
protected

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

◆ getDetailPageSlider()

getDetailPageSlider ( )

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

◆ getDetailSeoVariables()

getDetailSeoVariables ( ?int $entityId,
array $options = [],
string $additional = '' )
protected

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

◆ getDetailVariables()

getDetailVariables ( string $page,
?int $entityId,
array $options = [],
string $additional = '' )
protected

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

◆ getElementCopyUrl()

getElementCopyUrl ( ?int $entityId,
array $options = [],
string $additional = '' )

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

◆ getElementDetailUrl()

getElementDetailUrl ( ?int $entityId,
array $options = [],
string $additional = '' )

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

◆ getElementListUrl()

getElementListUrl ( ?int $parentId,
array $options = [],
string $additional = '' )

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

◆ getElementSaveUrl()

getElementSaveUrl ( ?int $entityId,
array $options = [],
string $additional = '' )

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

◆ getElementSearchUrl()

getElementSearchUrl ( array $options = [],
string $additional = '' )

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

◆ getElementSeoUrl()

getElementSeoUrl ( int $productId,
array $options = [],
string $additional = '' )

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

◆ getEntityFilter()

getEntityFilter ( ?int $entityId)
protected

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

◆ getExtendedVariables()

getExtendedVariables ( array $options = [],
string $additional = '' )
protected

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

◆ getId()

getId ( )

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

◆ getLanguageId()

getLanguageId ( )

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

◆ getLanguageParam()

getLanguageParam ( )

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

◆ getListVariables()

getListVariables ( string $page,
?int $parentId,
array $options = [],
string $additional = '' )
protected

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

◆ getParentFilter()

getParentFilter ( ?int $parentId)
protected

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

◆ getPrefix()

getPrefix ( )

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

◆ getSectionDetailUrl()

getSectionDetailUrl ( ?int $entityId,
array $options = [],
string $additional = '' )

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

◆ getSectionListUrl()

getSectionListUrl ( ?int $parentId,
array $options = [],
string $additional = '' )

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

◆ getSectionSaveUrl()

getSectionSaveUrl ( ?int $entityId,
array $options = [],
string $additional = '' )

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

◆ getSectionSearchUrl()

getSectionSearchUrl ( array $options = [],
string $additional = '' )

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

◆ getSectionSeoUrl()

getSectionSeoUrl ( int $sectionId,
array $options = [],
string $additional = '' )

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

◆ getSectionSeoVariables()

getSectionSeoVariables ( ?int $sectionId,
array $options = [],
string $additional = '' )
protected

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

◆ getSliderOptions()

static getSliderOptions ( )
staticprotected

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

◆ getSliderPath()

getSliderPath ( )
protected

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

◆ getSliderPathOption()

getSliderPathOption ( string $path)

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

◆ getSliderPathString()

getSliderPathString ( string $path)

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

◆ getSliderPathTemplates()

getSliderPathTemplates ( )
protected

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

◆ getTemplateVariables()

getTemplateVariables ( )
protected

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

◆ getUrlBuilderIdParam()

getUrlBuilderIdParam ( )

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

◆ getUrlParams()

getUrlParams ( array $options = [],
string $additional = '' )

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

◆ getUrlTemplate()

getUrlTemplate ( string $templateId)
protected

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

◆ getWeight()

getWeight ( )

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

◆ initConfig()

initConfig ( )
protected

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

◆ initIblockListMode()

initIblockListMode ( )
protected

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

◆ initSettings()

initSettings ( )
protected

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

◆ initUrlTemplates()

initUrlTemplates ( )
abstractprotected

Переопределяется в IblockBuilder.

◆ isIblockListMixed()

isIblockListMixed ( )

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

◆ isSliderMode()

isSliderMode ( )

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

◆ openSettingsPage()

openSettingsPage ( )

Open settings page of IBlock context

Example: for catalog IBlock it should open settings of catalog

Возвращает
void

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

◆ preloadElementUrlData()

preloadElementUrlData ( array $elementIds)
protected

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

◆ preloadSectionUrlData()

preloadSectionUrlData ( array $sectionIds)
protected

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

◆ preloadUrlData()

preloadUrlData ( string $entityType,
array $entityIds )

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

◆ resetIblock()

resetIblock ( )
protected

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

◆ setIblockId()

setIblockId ( int $iblockId)

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

◆ setIblockListMode()

setIblockListMode ( string $listMode)
protected

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

◆ setLanguageId()

setLanguageId ( string $languageId)

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

◆ setMixedIblockList()

setMixedIblockList ( )

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

◆ setPrefix()

setPrefix ( string $prefix)

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

◆ setSeparateIblockList()

setSeparateIblockList ( )

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

◆ setSliderMode()

setSliderMode ( bool $mode)

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

◆ setTemplateVariable()

setTemplateVariable ( string $name,
string $value )
protected

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

◆ setUrlParams()

setUrlParams ( array $list)

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

◆ showDetailPageSlider()

showDetailPageSlider ( )

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

◆ subscribeOnAfterSettingsSave()

subscribeOnAfterSettingsSave ( )

Subscribe to save settings events depending on the context

Возвращает
void

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

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

◆ $compiledUrlParams

$compiledUrlParams = ''
protected

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

◆ $config

$config = []
protected

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

◆ $iblock

$iblock
protected

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

◆ $iblockId

$iblockId
protected

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

◆ $iblockListMixed

$iblockListMixed
protected

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

◆ $iblockListMode

$iblockListMode
protected

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

◆ $id

$id
protected

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

◆ $languageId

$languageId
protected

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

◆ $prefix

$prefix
protected

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

◆ $request

$request
protected

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

◆ $sliderMode

$sliderMode
protected

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

◆ $templateVariables

$templateVariables = []
protected

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

◆ $urlParams

$urlParams = []
protected

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

◆ $urlTemplates

$urlTemplates = []
protected

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

◆ $weight

$weight
protected

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

◆ ENTITY_ELEMENT

const ENTITY_ELEMENT = 'element'

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

◆ ENTITY_SECTION

const ENTITY_SECTION = 'section'

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

◆ PAGE_CATALOG_SEO

const PAGE_CATALOG_SEO = 'catalogSeo'

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

◆ PAGE_ELEMENT_COPY

const PAGE_ELEMENT_COPY = 'elementCopy'

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

◆ PAGE_ELEMENT_DETAIL

const PAGE_ELEMENT_DETAIL = 'elementDetail'

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

◆ PAGE_ELEMENT_LIST

const PAGE_ELEMENT_LIST = 'elementList'

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

◆ PAGE_ELEMENT_SAVE

const PAGE_ELEMENT_SAVE = 'elementSave'

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

◆ PAGE_ELEMENT_SEARCH

const PAGE_ELEMENT_SEARCH = 'elementSearch'

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

◆ PAGE_ELEMENT_SEO

const PAGE_ELEMENT_SEO = 'elementSeo'

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

◆ PAGE_SECTION_COPY

const PAGE_SECTION_COPY = 'sectionCopy'

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

◆ PAGE_SECTION_DETAIL

const PAGE_SECTION_DETAIL = 'sectionDetail'

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

◆ PAGE_SECTION_LIST

const PAGE_SECTION_LIST = 'sectionList'

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

◆ PAGE_SECTION_SAVE

const PAGE_SECTION_SAVE = 'sectionSave'

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

◆ PAGE_SECTION_SEARCH

const PAGE_SECTION_SEARCH = 'sectionSearch'

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

◆ PAGE_SECTION_SEO

const PAGE_SECTION_SEO = 'sectionSeo'

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

◆ PATH_PREFIX

const PATH_PREFIX = ''
protected

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

◆ SLIDER_PATH_VARIABLE

const SLIDER_PATH_VARIABLE = 'slider_path'
protected

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

◆ TYPE_AUTODETECT

const TYPE_AUTODETECT = 'AUTO'

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

◆ TYPE_ID

const TYPE_ID = 'BASE'

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

◆ TYPE_WEIGHT

const TYPE_WEIGHT = null
protected

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