APIv4 - Treat navigation permissions as array, add pseudoconstant for operator
[civicrm-core.git] / xml / schema / Friend / Friend.xml
1 <?xml version="1.0" encoding="iso-8859-1" ?>
2
3 <table>
4 <base>CRM/Friend</base>
5 <class>Friend</class>
6 <name>civicrm_tell_friend</name>
7 <add>2.0</add>
8 <field>
9 <name>id</name>
10 <title>Friend ID</title>
11 <type>int unsigned</type>
12 <required>true</required>
13 <comment>Friend ID</comment>
14 <html>
15 <type>Number</type>
16 </html>
17 <add>2.0</add>
18 </field>
19 <primaryKey>
20 <name>id</name>
21 <autoincrement>true</autoincrement>
22 </primaryKey>
23 <field>
24 <name>entity_table</name>
25 <title>Entity Table</title>
26 <type>varchar</type>
27 <length>64</length>
28 <required>true</required>
29 <comment>Name of table where item being referenced is stored.</comment>
30 <add>2.0</add>
31 </field>
32 <field>
33 <name>entity_id</name>
34 <title>Entity ID</title>
35 <type>int unsigned</type>
36 <required>true</required>
37 <comment>Foreign key to the referenced item.</comment>
38 <add>2.0</add>
39 </field>
40 <dynamicForeignKey>
41 <idColumn>entity_id</idColumn>
42 <typeColumn>entity_table</typeColumn>
43 <add>2.0</add>
44 </dynamicForeignKey>
45 <field>
46 <name>title</name>
47 <title>Title</title>
48 <type>varchar</type>
49 <length>255</length>
50 <localizable>true</localizable>
51 <html>
52 <type>Text</type>
53 </html>
54 <add>2.0</add>
55 </field>
56 <field>
57 <name>intro</name>
58 <title>Intro</title>
59 <type>text</type>
60 <localizable>true</localizable>
61 <comment>Introductory message to contributor or participant displayed on the Tell a Friend form.</comment>
62 <html>
63 <type>Text</type>
64 </html>
65 <add>2.0</add>
66 </field>
67 <field>
68 <name>suggested_message</name>
69 <title>Suggested Message</title>
70 <type>text</type>
71 <localizable>true</localizable>
72 <comment>Suggested message to friends, provided as default on the Tell A Friend form.</comment>
73 <html>
74 <type>Text</type>
75 </html>
76 <add>2.0</add>
77 </field>
78 <field>
79 <name>general_link</name>
80 <title>General Link</title>
81 <type>varchar</type>
82 <length>255</length>
83 <import>true</import>
84 <comment>URL for general info about the organization - included in the email sent to friends.</comment>
85 <html>
86 <type>Text</type>
87 </html>
88 <add>2.0</add>
89 </field>
90 <field>
91 <name>thankyou_title</name>
92 <title>Thank You Title</title>
93 <type>varchar</type>
94 <length>255</length>
95 <localizable>true</localizable>
96 <comment>Text for Tell a Friend thank you page header and HTML title.</comment>
97 <html>
98 <type>Text</type>
99 </html>
100 <add>2.0</add>
101 </field>
102 <field>
103 <name>thankyou_text</name>
104 <title>Thank You Text</title>
105 <type>text</type>
106 <localizable>true</localizable>
107 <comment>Thank you message displayed on success page.</comment>
108 <add>2.0</add>
109 <html>
110 <type>Text</type>
111 </html>
112 </field>
113 <field>
114 <name>is_active</name>
115 <title>Enabled?</title>
116 <type>boolean</type>
117 <add>2.0</add>
118 <html>
119 <type>CheckBox</type>
120 </html>
121 </field>
122 </table>