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

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

 getFieldsAction ()
 
 addAction (array $fields)
 
 updateAction (int $id, array $fields)
 
 deleteAction (int $id)
 
 listAction (PageNavigation $pageNavigation, array $select=[], array $filter=[], array $order=[])
 
 getAction ($id)
 
- Открытые члены унаследованные от Controller
 getEntity ()
 
- Открытые члены унаследованные от Base
 __construct ()
 
 bindAction (Action $action)
 
 getAction ()
 
 listAllowedScopes ()
 
 onBeforeAction (Event $event)
 
 onAfterAction (Event $event)
 
 getErrors ()
 
 getErrorByCode ($code)
 
 getErrors ()
 
 getErrorByCode ($code)
 

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

 checkDefaultValue (array $fields)
 
 getEntityTable ()
 
 checkModifyPermissionEntity ()
 
 checkReadPermissionEntity ()
 
 checkMeasureBeforeUpdate (int $id, array $fields)
 
- Защищенные члены унаследованные от Controller
 init ()
 
 createViewManager (Action $action)
 
 getViewFields ()
 
 getServiceItemName ()
 
 getServiceListName ()
 
- Защищенные члены унаследованные от Base
 addError (Error $error)
 

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

- Открытые статические члены унаследованные от Controller
static getCallbackRestEvent ()
 
static getHandlers ()
 
- Открытые статические члены унаследованные от Base
static className ()
 
- Открытые статические члены унаследованные от 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
 $errorCollection
 
 $action
 

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

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

Методы

◆ 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

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 строка 168

◆ checkMeasureBeforeUpdate()

checkMeasureBeforeUpdate ( int  $id,
array  $fields 
)
protected

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

◆ checkModifyPermissionEntity()

checkModifyPermissionEntity ( )
protected

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

◆ checkReadPermissionEntity()

checkReadPermissionEntity ( )
protected

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

◆ deleteAction()

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

Bitrix\Main\ArgumentException

Исключения

Bitrix\Main\NotImplementedException

Исключения

Bitrix\Main\ObjectPropertyException

Исключения

Bitrix\Main\SystemException

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

◆ getAction()

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

Bitrix\Main\ArgumentException

Исключения

Bitrix\Main\NotImplementedException

Исключения

Bitrix\Main\ObjectPropertyException

Исключения

Bitrix\Main\SystemException

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

◆ getEntityTable()

getEntityTable ( )
protected

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

◆ getFieldsAction()

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

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

◆ listAction()

listAction ( PageNavigation  $pageNavigation,
array  $select = [],
array  $filter = [],
array  $order = [] 
)
Аргументы
array$select
array$filter
array$order
PageNavigation$pageNavigation
Возвращает
Page
Исключения

Bitrix\Main\ArgumentException

Исключения

Bitrix\Main\NotImplementedException

Исключения

Bitrix\Main\ObjectPropertyException

Исключения

Bitrix\Main\SystemException

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

◆ 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