commiting uncommited changes on live site
[weblabels.fsf.org.git] / crm.fsf.org / 20131203 / files / sites / all / modules-new / civicrm / xml / schema / Mailing / Component.xml
1 <?xml version="1.0" encoding="iso-8859-1" ?>
2
3 <table>
4 <base>CRM/Mailing</base>
5 <class>Component</class>
6 <name>civicrm_mailing_component</name>
7 <comment>Stores information about the mailing components (header/footer).</comment>
8 <field>
9 <name>id</name>
10 <title>Mailing Component ID</title>
11 <type>int unsigned</type>
12 <required>true</required>
13 </field>
14 <primaryKey>
15 <name>id</name>
16 <autoincrement>true</autoincrement>
17 </primaryKey>
18 <field>
19 <name>name</name>
20 <title>Component Name</title>
21 <type>varchar</type>
22 <length>64</length>
23 <comment>The name of this component</comment>
24 </field>
25 <field>
26 <name>component_type</name>
27 <title>Mailing Component Type</title>
28 <type>varchar</type>
29 <length>12</length>
30 <comment>Type of Component.</comment>
31 <pseudoconstant>
32 <callback>CRM_Core_SelectValues::mailingComponents</callback>
33 </pseudoconstant>
34 <html>
35 <type>Select</type>
36 </html>
37 </field>
38 <field>
39 <name>subject</name>
40 <type>varchar</type>
41 <length>255</length>
42 </field>
43 <field>
44 <name>body_html</name>
45 <title>Mailing Component Body HTML</title>
46 <type>text</type>
47 <comment>Body of the component in html format.</comment>
48 <html>
49 <type>TextArea</type>
50 <rows>8</rows>
51 <cols>80</cols>
52 </html>
53 </field>
54 <field>
55 <name>body_text</name>
56 <type>text</type>
57 <comment>Body of the component in text format.</comment>
58 <html>
59 <type>TextArea</type>
60 <rows>8</rows>
61 <cols>80</cols>
62 </html>
63 </field>
64 <field>
65 <name>is_default</name>
66 <title>Mailing Component is Default?</title>
67 <type>boolean</type>
68 <default>0</default>
69 <comment>Is this the default component for this component_type?</comment>
70 </field>
71 <field>
72 <name>is_active</name>
73 <title>Mailing Component Is Active?</title>
74 <type>boolean</type>
75 <comment>Is this property active?</comment>
76 </field>
77 </table>