1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс Measure
Граф наследования:Measure:
Controller EventBindInterface Base

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

 getFieldsAction ()
 addAction (array $fields)
 updateAction (int $id, array $fields)
 deleteAction (int $id)
Открытые члены унаследованные от Controller
 getEntity ()
Открытые члены унаследованные от Base
 __construct (BatchManager $batchManager, int $storeId)
 setStoreId (int $storeId)
 writeOff (float $quantity)
 return ()

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

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

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

Открытые статические члены унаследованные от Controller
static getCallbackRestEvent ()
static getHandlers ()
Открытые статические члены унаследованные от EventBindInterface
static getCallbackRestEvent ()
static getHandlers ()
Поля данных унаследованные от 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'
Защищенные статические члены унаследованные от Controller
static getApplication ()
static getGlobalUser ()
static getNavData ($start, $orm=false)
static getBindings ()
Защищенные данные унаследованные от Controller
AccessController $accessController
Защищенные данные унаследованные от Base
int $storeId
BatchManager $batchManager

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

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

Методы

◆ addAction()

addAction ( array $fields)
Аргументы
array$fields
Возвращает
array|null
Исключения

Bitrix\Main\ArgumentException

Исключения

Bitrix\Main\NotImplementedException

Исключения

Bitrix\Main\ObjectPropertyException

Исключения

Bitrix\Main\SystemException

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

◆ checkDefaultValue()

checkDefaultValue ( array $fields)
protected

public function listAction

См. также
ListAction::listAction public function getAction
GetAction::getAction

to ensure compatibility the correct option would be to mark the field as required

См. также
\Bitrix\Catalog\RestView\Measure::getFields().IS_DEFAULT.ATTRIBUTES.REQUIRED

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

◆ checkMeasureBeforeUpdate()

checkMeasureBeforeUpdate ( int $id,
array $fields )
protected

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

◆ checkModifyPermissionEntity()

checkModifyPermissionEntity ( )
protected

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

◆ checkReadPermissionEntity()

checkReadPermissionEntity ( )
protected

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

◆ deleteAction()

deleteAction ( int $id)
Аргументы
int$id
Возвращает
bool|null
Исключения

Bitrix\Main\ArgumentException

Исключения

Bitrix\Main\NotImplementedException

Исключения

Bitrix\Main\ObjectPropertyException

Исключения

Bitrix\Main\SystemException

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

◆ getEntityTable()

getEntityTable ( )
protected

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

◆ getErrorCodeEntityNotExists()

getErrorCodeEntityNotExists ( )
protected

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

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

◆ getFieldsAction()

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

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

◆ updateAction()

updateAction ( int $id,
array $fields )
Аргументы
int$id
array$fields
Возвращает
array|null
Исключения

Bitrix\Main\ArgumentException

Исключения

Bitrix\Main\NotImplementedException

Исключения

Bitrix\Main\ObjectPropertyException

Исключения

Bitrix\Main\SystemException

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


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