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

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

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

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

const TYPE_ID = 'SHOP'
 
const OPEN_SETTINGS_PARAM = 'open_settings_page'
 
const PAGE_CSV_IMPORT = 'csvImport'
 
if(! $this->request->isAdminSection()) return false
 

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

 initConfig ()
 
 isUiCatalog ()
 
 initUrlTemplates ()
 
 getSliderPathTemplates ()
 
 getSettingsSlider ()
 

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

static getOnSaveEventName ()
 

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

const TYPE_WEIGHT = 300
 
const PATH_PREFIX = '/shop/settings/'
 
const PATH_DETAIL_CARD_PREFIX = '/shop/catalog/'
 

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

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

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

◆ __construct()

__construct ( )

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

Методы

◆ getContextMenuItems()

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

Returns grid context menu for public inventory section.

Аргументы
string$pageType
array$items
array$options
Возвращает
array|null

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

◆ getOnSaveEventName()

static getOnSaveEventName ( )
staticprotected

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

◆ getSettingsSlider()

getSettingsSlider ( )
protected

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

◆ getSliderPathTemplates()

getSliderPathTemplates ( )
protected

Returns regular expression's list for check urls.

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

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

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

◆ initConfig()

initConfig ( )
protected

Url builder config initialization.

Возвращает
void

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

◆ initUrlTemplates()

initUrlTemplates ( )
protected

Fill url templates list.

Возвращает
void

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

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

◆ isUiCatalog()

isUiCatalog ( )
protected

Returns true, if enabled new product card.

Возвращает
bool

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

◆ openSettingsPage()

openSettingsPage ( )

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

◆ subscribeOnAfterSettingsSave()

subscribeOnAfterSettingsSave ( )

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

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

◆ false

if (! $this->request->isAdminSection()) return false

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

◆ OPEN_SETTINGS_PARAM

const OPEN_SETTINGS_PARAM = 'open_settings_page'

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

◆ PAGE_CSV_IMPORT

const PAGE_CSV_IMPORT = 'csvImport'

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

◆ PATH_DETAIL_CARD_PREFIX

const PATH_DETAIL_CARD_PREFIX = '/shop/catalog/'
protected

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

◆ PATH_PREFIX

const PATH_PREFIX = '/shop/settings/'
protected

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

◆ TYPE_ID

const TYPE_ID = 'SHOP'

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

◆ TYPE_WEIGHT

const TYPE_WEIGHT = 300
protected

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