| 1 | <?xml version="1.0" encoding="iso-8859-1" ?> |
| 2 | |
| 3 | <table> |
| 4 | <base>CRM/Core</base> |
| 5 | <class>Menu</class> |
| 6 | <name>civicrm_menu</name> |
| 7 | <comment>Table to store menu items for all civicrm components.</comment> |
| 8 | <add>1.1</add> |
| 9 | <field> |
| 10 | <name>id</name> |
| 11 | <type>int unsigned</type> |
| 12 | <required>true</required> |
| 13 | <add>2.1</add> |
| 14 | </field> |
| 15 | <primaryKey> |
| 16 | <name>id</name> |
| 17 | <autoincrement>true</autoincrement> |
| 18 | </primaryKey> |
| 19 | <field> |
| 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 menu item for</comment> |
| 29 | <add>3.0</add> |
| 30 | </field> |
| 31 | <foreignKey> |
| 32 | <name>domain_id</name> |
| 33 | <table>civicrm_domain</table> |
| 34 | <key>id</key> |
| 35 | <add>3.0</add> |
| 36 | </foreignKey> |
| 37 | <field> |
| 38 | <name>path</name> |
| 39 | <type>varchar</type> |
| 40 | <length>255</length> |
| 41 | <comment>Path Name</comment> |
| 42 | <add>2.1</add> |
| 43 | </field> |
| 44 | <index> |
| 45 | <name>UI_path_domain_id</name> |
| 46 | <fieldName>path</fieldName> |
| 47 | <fieldName>domain_id</fieldName> |
| 48 | <unique>true</unique> |
| 49 | <add>2.1</add> |
| 50 | </index> |
| 51 | <field> |
| 52 | <name>path_arguments</name> |
| 53 | <type>text</type> |
| 54 | <comment>Arguments to pass to the url</comment> |
| 55 | <add>2.1</add> |
| 56 | </field> |
| 57 | <field> |
| 58 | <name>title</name> |
| 59 | <type>varchar</type> |
| 60 | <length>255</length> |
| 61 | <comment>Menu Title</comment> |
| 62 | <add>2.1</add> |
| 63 | </field> |
| 64 | <field> |
| 65 | <name>access_callback</name> |
| 66 | <type>varchar</type> |
| 67 | <length>255</length> |
| 68 | <comment>Function to call to check access permissions</comment> |
| 69 | <add>2.1</add> |
| 70 | </field> |
| 71 | <field> |
| 72 | <name>access_arguments</name> |
| 73 | <type>text</type> |
| 74 | <comment>Arguments to pass to access callback</comment> |
| 75 | <add>2.1</add> |
| 76 | </field> |
| 77 | <field> |
| 78 | <name>page_callback</name> |
| 79 | <type>varchar</type> |
| 80 | <length>255</length> |
| 81 | <comment>function to call for this url</comment> |
| 82 | <add>2.1</add> |
| 83 | </field> |
| 84 | <field> |
| 85 | <name>page_arguments</name> |
| 86 | <type>text</type> |
| 87 | <comment>Arguments to pass to page callback</comment> |
| 88 | <add>2.1</add> |
| 89 | </field> |
| 90 | <field> |
| 91 | <name>breadcrumb</name> |
| 92 | <type>text</type> |
| 93 | <comment>Breadcrumb for the path.</comment> |
| 94 | <add>2.1</add> |
| 95 | </field> |
| 96 | <field> |
| 97 | <name>return_url</name> |
| 98 | <type>varchar</type> |
| 99 | <length>255</length> |
| 100 | <comment>Url where a page should redirected to, if next url not known.</comment> |
| 101 | <add>2.1</add> |
| 102 | </field> |
| 103 | <field> |
| 104 | <name>return_url_args</name> |
| 105 | <type>varchar</type> |
| 106 | <length>255</length> |
| 107 | <comment>Arguments to pass to return_url</comment> |
| 108 | <add>2.1</add> |
| 109 | </field> |
| 110 | <field> |
| 111 | <name>component_id</name> |
| 112 | <type>int unsigned</type> |
| 113 | <comment>Component that this menu item belongs to</comment> |
| 114 | <add>2.1</add> |
| 115 | <pseudoconstant> |
| 116 | <table>civicrm_component</table> |
| 117 | <keyColumn>id</keyColumn> |
| 118 | <labelColumn>name</labelColumn> |
| 119 | </pseudoconstant> |
| 120 | <html> |
| 121 | <type>Select</type> |
| 122 | </html> |
| 123 | </field> |
| 124 | <foreignKey> |
| 125 | <name>component_id</name> |
| 126 | <table>civicrm_component</table> |
| 127 | <key>id</key> |
| 128 | <add>2.1</add> |
| 129 | </foreignKey> |
| 130 | <field> |
| 131 | <name>is_active</name> |
| 132 | <type>boolean</type> |
| 133 | <comment>Is this menu item active?</comment> |
| 134 | <add>2.1</add> |
| 135 | </field> |
| 136 | <field> |
| 137 | <name>is_public</name> |
| 138 | <type>boolean</type> |
| 139 | <comment>Is this menu accessible to the public?</comment> |
| 140 | <add>2.1</add> |
| 141 | </field> |
| 142 | <field> |
| 143 | <name>is_exposed</name> |
| 144 | <type>boolean</type> |
| 145 | <comment>Is this menu exposed to the navigation system?</comment> |
| 146 | <add>2.1</add> |
| 147 | </field> |
| 148 | <field> |
| 149 | <name>is_ssl</name> |
| 150 | <type>boolean</type> |
| 151 | <comment>Should this menu be exposed via SSL if enabled?</comment> |
| 152 | <add>2.1</add> |
| 153 | </field> |
| 154 | <field> |
| 155 | <name>weight</name> |
| 156 | <type>int</type> |
| 157 | <required>true</required> |
| 158 | <default>1</default> |
| 159 | <comment>Ordering of the menu items in various blocks.</comment> |
| 160 | <add>2.1</add> |
| 161 | </field> |
| 162 | <field> |
| 163 | <name>type</name> |
| 164 | <type>int</type> |
| 165 | <required>true</required> |
| 166 | <default>1</default> |
| 167 | <comment>Drupal menu type.</comment> |
| 168 | <add>2.1</add> |
| 169 | </field> |
| 170 | <field> |
| 171 | <name>page_type</name> |
| 172 | <type>int</type> |
| 173 | <required>true</required> |
| 174 | <default>1</default> |
| 175 | <comment>CiviCRM menu type.</comment> |
| 176 | <add>2.1</add> |
| 177 | </field> |
| 178 | <field> |
| 179 | <name>skipBreadcrumb</name> |
| 180 | <type>boolean</type> |
| 181 | <comment>skip this url being exposed to breadcrumb</comment> |
| 182 | <add>2.2</add> |
| 183 | </field> |
| 184 | </table> |