Commit | Line | Data |
---|---|---|
6a488035 TO |
1 | <?xml version="1.0" encoding="iso-8859-1" ?> |
2 | ||
3 | <table> | |
4 | <base>CRM/Core</base> | |
5 | <class>Navigation</class> | |
6 | <name>civicrm_navigation</name> | |
7 | <comment>Table to store navigation.</comment> | |
8 | <add>3.0</add> | |
9 | <field> | |
8f069c03 EM |
10 | <name>id</name> |
11 | <type>int unsigned</type> | |
12 | <required>true</required> | |
13 | <add>3.0</add> | |
6a488035 TO |
14 | </field> |
15 | <primaryKey> | |
8f069c03 EM |
16 | <name>id</name> |
17 | <autoincrement>true</autoincrement> | |
6a488035 TO |
18 | </primaryKey> |
19 | <field> | |
8f069c03 EM |
20 | <name>domain_id</name> |
21 | <type>int unsigned</type> | |
22 | <required>true</required> | |
23 | <pseudoconstant> | |
24 | <table>civicrm_domain</table> | |
25 | <keyColumn>id</keyColumn> | |
26 | <labelColumn>name</labelColumn> | |
27 | </pseudoconstant> | |
28 | <comment>Which Domain is this navigation item for</comment> | |
29 | <add>3.0</add> | |
6a488035 TO |
30 | </field> |
31 | <foreignKey> | |
8f069c03 EM |
32 | <name>domain_id</name> |
33 | <table>civicrm_domain</table> | |
34 | <key>id</key> | |
35 | <add>3.0</add> | |
6a488035 TO |
36 | </foreignKey> |
37 | <field> | |
8f069c03 EM |
38 | <name>label</name> |
39 | <type>varchar</type> | |
40 | <length>255</length> | |
41 | <comment>Navigation Title</comment> | |
42 | <add>3.0</add> | |
6a488035 TO |
43 | </field> |
44 | <field> | |
8f069c03 EM |
45 | <name>name</name> |
46 | <type>varchar</type> | |
47 | <length>255</length> | |
48 | <comment>Internal Name</comment> | |
49 | <add>3.0</add> | |
6a488035 TO |
50 | </field> |
51 | <field> | |
52 | <name>url</name> | |
53 | <type>varchar</type> | |
54 | <length>255</length> | |
55 | <comment>url in case of custom navigation link</comment> | |
56 | <add>3.0</add> | |
57 | </field> | |
58 | <field> | |
8f069c03 EM |
59 | <name>permission</name> |
60 | <type>varchar</type> | |
61 | <length>255</length> | |
62 | <comment>Permission for menu item</comment> | |
63 | <add>3.0</add> | |
6a488035 TO |
64 | </field> |
65 | <field> | |
8f069c03 EM |
66 | <name>permission_operator</name> |
67 | <type>varchar</type> | |
68 | <length>3</length> | |
69 | <comment>Permission Operator</comment> | |
70 | <add>3.0</add> | |
6a488035 TO |
71 | </field> |
72 | <field> | |
8f069c03 EM |
73 | <name>parent_id</name> |
74 | <type>int unsigned</type> | |
75 | <comment>Parent navigation item, used for grouping</comment> | |
76 | <add>3.0</add> | |
6a488035 TO |
77 | </field> |
78 | <foreignKey> | |
8f069c03 EM |
79 | <name>parent_id</name> |
80 | <table>civicrm_navigation</table> | |
81 | <key>id</key> | |
82 | <onDelete>CASCADE</onDelete> | |
83 | <add>3.0</add> | |
6a488035 TO |
84 | </foreignKey> |
85 | <field> | |
8f069c03 EM |
86 | <name>is_active</name> |
87 | <type>boolean</type> | |
88 | <comment>Is this navigation item active?</comment> | |
89 | <add>3.0</add> | |
6a488035 TO |
90 | </field> |
91 | <field> | |
8f069c03 EM |
92 | <name>has_separator</name> |
93 | <type>boolean</type> | |
94 | <comment>If separator needs to be added after this menu item</comment> | |
95 | <add>3.0</add> | |
6a488035 TO |
96 | </field> |
97 | <field> | |
98 | <name>weight</name> | |
99 | <type>int</type> | |
100 | <comment>Ordering of the navigation items in various blocks.</comment> | |
101 | <add>3.0</add> | |
102 | </field> | |
103 | </table> |