1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс Controller
Граф наследования:Controller:
Base Catalog Document DocumentContractor Enum Extra Measure Price PriceType PriceTypeGroup PriceTypeLang Product ProductImage ProductPropertyBase Ratio RoundingRule Section Store StoreProduct Document Vat

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

 getEntity ()
Открытые члены унаследованные от Base
 __construct (BatchManager $batchManager, int $storeId)
 setStoreId (int $storeId)
 writeOff (float $quantity)
 return ()

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

static getCallbackRestEvent ()
static getHandlers ()

Поля данных

const IBLOCK_READ = 'iblock_admin_display'
const IBLOCK_ELEMENT_READ = 'element_read'
const IBLOCK_ELEMENT_EDIT = 'element_edit'
const IBLOCK_ELEMENT_DELETE = 'element_delete'
const IBLOCK_SECTION_READ = 'section_read'
const IBLOCK_SECTION_EDIT = 'section_edit'
const IBLOCK_SECTION_DELETE = 'section_delete'
const IBLOCK_ELEMENT_EDIT_PRICE = 'element_edit_price'
const IBLOCK_SECTION_SECTION_BIND = 'section_section_bind'
const IBLOCK_ELEMENT_SECTION_BIND = 'section_element_bind'
const IBLOCK_EDIT = 'iblock_edit'
const CATALOG_STORE = ActionDictionary::ACTION_STORE_VIEW
const CATALOG_READ = ActionDictionary::ACTION_CATALOG_READ
const CATALOG_GROUP = ActionDictionary::ACTION_PRICE_GROUP_EDIT
const CATALOG_VAT = ActionDictionary::ACTION_VAT_EDIT
const ERROR_ACCESS_DENIED = 'Access denied'

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

 init ()
 createViewManager (Action $action)
 getViewFields ()
 getServiceItemName ()
 getServiceListName ()
 getServiceEntityName ()
 getErrorCodeEntityNotExists ()
 getErrorEntityNotExists ()
 addErrorEntityNotExists ()
 getErrorCodeModifyAccessDenied ()
 getErrorModifyAccessDenied ()
 getErrorCodeReadAccessDenied ()
 getErrorReadAccessDenied ()
Защищенные члены унаследованные от Base
 addRegistryItem (EO_StoreBatch $batchItem, float $amount)
 getRegistryItems ()

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

static getApplication ()
static getGlobalUser ()
static getNavData ($start, $orm=false)
static getBindings ()

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

AccessController $accessController
Защищенные данные унаследованные от Base
int $storeId
BatchManager $batchManager

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

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

Методы

◆ addErrorEntityNotExists()

addErrorEntityNotExists ( )
protected

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

◆ createViewManager()

createViewManager ( Action $action)
protected

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

◆ getApplication()

getApplication ( )
staticprotected

@global \CMain $APPLICATION

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

◆ getBindings()

getBindings ( )
staticprotected

Get bindings from PHP events to REST events

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

Переопределяется в PriceType и Product.

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

◆ getCallbackRestEvent()

getCallbackRestEvent ( )
static

Переопределяется в PriceType и Product.

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

◆ getEntity()

getEntity ( )
Возвращает
\Bitrix\Main\ORM\Entity
Исключения

Bitrix\Main\ArgumentException

Исключения

Bitrix\Main\NotImplementedException

Исключения

Bitrix\Main\SystemException

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

◆ getErrorCodeEntityNotExists()

getErrorCodeEntityNotExists ( )
protected

Переопределяется в Extra, Measure, PriceType, PriceTypeLang, RoundingRule, Section, Store и Vat.

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

◆ getErrorCodeModifyAccessDenied()

getErrorCodeModifyAccessDenied ( )
protected

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

◆ getErrorCodeReadAccessDenied()

getErrorCodeReadAccessDenied ( )
protected

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

◆ getErrorEntityNotExists()

getErrorEntityNotExists ( )
protected

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

◆ getErrorModifyAccessDenied()

getErrorModifyAccessDenied ( )
protected

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

◆ getErrorReadAccessDenied()

getErrorReadAccessDenied ( )
protected

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

◆ getGlobalUser()

getGlobalUser ( )
staticprotected

Strongly disallowed to use.

Возвращает
null|\CUser

@global \CUser $USER

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

◆ getHandlers()

getHandlers ( )
static

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

◆ getNavData()

getNavData ( $start,
$orm = false )
staticprotected

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

◆ getServiceEntityName()

getServiceEntityName ( )
protected

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

◆ getServiceItemName()

getServiceItemName ( )
protected

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

◆ getServiceListName()

getServiceListName ( )
protected

Переопределяется в Sku и ProductProperty.

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

◆ getViewFields()

getViewFields ( )
protected

Get fields rest-view

Возвращает
array|null

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

◆ init()

init ( )
protected

@inheritDoc

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

Поля

◆ $accessController

AccessController $accessController
protected

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

◆ CATALOG_GROUP

const CATALOG_GROUP = ActionDictionary::ACTION_PRICE_GROUP_EDIT

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

◆ CATALOG_READ

const CATALOG_READ = ActionDictionary::ACTION_CATALOG_READ

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

◆ CATALOG_STORE

const CATALOG_STORE = ActionDictionary::ACTION_STORE_VIEW

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

◆ CATALOG_VAT

const CATALOG_VAT = ActionDictionary::ACTION_VAT_EDIT

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

◆ ERROR_ACCESS_DENIED

const ERROR_ACCESS_DENIED = 'Access denied'

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

◆ IBLOCK_EDIT

const IBLOCK_EDIT = 'iblock_edit'

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

◆ IBLOCK_ELEMENT_DELETE

const IBLOCK_ELEMENT_DELETE = 'element_delete'

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

◆ IBLOCK_ELEMENT_EDIT

const IBLOCK_ELEMENT_EDIT = 'element_edit'

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

◆ IBLOCK_ELEMENT_EDIT_PRICE

const IBLOCK_ELEMENT_EDIT_PRICE = 'element_edit_price'

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

◆ IBLOCK_ELEMENT_READ

const IBLOCK_ELEMENT_READ = 'element_read'

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

◆ IBLOCK_ELEMENT_SECTION_BIND

const IBLOCK_ELEMENT_SECTION_BIND = 'section_element_bind'

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

◆ IBLOCK_READ

const IBLOCK_READ = 'iblock_admin_display'

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

◆ IBLOCK_SECTION_DELETE

const IBLOCK_SECTION_DELETE = 'section_delete'

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

◆ IBLOCK_SECTION_EDIT

const IBLOCK_SECTION_EDIT = 'section_edit'

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

◆ IBLOCK_SECTION_READ

const IBLOCK_SECTION_READ = 'section_read'

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

◆ IBLOCK_SECTION_SECTION_BIND

const IBLOCK_SECTION_SECTION_BIND = 'section_section_bind'

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


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