Merge remote-tracking branch 'upstream/4.4' into 4.4-4.5-2014-10-14-11-16-10
[civicrm-core.git] / xml / schema / Core / Menu.xml
index 09d1786e6d6dfa5d7e8e09e1e1e110c58cd04b61..a3adb4adc2fbdbe4f1c083098796e3479b1e124e 100644 (file)
@@ -7,34 +7,39 @@
   <comment>Table to store menu items for all civicrm components.</comment>
   <add>1.1</add>
   <field>
-      <name>id</name>
-      <type>int unsigned</type>
-      <required>true</required>
-      <add>2.1</add>
+    <name>id</name>
+    <type>int unsigned</type>
+    <required>true</required>
+    <add>2.1</add>
   </field>
   <primaryKey>
-       <name>id</name>
-       <autoincrement>true</autoincrement>
+    <name>id</name>
+    <autoincrement>true</autoincrement>
   </primaryKey>
   <field>
-      <name>domain_id</name>
-      <type>int unsigned</type>
-      <required>true</required>
-      <comment>Which Domain is this menu item for</comment>
-      <add>3.0</add>
+    <name>domain_id</name>
+    <type>int unsigned</type>
+    <required>true</required>
+    <pseudoconstant>
+      <table>civicrm_domain</table>
+      <keyColumn>id</keyColumn>
+      <labelColumn>name</labelColumn>
+    </pseudoconstant>
+    <comment>Which Domain is this menu item for</comment>
+    <add>3.0</add>
   </field>
   <foreignKey>
-       <name>domain_id</name>
-       <table>civicrm_domain</table>
-       <key>id</key>
-       <add>3.0</add>
+    <name>domain_id</name>
+    <table>civicrm_domain</table>
+    <key>id</key>
+    <add>3.0</add>
   </foreignKey>
   <field>
-       <name>path</name>
-       <type>varchar</type>
-       <length>255</length>
-       <comment>Path Name</comment>
-       <add>2.1</add>
+    <name>path</name>
+    <type>varchar</type>
+    <length>255</length>
+    <comment>Path Name</comment>
+    <add>2.1</add>
   </field>
   <index>
     <name>UI_path_domain_id</name>
     <add>2.1</add>
   </field>
   <field>
-       <name>title</name>
-       <type>varchar</type>
-       <length>255</length>
-       <comment>Menu Title</comment>
-       <add>2.1</add>
+    <name>title</name>
+    <type>varchar</type>
+    <length>255</length>
+    <comment>Menu Title</comment>
+    <add>2.1</add>
   </field>
   <field>
     <name>access_callback</name>
       <keyColumn>id</keyColumn>
       <labelColumn>name</labelColumn>
     </pseudoconstant>
+    <html>
+      <type>Select</type>
+    </html>
   </field>
   <foreignKey>
-       <name>component_id</name>
-       <table>civicrm_component</table>
-       <key>id</key>
-       <add>2.1</add>
+    <name>component_id</name>
+    <table>civicrm_component</table>
+    <key>id</key>
+    <add>2.1</add>
   </foreignKey>
   <field>
-       <name>is_active</name>
-       <type>boolean</type>
-       <comment>Is this menu item active?</comment>
-       <add>2.1</add>
+    <name>is_active</name>
+    <type>boolean</type>
+    <comment>Is this menu item active?</comment>
+    <add>2.1</add>
   </field>
   <field>
-       <name>is_public</name>
-       <type>boolean</type>
-       <comment>Is this menu accessible to the public?</comment>
-       <add>2.1</add>
+    <name>is_public</name>
+    <type>boolean</type>
+    <comment>Is this menu accessible to the public?</comment>
+    <add>2.1</add>
   </field>
   <field>
-       <name>is_exposed</name>
-       <type>boolean</type>
-       <comment>Is this menu exposed to the navigation system?</comment>
-       <add>2.1</add>
+    <name>is_exposed</name>
+    <type>boolean</type>
+    <comment>Is this menu exposed to the navigation system?</comment>
+    <add>2.1</add>
   </field>
   <field>
-       <name>is_ssl</name>
-       <type>boolean</type>
-       <comment>Should this menu be exposed via SSL if enabled?</comment>
-       <add>2.1</add>
+    <name>is_ssl</name>
+    <type>boolean</type>
+    <comment>Should this menu be exposed via SSL if enabled?</comment>
+    <add>2.1</add>
   </field>
   <field>
-      <name>weight</name>
-      <type>int</type>
-      <required>true</required>
-      <default>1</default>
-      <comment>Ordering of the menu items in various blocks.</comment>
-      <add>2.1</add>
+    <name>weight</name>
+    <type>int</type>
+    <required>true</required>
+    <default>1</default>
+    <comment>Ordering of the menu items in various blocks.</comment>
+    <add>2.1</add>
   </field>
   <field>
-      <name>type</name>
-      <type>int</type>
-      <required>true</required>
-      <default>1</default>
-      <comment>Drupal menu type.</comment>
-      <add>2.1</add>
+    <name>type</name>
+    <type>int</type>
+    <required>true</required>
+    <default>1</default>
+    <comment>Drupal menu type.</comment>
+    <add>2.1</add>
   </field>
   <field>
-      <name>page_type</name>
-      <type>int</type>
-      <required>true</required>
-      <default>1</default>
-      <comment>CiviCRM menu type.</comment>
-      <add>2.1</add>
+    <name>page_type</name>
+    <type>int</type>
+    <required>true</required>
+    <default>1</default>
+    <comment>CiviCRM menu type.</comment>
+    <add>2.1</add>
   </field>
   <field>
-      <name>skipBreadcrumb</name>
-      <type>boolean</type>
-      <comment>skip this url being exposed to breadcrumb</comment>
-      <add>2.2</add>
+    <name>skipBreadcrumb</name>
+    <type>boolean</type>
+    <comment>skip this url being exposed to breadcrumb</comment>
+    <add>2.2</add>
   </field>
 </table>