1: <?php
2:
3:
4:
5: namespace Igestis\Modules\Commercial;
6:
7: class ConfigControllers extends \IgestisConfigController {
8: 9: 10: 11: 12:
13: public static function get() {
14: return array(
15:
16:
17: array(
18: "id" => "commercial_accounting_index",
19: "Parameters" => array(
20: "Module" => "Commercial",
21: "Action" => "accounting_index"
22: ),
23: "Controller" => "\Igestis\Modules\Commercial\AccountingController",
24: "Action" => "indexAction",
25: "Access" => array("COMMERCIAL:ADMIN")
26: ),
27:
28: array(
29: "id" => "commercial_purchasing_account_new",
30: "Parameters" => array(
31: "Module" => "Commercial",
32: "Action" => "purchasing_account_new"
33: ),
34: "Controller" => "\Igestis\Modules\Commercial\AccountingController",
35: "Action" => "purchasingAccountNewAction",
36: "Access" => array("COMMERCIAL:ADMIN")
37: ),
38:
39: array(
40: "id" => "commercial_selling_account_new",
41: "Parameters" => array(
42: "Module" => "Commercial",
43: "Action" => "selling_account_new"
44: ),
45: "Controller" => "\Igestis\Modules\Commercial\AccountingController",
46: "Action" => "sellingAccountNewAction",
47: "Access" => array("COMMERCIAL:ADMIN")
48: ),
49:
50: array(
51: "id" => "commercial_purchasing_account_edit",
52: "Parameters" => array(
53: "Module" => "Commercial",
54: "Action" => "purchasing_accounting_edit",
55: "Id" => "{VAR}[0-9]+",
56: ),
57: "Controller" => "\Igestis\Modules\Commercial\AccountingController",
58: "Action" => "purchasingAccountEditAction",
59: "Access" => array("COMMERCIAL:ADMIN")
60: ),
61:
62: array(
63: "id" => "commercial_selling_account_edit",
64: "Parameters" => array(
65: "Module" => "Commercial",
66: "Action" => "selling_accounting_edit",
67: "Id" => "{VAR}[0-9]+",
68: ),
69: "Controller" => "\Igestis\Modules\Commercial\AccountingController",
70: "Action" => "sellingAccountEditAction",
71: "Access" => array("COMMERCIAL:ADMIN")
72: ),
73:
74: array(
75: "id" => "commercial_purchasing_account_delete",
76: "Parameters" => array(
77: "Module" => "Commercial",
78: "Action" => "purchasing_accounting_delete",
79: "Id" => "{VAR}[0-9]+",
80: ),
81: "Controller" => "\Igestis\Modules\Commercial\AccountingController",
82: "Action" => "purchasingAccountDelAction",
83: "Access" => array("COMMERCIAL:ADMIN")
84: ),
85:
86: array(
87: "id" => "commercial_selling_account_delete",
88: "Parameters" => array(
89: "Module" => "Commercial",
90: "Action" => "selling_accounting_delete",
91: "Id" => "{VAR}[0-9]+",
92: ),
93: "Controller" => "\Igestis\Modules\Commercial\AccountingController",
94: "Action" => "sellingAccountDelAction",
95: "Access" => array("COMMERCIAL:ADMIN")
96: ),
97:
98:
99: );
100: }
101: }