Поля данных | |
const | RIGHT_ADD_FUNDS = 'add_funds' |
const | RIGHT_TRANSACTION_ACTIONS = 'transaction_actions' |
const | RIGHT_SEND_RECEIPT = 'send_receipt' |
const | RIGHT_CORRECTION_RECEIPT = 'correction_receipt' |
const | RIGHT_REFUND_RECEIPT = 'refund_receipt' |
const | RIGHT_MAKE_SHIPMENT = 'make_shipment' |
const | RIGHT_DOCUMENTS_PRINTING = 'documents_printing' |
const | RIGHT_STATUS_READING = 'status_reading' |
const | RIGHT_STATUS_CHANGING = 'status_changing' |
const | RIGHT_CUSTOMER_READING = 'customer_reading' |
const | RIGHT_CUSTOMER_CHANGING = 'customer_changing' |
const | RIGHT_INFORMATION_READING = 'information_reading' |
const | RIGHT_INFORMATION_CHANGING = 'information_changing' |
const | RIGHT_ADDRESS_READING = 'address_reading' |
const | RIGHT_ADDRESS_CHANGING = 'address_changing' |
const | RIGHT_DELIVERY_READING = 'delivery_reading' |
const | RIGHT_DELIVERY_CHANGING = 'delivery_changing' |
const | RIGHT_PAY_READING = 'pay_reading' |
const | RIGHT_PAY_CHANGING = 'pay_changing' |
const | RIGHT_CRM_READING = 'crm_reading' |
const | RIGHT_PRODUCTS_CHANGING = 'products_changing' |
const | RIGHT_PRODUCTS_ADD = 'products_add' |
const | RIGHT_PRODUCTS_DELETE = 'products_delete' |
![]() | |
const | RIGHT_READ = 'read' |
const | RIGHT_CREATE = 'create' |
const | RIGHT_UPDATE = 'update' |
const | RIGHT_DELETE = 'delete' |
![]() | |
$rights = [] | |
$right_groups = [] | |
$root_items | |
$auto_checkers | |
Защищенные члены | |
getSelfModuleRights () | |
![]() | |
getSelfModuleRights () | |
getSelfAutoCheckers () | |
![]() | |
__construct ($module) | |
getSelfModuleRights () | |
getSelfAutoCheckers () | |
addRights ($rights, $parents=[]) | |
Дополнительные унаследованные члены | |
![]() | |
getRights () | |
getRightsTree () | |
hasRight ($alias) | |
getRightTitleWithPath ($alias) | |
checkErrorAutoCheckers ($type, $params) | |
![]() | |
static | getInstance (\RS\Orm\ConfigObject $config) |
static | getRightsDataTree (object $module, array $rights_tree, array $rights=[]) |
![]() | |
$module | |
![]() | |
static | $instance = [] |
|
protected |
Возвращает древовидный список собственных прав модуля
const RIGHT_ADD_FUNDS = 'add_funds' |
const RIGHT_ADDRESS_CHANGING = 'address_changing' |
const RIGHT_ADDRESS_READING = 'address_reading' |
const RIGHT_CORRECTION_RECEIPT = 'correction_receipt' |
const RIGHT_CRM_READING = 'crm_reading' |
const RIGHT_CUSTOMER_CHANGING = 'customer_changing' |
const RIGHT_CUSTOMER_READING = 'customer_reading' |
const RIGHT_DELIVERY_CHANGING = 'delivery_changing' |
const RIGHT_DELIVERY_READING = 'delivery_reading' |
const RIGHT_DOCUMENTS_PRINTING = 'documents_printing' |
const RIGHT_INFORMATION_CHANGING = 'information_changing' |
const RIGHT_INFORMATION_READING = 'information_reading' |
const RIGHT_MAKE_SHIPMENT = 'make_shipment' |
const RIGHT_PAY_CHANGING = 'pay_changing' |
const RIGHT_PAY_READING = 'pay_reading' |
const RIGHT_PRODUCTS_ADD = 'products_add' |
const RIGHT_PRODUCTS_CHANGING = 'products_changing' |
const RIGHT_PRODUCTS_DELETE = 'products_delete' |
const RIGHT_REFUND_RECEIPT = 'refund_receipt' |
const RIGHT_SEND_RECEIPT = 'send_receipt' |
const RIGHT_STATUS_CHANGING = 'status_changing' |
const RIGHT_STATUS_READING = 'status_reading' |
const RIGHT_TRANSACTION_ACTIONS = 'transaction_actions' |