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

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

 addAction (array $fields)
 
 updateAction (int $id, array $fields)
 
 deleteAction (int $id)
 
 getFieldsAction ()
 
 listAction (PageNavigation $pageNavigation, array $select=[], array $filter=[], array $order=[])
 
 getAction ($id)
 
- Открытые члены унаследованные от Controller
 getEntity ()
 
- Открытые члены унаследованные от Base
 __construct (BatchManager $batchManager, int $storeId)
 
 setStoreId (int $storeId)
 
 writeOff (float $quantity)
 
 return ()
 

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

static getCallbackRestEvent ()
 
static processItemEvent (array $arParams, array $arHandler)
 
- Открытые статические члены унаследованные от Controller
static getHandlers ()
 
- Открытые статические члены унаследованные от EventBindInterface
static getHandlers ()
 

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

const EVENT_ON_ADD = 'OnGroupAdd'
 
const EVENT_ON_UPDATE = 'OnGroupUpdate'
 
const EVENT_ON_DELETE = 'OnGroupDelete'
 
- Открытые атрибуты унаследованные от Controller
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'
 

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

 getEntityTable ()
 
 exists ($id)
 
- Защищенные члены унаследованные от Controller
 init ()
 
 createViewManager (Action $action)
 
 getViewFields ()
 
 getServiceItemName ()
 
 getServiceListName ()
 
- Защищенные члены унаследованные от Base
 addRegistryItem (EO_StoreBatch $batchItem, float $amount)
 
 getRegistryItems ()
 

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

static getBindings ()
 
- Защищенные статические члены унаследованные от Controller
static getApplication ()
 
static getGlobalUser ()
 
static getNavData ($start, $orm=false)
 

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

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

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

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

Методы

◆ addAction()

addAction ( array $fields)
Аргументы
array$fields
Возвращает
array|null

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

◆ deleteAction()

deleteAction ( int $id)
Аргументы
int$id
Возвращает
bool|null

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

◆ exists()

exists ( $id)
protected

@inheritDoc

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

◆ getAction()

getAction ( $id)
Аргументы
$id
Возвращает
array|null

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

◆ getBindings()

static getBindings ( )
staticprotected

Get bindings from PHP events to REST events

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

Переопределяет метод предка Controller.

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

◆ getCallbackRestEvent()

static getCallbackRestEvent ( )
static

@inheritDoc

Переопределяет метод предка Controller.

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

◆ getEntityTable()

getEntityTable ( )
protected

@inheritDoc

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

◆ getFieldsAction()

getFieldsAction ( )
Возвращает
array

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

◆ listAction()

listAction ( PageNavigation $pageNavigation,
array $select = [],
array $filter = [],
array $order = [] )
Аргументы
array$select
array$filter
array$order
PageNavigation | null$pageNavigation
Возвращает
Page

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

◆ processItemEvent()

static processItemEvent ( array $arParams,
array $arHandler )
static
Аргументы
array$arParams
array$arHandler
Возвращает
array[]

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

◆ updateAction()

updateAction ( int $id,
array $fields )
Аргументы
int$id
array$fields
Возвращает
array|null

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

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

◆ EVENT_ON_ADD

const EVENT_ON_ADD = 'OnGroupAdd'

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

◆ EVENT_ON_DELETE

const EVENT_ON_DELETE = 'OnGroupDelete'

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

◆ EVENT_ON_UPDATE

const EVENT_ON_UPDATE = 'OnGroupUpdate'

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