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