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

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

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

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

static getAvailableRestDocumentTypes ()
 
- Открытые статические члены унаследованные от Controller
static getCallbackRestEvent ()
 
static getHandlers ()
 
- Открытые статические члены унаследованные от Base
static className ()
 

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

 checkPermissionEntity ($name, $arguments=[])
 
 getEntityTable ()
 
 checkModifyPermissionEntity ()
 
 checkReadPermissionEntity ()
 
- Защищенные члены унаследованные от Controller
 init ()
 
 createViewManager (Action $action)
 
 getViewFields ()
 
 getServiceItemName ()
 
 getServiceListName ()
 
- Защищенные члены унаследованные от Base
 addError (Error $error)
 

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

- Открытые атрибуты унаследованные от 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
 

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

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

Методы

◆ addAction()

addAction ( array  $fields)

Adds new document.

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

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

◆ cancelAction()

cancelAction ( int  $id)

Cancel document.

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

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

◆ cancelListAction()

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

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

◆ checkModifyPermissionEntity()

checkModifyPermissionEntity ( )
protected

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

◆ checkPermissionEntity()

checkPermissionEntity (   $name,
  $arguments = [] 
)
protected
Аргументы
$name
$arguments
Возвращает
Result
Исключения

Bitrix\Main\NotImplementedException

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

◆ checkReadPermissionEntity()

checkReadPermissionEntity ( )
protected

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

◆ conductAction()

conductAction ( int  $id)

Conducts document.

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

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

◆ conductListAction()

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

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

◆ confirmAction()

confirmAction ( int  $id)

Conducts document.

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

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

◆ deleteAction()

deleteAction ( int  $id)

Deletes document by id.

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

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

◆ fieldsAction()

fieldsAction ( )

Return documents fields.

Возвращает
array

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

◆ getAvailableRestDocumentTypes()

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

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

◆ getEntityTable()

getEntityTable ( )
protected

@inheritDoc

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

◆ getFieldsAction()

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

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

◆ listAction()

listAction ( PageNavigation  $pageNavigation,
array  $order = [],
array  $filter = [],
array  $select = [] 
)

Returns list of document.

Аргументы
array$order
array$filter
array$select
PageNavigation$pageNavigation
Возвращает
array

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

◆ unconfirmAction()

unconfirmAction ( int  $id)

Cancellations document.

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

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

◆ updateAction()

updateAction ( int  $id,
array  $fields 
)

Updates document.

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

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