Commit | Line | Data |
---|---|---|
6a488035 TO |
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 | <type>int unsigned</type> | |
11 | <required>true</required> | |
12 | </field> | |
13 | <primaryKey> | |
14 | <name>id</name> | |
15 | <autoincrement>true</autoincrement> | |
16 | </primaryKey> | |
17 | <field> | |
18 | <name>name</name> | |
19 | <title>Component Name</title> | |
20 | <type>varchar</type> | |
21 | <length>64</length> | |
22 | <comment>The name of this component</comment> | |
23 | </field> | |
24 | <field> | |
25 | <name>component_type</name> | |
26 | <type>enum</type> | |
27 | <values>Header, Footer, Subscribe, Welcome, Unsubscribe, OptOut, Reply, Resubscribe</values> | |
28 | <comment>Type of Component.</comment> | |
614d72ec | 29 | <html> |
30 | <type>Select</type> | |
31 | </html> | |
6a488035 TO |
32 | </field> |
33 | <field> | |
34 | <name>subject</name> | |
35 | <type>varchar</type> | |
36 | <length>255</length> | |
37 | </field> | |
38 | <field> | |
39 | <name>body_html</name> | |
40 | <type>text</type> | |
41 | <comment>Body of the component in html format.</comment> | |
7deea513 | 42 | <html> |
43 | <type>TextArea</type> | |
817807ab | 44 | <rows>8</rows> |
45 | <cols>80</cols> | |
7deea513 | 46 | </html> |
817807ab | 47 | </field> |
6a488035 TO |
48 | <field> |
49 | <name>body_text</name> | |
50 | <type>text</type> | |
51 | <comment>Body of the component in text format.</comment> | |
7deea513 | 52 | <html> |
53 | <type>TextArea</type> | |
817807ab | 54 | <rows>8</rows> |
55 | <cols>80</cols> | |
7deea513 | 56 | </html> |
817807ab | 57 | </field> |
6a488035 TO |
58 | <field> |
59 | <name>is_default</name> | |
60 | <type>boolean</type> | |
61 | <default>0</default> | |
62 | <comment>Is this the default component for this component_type?</comment> | |
63 | </field> | |
64 | <field> | |
65 | <name>is_active</name> | |
66 | <type>boolean</type> | |
67 | <comment>Is this property active?</comment> | |
68 | </field> | |
69 | </table> |