Commit | Line | Data |
---|---|---|
6a488035 TO |
1 | <?xml version="1.0" encoding="utf-8" ?> |
2 | <table> | |
3 | <base>CRM/Event</base> | |
4 | <class>ParticipantStatusType</class> | |
5 | <name>civicrm_participant_status_type</name> | |
6 | <comment>various types of CiviEvent participant statuses</comment> | |
7 | <add>3.0</add> | |
8 | <log>true</log> | |
9 | <field> | |
10 | <name>id</name> | |
0d94665e | 11 | <title>Participant Status Type ID</title> |
6a488035 TO |
12 | <type>int unsigned</type> |
13 | <required>true</required> | |
14 | <comment>unique participant status type id</comment> | |
15 | <add>3.0</add> | |
16 | </field> | |
17 | <primaryKey> | |
18 | <name>id</name> | |
19 | <autoincrement>true</autoincrement> | |
20 | </primaryKey> | |
21 | <field> | |
22 | <name>name</name> | |
23 | <uniqueName>participant_status</uniqueName> | |
24 | <title>Participant Status</title> | |
25 | <type>varchar</type> | |
26 | <length>64</length> | |
27 | <import>true</import> | |
28 | <unique>true</unique> | |
29 | <comment>non-localized name of the status type</comment> | |
30 | <add>3.0</add> | |
31 | </field> | |
32 | <field> | |
33 | <name>label</name> | |
0d94665e | 34 | <title>Participant Status Label</title> |
6a488035 TO |
35 | <type>varchar</type> |
36 | <length>255</length> | |
37 | <unique>true</unique> | |
38 | <localizable>true</localizable> | |
39 | <comment>localized label for display of this status type</comment> | |
40 | <add>3.0</add> | |
41 | </field> | |
42 | <field> | |
43 | <name>class</name> | |
0d94665e | 44 | <title>Participant Status Class</title> |
909ca5f6 | 45 | <type>varchar</type> |
46 | <length>8</length> | |
6a488035 | 47 | <comment>the general group of status type this one belongs to</comment> |
71a707c3 | 48 | <pseudoconstant> |
84403e23 | 49 | <callback>CRM_Event_PseudoConstant::participantStatusClassOptions</callback> |
71a707c3 | 50 | </pseudoconstant> |
6a488035 | 51 | <add>3.0</add> |
614d72ec | 52 | <html> |
53 | <type>Select</type> | |
54 | </html> | |
6a488035 TO |
55 | </field> |
56 | <field> | |
57 | <name>is_reserved</name> | |
0d94665e | 58 | <title>Participant Status Is Reserved?></title> |
6a488035 TO |
59 | <type>boolean</type> |
60 | <comment>whether this is a status type required by the system</comment> | |
61 | <add>3.0</add> | |
62 | </field> | |
63 | <field> | |
64 | <name>is_active</name> | |
0d94665e | 65 | <title>Participant Status is Active</title> |
6a488035 TO |
66 | <type>boolean</type> |
67 | <default>1</default> | |
68 | <comment>whether this status type is active</comment> | |
69 | <add>3.0</add> | |
70 | </field> | |
71 | <field> | |
72 | <name>is_counted</name> | |
0d94665e | 73 | <title>Participant Status Counts?</title> |
6a488035 TO |
74 | <type>boolean</type> |
75 | <comment>whether this status type is counted against event size limit</comment> | |
76 | <add>3.0</add> | |
77 | </field> | |
78 | <field> | |
79 | <name>weight</name> | |
7ecddde4 | 80 | <title>Order</title> |
6a488035 TO |
81 | <type>int unsigned</type> |
82 | <required>true</required> | |
83 | <comment>controls sort order</comment> | |
84 | <add>3.0</add> | |
85 | </field> | |
86 | <field> | |
87 | <name>visibility_id</name> | |
0d94665e | 88 | <title>Participant Status Visibility</title> |
6a488035 TO |
89 | <type>int unsigned</type> |
90 | <comment>whether the status type is visible to the public, an implicit foreign key to option_value.value related to the `visibility` option_group</comment> | |
91 | <add>3.0</add> | |
4080e473 AS |
92 | <pseudoconstant> |
93 | <optionGroupName>visibility</optionGroupName> | |
94 | </pseudoconstant> | |
614d72ec | 95 | <html> |
e0991796 | 96 | <type>Select</type> |
614d72ec | 97 | </html> |
6a488035 TO |
98 | </field> |
99 | </table> |