Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
registry.php
1<?php
2
3
5
6
8{
9 const UNDEFINED = 'undefined';
10 const SALE_ORDER = 'sale_order';
11 const SALE_ORDER_CREATE = 'sale_order_create';
12 const SALE_ORDER_EDIT = 'sale_order_edit';
13 const SALE_ORDER_VIEW = 'sale_order_view';
14 const SALE_ORDER_PRINT = 'sale_order_print';
15 const SALE_ORDER_PRINT_NEW = 'sale_order_print_new';
16 const SALE_ORDER_PAYMENT = 'sale_order_payment';
17 const SALE_ORDER_PAYMENT_EDIT = 'sale_order_payment_edit';
18 const SALE_ORDER_SHIPMENT = 'sale_order_shipment';
19 const SALE_ORDER_SHIPMENT_EDIT = 'sale_order_shipment_edit';
20 const SALE_DELIVERY_REQUEST_VIEW = 'sale_delivery_request_view';
21 const SALE_DELIVERY_REQUEST = 'sale_delivery_request';
22
23 public static function getRegistry()
24 {
25 return [
27 Registry::SALE_ORDER => '/bitrix/admin/sale_order.php',
28 Registry::SALE_ORDER_CREATE => '/bitrix/admin/sale_order_create.php',
29 Registry::SALE_ORDER_EDIT => '/bitrix/admin/sale_order_edit.php',
30 Registry::SALE_ORDER_VIEW => '/bitrix/admin/sale_order_view.php',
31 Registry::SALE_ORDER_PRINT => '/bitrix/admin/sale_order_print.php',
32 Registry::SALE_ORDER_PRINT_NEW => '/bitrix/admin/sale_order_print_new.php',
33 Registry::SALE_ORDER_PAYMENT => '/bitrix/admin/sale_order_payment.php',
34 Registry::SALE_ORDER_PAYMENT_EDIT => '/bitrix/admin/sale_order_payment_edit.php',
35 Registry::SALE_ORDER_SHIPMENT => '/bitrix/admin/sale_order_shipment.php',
36 Registry::SALE_ORDER_SHIPMENT_EDIT => '/bitrix/admin/sale_order_shipment_edit.php',
37 Registry::SALE_DELIVERY_REQUEST_VIEW => '/bitrix/admin/sale_delivery_request_view.php',
38 Registry::SALE_DELIVERY_REQUEST => '/bitrix/admin/sale_delivery_request.php'
39 ],
41 Registry::SALE_ORDER => '/bitrix/admin/sale_order.php',
42 Registry::SALE_ORDER_CREATE => '/bitrix/admin/sale_order_create.php',
43 Registry::SALE_ORDER_EDIT => '/bitrix/admin/sale_order_edit.php',
44 Registry::SALE_ORDER_VIEW => '/bitrix/admin/sale_order_view.php',
45 Registry::SALE_ORDER_PRINT => '/bitrix/admin/sale_order_print.php',
46 Registry::SALE_ORDER_PRINT_NEW => '/bitrix/admin/sale_order_print_new.php',
47 Registry::SALE_ORDER_PAYMENT => '/bitrix/admin/sale_order.php',
48 Registry::SALE_ORDER_PAYMENT_EDIT => '/bitrix/admin/sale_order_payment_edit.php',
49 Registry::SALE_ORDER_SHIPMENT => '/bitrix/admin/sale_order.php',
50 Registry::SALE_ORDER_SHIPMENT_EDIT => '/bitrix/admin/sale_order_shipment_edit.php',
51 Registry::SALE_DELIVERY_REQUEST_VIEW => '/bitrix/admin/sale_delivery_request_view.php',
52 Registry::SALE_DELIVERY_REQUEST => '/bitrix/admin/sale_delivery_request.php'
53 ],
54 ];
55 }
56}