Commit | Line | Data |
---|---|---|
e501603b | 1 | <?php |
c3fc2621 | 2 | |
e501603b TO |
3 | /** |
4 | * @package CRM | |
ca5cec67 | 5 | * @copyright CiviCRM LLC https://civicrm.org/licensing |
e501603b TO |
6 | * |
7 | * Generated from xml/schema/CRM/Event/Event.xml | |
8 | * DO NOT EDIT. Generated by CRM_Core_CodeGen | |
027f2465 | 9 | * (GenCodeChecksum:164ee1a507b9244536114d1569ccff1e) |
e501603b | 10 | */ |
c3fc2621 | 11 | |
f41f0342 | 12 | /** |
c3fc2621 | 13 | * Database access object for the Event entity. |
f41f0342 | 14 | */ |
e501603b | 15 | class CRM_Event_DAO_Event extends CRM_Core_DAO { |
929a1c14 CW |
16 | const EXT = 'civicrm'; |
17 | const TABLE_ADDED = '1.7'; | |
c3fc2621 | 18 | |
e501603b | 19 | /** |
f41f0342 | 20 | * Static instance to hold the table name. |
e501603b TO |
21 | * |
22 | * @var string | |
23 | */ | |
fa45b5b9 | 24 | public static $_tableName = 'civicrm_event'; |
c3fc2621 | 25 | |
449c4e6b CW |
26 | /** |
27 | * Icon associated with this entity. | |
28 | * | |
29 | * @var string | |
30 | */ | |
31 | public static $_icon = 'fa-calendar'; | |
32 | ||
e501603b | 33 | /** |
f41f0342 | 34 | * Should CiviCRM log any modifications to this table in the civicrm_log table. |
e501603b | 35 | * |
c3fc2621 | 36 | * @var bool |
e501603b | 37 | */ |
fa45b5b9 | 38 | public static $_log = TRUE; |
c3fc2621 | 39 | |
e501603b TO |
40 | /** |
41 | * Event | |
42 | * | |
e6ca0a57 | 43 | * @var int |
e501603b TO |
44 | */ |
45 | public $id; | |
c3fc2621 | 46 | |
e501603b TO |
47 | /** |
48 | * Event Title (e.g. Fall Fundraiser Dinner) | |
49 | * | |
50 | * @var string | |
51 | */ | |
52 | public $title; | |
c3fc2621 | 53 | |
e501603b TO |
54 | /** |
55 | * Brief summary of event. Text and html allowed. Displayed on Event Registration form and can be used on other CMS pages which need an event summary. | |
56 | * | |
57 | * @var text | |
58 | */ | |
59 | public $summary; | |
c3fc2621 | 60 | |
e501603b TO |
61 | /** |
62 | * Full description of event. Text and html allowed. Displayed on built-in Event Information screens. | |
63 | * | |
64 | * @var text | |
65 | */ | |
66 | public $description; | |
c3fc2621 | 67 | |
e501603b TO |
68 | /** |
69 | * Event Type ID.Implicit FK to civicrm_option_value where option_group = event_type. | |
70 | * | |
e6ca0a57 | 71 | * @var int |
e501603b TO |
72 | */ |
73 | public $event_type_id; | |
c3fc2621 | 74 | |
e501603b TO |
75 | /** |
76 | * Should we expose the participant list? Implicit FK to civicrm_option_value where option_group = participant_listing. | |
77 | * | |
e6ca0a57 | 78 | * @var int |
e501603b TO |
79 | */ |
80 | public $participant_listing_id; | |
c3fc2621 | 81 | |
e501603b TO |
82 | /** |
83 | * Public events will be included in the iCal feeds. Access to private event information may be limited using ACLs. | |
84 | * | |
e6ca0a57 | 85 | * @var bool |
e501603b TO |
86 | */ |
87 | public $is_public; | |
c3fc2621 | 88 | |
e501603b TO |
89 | /** |
90 | * Date and time that event starts. | |
91 | * | |
92 | * @var datetime | |
93 | */ | |
94 | public $start_date; | |
c3fc2621 | 95 | |
e501603b TO |
96 | /** |
97 | * Date and time that event ends. May be NULL if no defined end date/time | |
98 | * | |
99 | * @var datetime | |
100 | */ | |
101 | public $end_date; | |
c3fc2621 | 102 | |
e501603b TO |
103 | /** |
104 | * If true, include registration link on Event Info page. | |
105 | * | |
e6ca0a57 | 106 | * @var bool |
e501603b TO |
107 | */ |
108 | public $is_online_registration; | |
c3fc2621 | 109 | |
e501603b TO |
110 | /** |
111 | * Text for link to Event Registration form which is displayed on Event Information screen when is_online_registration is true. | |
112 | * | |
113 | * @var string | |
114 | */ | |
115 | public $registration_link_text; | |
c3fc2621 | 116 | |
e501603b TO |
117 | /** |
118 | * Date and time that online registration starts. | |
119 | * | |
120 | * @var datetime | |
121 | */ | |
122 | public $registration_start_date; | |
c3fc2621 | 123 | |
e501603b TO |
124 | /** |
125 | * Date and time that online registration ends. | |
126 | * | |
127 | * @var datetime | |
128 | */ | |
129 | public $registration_end_date; | |
c3fc2621 | 130 | |
e501603b TO |
131 | /** |
132 | * Maximum number of registered participants to allow. After max is reached, a custom Event Full message is displayed. If NULL, allow unlimited number of participants. | |
133 | * | |
e6ca0a57 | 134 | * @var int |
e501603b TO |
135 | */ |
136 | public $max_participants; | |
c3fc2621 | 137 | |
e501603b TO |
138 | /** |
139 | * Message to display on Event Information page and INSTEAD OF Event Registration form if maximum participants are signed up. Can include email address/info about getting on a waiting list, etc. Text and html allowed. | |
140 | * | |
141 | * @var text | |
142 | */ | |
143 | public $event_full_text; | |
c3fc2621 | 144 | |
e501603b TO |
145 | /** |
146 | * If true, one or more fee amounts must be set and a Payment Processor must be configured for Online Event Registration. | |
147 | * | |
e6ca0a57 | 148 | * @var bool |
e501603b TO |
149 | */ |
150 | public $is_monetary; | |
c3fc2621 | 151 | |
e501603b TO |
152 | /** |
153 | * Financial type assigned to paid event registrations for this event. Required if is_monetary is true. | |
154 | * | |
e6ca0a57 | 155 | * @var int |
e501603b TO |
156 | */ |
157 | public $financial_type_id; | |
c3fc2621 | 158 | |
e501603b TO |
159 | /** |
160 | * Payment Processors configured for this Event (if is_monetary is true) | |
161 | * | |
162 | * @var string | |
163 | */ | |
164 | public $payment_processor; | |
c3fc2621 | 165 | |
e501603b TO |
166 | /** |
167 | * Include a map block on the Event Information page when geocode info is available and a mapping provider has been specified? | |
168 | * | |
e6ca0a57 | 169 | * @var bool |
e501603b TO |
170 | */ |
171 | public $is_map; | |
c3fc2621 | 172 | |
e501603b TO |
173 | /** |
174 | * Is this Event enabled or disabled/cancelled? | |
175 | * | |
e6ca0a57 | 176 | * @var bool |
e501603b TO |
177 | */ |
178 | public $is_active; | |
c3fc2621 | 179 | |
e501603b | 180 | /** |
e501603b TO |
181 | * @var string |
182 | */ | |
183 | public $fee_label; | |
c3fc2621 | 184 | |
e501603b TO |
185 | /** |
186 | * If true, show event location. | |
187 | * | |
e6ca0a57 | 188 | * @var bool |
e501603b TO |
189 | */ |
190 | public $is_show_location; | |
c3fc2621 | 191 | |
e501603b TO |
192 | /** |
193 | * FK to Location Block ID | |
194 | * | |
e6ca0a57 | 195 | * @var int |
e501603b TO |
196 | */ |
197 | public $loc_block_id; | |
c3fc2621 | 198 | |
e501603b TO |
199 | /** |
200 | * Participant role ID. Implicit FK to civicrm_option_value where option_group = participant_role. | |
201 | * | |
e6ca0a57 | 202 | * @var int |
e501603b TO |
203 | */ |
204 | public $default_role_id; | |
c3fc2621 | 205 | |
e501603b TO |
206 | /** |
207 | * Introductory message for Event Registration page. Text and html allowed. Displayed at the top of Event Registration form. | |
208 | * | |
209 | * @var text | |
210 | */ | |
211 | public $intro_text; | |
c3fc2621 | 212 | |
e501603b TO |
213 | /** |
214 | * Footer message for Event Registration page. Text and html allowed. Displayed at the bottom of Event Registration form. | |
215 | * | |
216 | * @var text | |
217 | */ | |
218 | public $footer_text; | |
c3fc2621 | 219 | |
e501603b TO |
220 | /** |
221 | * Title for Confirmation page. | |
222 | * | |
223 | * @var string | |
224 | */ | |
225 | public $confirm_title; | |
c3fc2621 | 226 | |
e501603b TO |
227 | /** |
228 | * Introductory message for Event Registration page. Text and html allowed. Displayed at the top of Event Registration form. | |
229 | * | |
230 | * @var text | |
231 | */ | |
232 | public $confirm_text; | |
c3fc2621 | 233 | |
e501603b TO |
234 | /** |
235 | * Footer message for Event Registration page. Text and html allowed. Displayed at the bottom of Event Registration form. | |
236 | * | |
237 | * @var text | |
238 | */ | |
239 | public $confirm_footer_text; | |
c3fc2621 | 240 | |
e501603b TO |
241 | /** |
242 | * If true, confirmation is automatically emailed to contact on successful registration. | |
243 | * | |
e6ca0a57 | 244 | * @var bool |
e501603b TO |
245 | */ |
246 | public $is_email_confirm; | |
c3fc2621 | 247 | |
e501603b TO |
248 | /** |
249 | * text to include above standard event info on confirmation email. emails are text-only, so do not allow html for now | |
250 | * | |
251 | * @var text | |
252 | */ | |
253 | public $confirm_email_text; | |
c3fc2621 | 254 | |
e501603b TO |
255 | /** |
256 | * FROM email name used for confirmation emails. | |
257 | * | |
258 | * @var string | |
259 | */ | |
260 | public $confirm_from_name; | |
c3fc2621 | 261 | |
e501603b TO |
262 | /** |
263 | * FROM email address used for confirmation emails. | |
264 | * | |
265 | * @var string | |
266 | */ | |
267 | public $confirm_from_email; | |
c3fc2621 | 268 | |
e501603b TO |
269 | /** |
270 | * comma-separated list of email addresses to cc each time a confirmation is sent | |
271 | * | |
272 | * @var string | |
273 | */ | |
274 | public $cc_confirm; | |
c3fc2621 | 275 | |
e501603b TO |
276 | /** |
277 | * comma-separated list of email addresses to bcc each time a confirmation is sent | |
278 | * | |
279 | * @var string | |
280 | */ | |
281 | public $bcc_confirm; | |
c3fc2621 | 282 | |
e501603b TO |
283 | /** |
284 | * FK to civicrm_option_value. | |
285 | * | |
e6ca0a57 | 286 | * @var int |
e501603b TO |
287 | */ |
288 | public $default_fee_id; | |
c3fc2621 | 289 | |
e501603b TO |
290 | /** |
291 | * FK to civicrm_option_value. | |
292 | * | |
e6ca0a57 | 293 | * @var int |
e501603b TO |
294 | */ |
295 | public $default_discount_fee_id; | |
c3fc2621 | 296 | |
e501603b TO |
297 | /** |
298 | * Title for ThankYou page. | |
299 | * | |
300 | * @var string | |
301 | */ | |
302 | public $thankyou_title; | |
c3fc2621 | 303 | |
e501603b TO |
304 | /** |
305 | * ThankYou Text. | |
306 | * | |
307 | * @var text | |
308 | */ | |
309 | public $thankyou_text; | |
c3fc2621 | 310 | |
e501603b TO |
311 | /** |
312 | * Footer message. | |
313 | * | |
314 | * @var text | |
315 | */ | |
316 | public $thankyou_footer_text; | |
c3fc2621 | 317 | |
e501603b TO |
318 | /** |
319 | * if true - allows the user to send payment directly to the org later | |
320 | * | |
e6ca0a57 | 321 | * @var bool |
e501603b TO |
322 | */ |
323 | public $is_pay_later; | |
c3fc2621 | 324 | |
e501603b TO |
325 | /** |
326 | * The text displayed to the user in the main form | |
327 | * | |
328 | * @var text | |
329 | */ | |
330 | public $pay_later_text; | |
c3fc2621 | 331 | |
e501603b TO |
332 | /** |
333 | * The receipt sent to the user instead of the normal receipt text | |
334 | * | |
335 | * @var text | |
336 | */ | |
337 | public $pay_later_receipt; | |
c3fc2621 | 338 | |
e501603b TO |
339 | /** |
340 | * is partial payment enabled for this event | |
341 | * | |
e6ca0a57 | 342 | * @var bool |
e501603b TO |
343 | */ |
344 | public $is_partial_payment; | |
c3fc2621 | 345 | |
e501603b TO |
346 | /** |
347 | * Initial amount label for partial payment | |
348 | * | |
349 | * @var string | |
350 | */ | |
351 | public $initial_amount_label; | |
c3fc2621 | 352 | |
e501603b TO |
353 | /** |
354 | * Initial amount help text for partial payment | |
355 | * | |
356 | * @var text | |
357 | */ | |
358 | public $initial_amount_help_text; | |
c3fc2621 | 359 | |
e501603b TO |
360 | /** |
361 | * Minimum initial amount for partial payment | |
362 | * | |
363 | * @var float | |
364 | */ | |
365 | public $min_initial_amount; | |
c3fc2621 | 366 | |
e501603b TO |
367 | /** |
368 | * if true - allows the user to register multiple participants for event | |
369 | * | |
e6ca0a57 | 370 | * @var bool |
e501603b TO |
371 | */ |
372 | public $is_multiple_registrations; | |
c3fc2621 | 373 | |
e501603b TO |
374 | /** |
375 | * Maximum number of additional participants that can be registered on a single booking | |
376 | * | |
e6ca0a57 | 377 | * @var int |
e501603b TO |
378 | */ |
379 | public $max_additional_participants; | |
c3fc2621 | 380 | |
e501603b TO |
381 | /** |
382 | * if true - allows the user to register multiple registrations from same email address. | |
383 | * | |
e6ca0a57 | 384 | * @var bool |
e501603b TO |
385 | */ |
386 | public $allow_same_participant_emails; | |
c3fc2621 | 387 | |
e501603b TO |
388 | /** |
389 | * Whether the event has waitlist support. | |
390 | * | |
e6ca0a57 | 391 | * @var bool |
e501603b TO |
392 | */ |
393 | public $has_waitlist; | |
c3fc2621 | 394 | |
e501603b TO |
395 | /** |
396 | * Whether participants require approval before they can finish registering. | |
397 | * | |
e6ca0a57 | 398 | * @var bool |
e501603b TO |
399 | */ |
400 | public $requires_approval; | |
c3fc2621 | 401 | |
e501603b TO |
402 | /** |
403 | * Expire pending but unconfirmed registrations after this many hours. | |
404 | * | |
e6ca0a57 | 405 | * @var int |
e501603b TO |
406 | */ |
407 | public $expiration_time; | |
c3fc2621 | 408 | |
e501603b TO |
409 | /** |
410 | * Allow self service cancellation or transfer for event? | |
411 | * | |
e6ca0a57 | 412 | * @var bool |
e501603b TO |
413 | */ |
414 | public $allow_selfcancelxfer; | |
c3fc2621 | 415 | |
e501603b TO |
416 | /** |
417 | * Number of hours prior to event start date to allow self-service cancellation or transfer. | |
418 | * | |
e6ca0a57 | 419 | * @var int |
e501603b TO |
420 | */ |
421 | public $selfcancelxfer_time; | |
c3fc2621 | 422 | |
e501603b TO |
423 | /** |
424 | * Text to display when the event is full, but participants can signup for a waitlist. | |
425 | * | |
426 | * @var text | |
427 | */ | |
428 | public $waitlist_text; | |
c3fc2621 | 429 | |
e501603b TO |
430 | /** |
431 | * Text to display when the approval is required to complete registration for an event. | |
432 | * | |
433 | * @var text | |
434 | */ | |
435 | public $approval_req_text; | |
c3fc2621 | 436 | |
e501603b TO |
437 | /** |
438 | * whether the event has template | |
439 | * | |
e6ca0a57 | 440 | * @var bool |
e501603b TO |
441 | */ |
442 | public $is_template; | |
c3fc2621 | 443 | |
e501603b TO |
444 | /** |
445 | * Event Template Title | |
446 | * | |
447 | * @var string | |
448 | */ | |
449 | public $template_title; | |
c3fc2621 | 450 | |
e501603b TO |
451 | /** |
452 | * FK to civicrm_contact, who created this event | |
453 | * | |
e6ca0a57 | 454 | * @var int |
e501603b TO |
455 | */ |
456 | public $created_id; | |
c3fc2621 | 457 | |
e501603b TO |
458 | /** |
459 | * Date and time that event was created. | |
460 | * | |
461 | * @var datetime | |
462 | */ | |
463 | public $created_date; | |
c3fc2621 | 464 | |
e501603b TO |
465 | /** |
466 | * 3 character string, value from config setting or input via user. | |
467 | * | |
468 | * @var string | |
469 | */ | |
470 | public $currency; | |
c3fc2621 | 471 | |
e501603b TO |
472 | /** |
473 | * The campaign for which this event has been created. | |
474 | * | |
e6ca0a57 | 475 | * @var int |
e501603b TO |
476 | */ |
477 | public $campaign_id; | |
c3fc2621 | 478 | |
e501603b TO |
479 | /** |
480 | * Can people share the event through social media? | |
481 | * | |
e6ca0a57 | 482 | * @var bool |
e501603b TO |
483 | */ |
484 | public $is_share; | |
c3fc2621 | 485 | |
e501603b TO |
486 | /** |
487 | * If false, the event booking confirmation screen gets skipped | |
488 | * | |
e6ca0a57 | 489 | * @var bool |
e501603b TO |
490 | */ |
491 | public $is_confirm_enabled; | |
c3fc2621 | 492 | |
e501603b TO |
493 | /** |
494 | * Implicit FK to civicrm_event: parent event | |
495 | * | |
e6ca0a57 | 496 | * @var int |
e501603b TO |
497 | */ |
498 | public $parent_event_id; | |
c3fc2621 | 499 | |
e501603b TO |
500 | /** |
501 | * Subevent slot label. Implicit FK to civicrm_option_value where option_group = conference_slot. | |
502 | * | |
e6ca0a57 | 503 | * @var int |
e501603b TO |
504 | */ |
505 | public $slot_label_id; | |
c3fc2621 | 506 | |
e501603b TO |
507 | /** |
508 | * Rule to use when matching registrations for this event | |
509 | * | |
e6ca0a57 | 510 | * @var int |
e501603b TO |
511 | */ |
512 | public $dedupe_rule_group_id; | |
c3fc2621 | 513 | |
e501603b TO |
514 | /** |
515 | * if true than billing block is required this event | |
516 | * | |
e6ca0a57 | 517 | * @var bool |
e501603b TO |
518 | */ |
519 | public $is_billing_required; | |
c3fc2621 | 520 | |
e501603b | 521 | /** |
f41f0342 | 522 | * Class constructor. |
e501603b | 523 | */ |
c3fc2621 | 524 | public function __construct() { |
e501603b TO |
525 | $this->__table = 'civicrm_event'; |
526 | parent::__construct(); | |
527 | } | |
c3fc2621 | 528 | |
449c4e6b CW |
529 | /** |
530 | * Returns localized title of this entity. | |
531 | */ | |
532 | public static function getEntityTitle() { | |
533 | return ts('Events'); | |
534 | } | |
535 | ||
e501603b | 536 | /** |
f41f0342 | 537 | * Returns foreign keys and entity references. |
e501603b TO |
538 | * |
539 | * @return array | |
540 | * [CRM_Core_Reference_Interface] | |
541 | */ | |
c3fc2621 | 542 | public static function getReferenceColumns() { |
346aaaba | 543 | if (!isset(Civi::$statics[__CLASS__]['links'])) { |
fa45b5b9 | 544 | Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); |
c3fc2621 CW |
545 | Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'loc_block_id', 'civicrm_loc_block', 'id'); |
546 | Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'created_id', 'civicrm_contact', 'id'); | |
547 | Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'campaign_id', 'civicrm_campaign', 'id'); | |
548 | Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'dedupe_rule_group_id', 'civicrm_dedupe_rule_group', 'id'); | |
346aaaba | 549 | CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']); |
e501603b | 550 | } |
346aaaba | 551 | return Civi::$statics[__CLASS__]['links']; |
e501603b | 552 | } |
c3fc2621 | 553 | |
e501603b TO |
554 | /** |
555 | * Returns all the column names of this table | |
556 | * | |
557 | * @return array | |
558 | */ | |
c3fc2621 | 559 | public static function &fields() { |
346aaaba | 560 | if (!isset(Civi::$statics[__CLASS__]['fields'])) { |
c3fc2621 CW |
561 | Civi::$statics[__CLASS__]['fields'] = [ |
562 | 'id' => [ | |
e501603b TO |
563 | 'name' => 'id', |
564 | 'type' => CRM_Utils_Type::T_INT, | |
c3fc2621 | 565 | 'title' => ts('Event ID'), |
215b423e | 566 | 'description' => ts('Event'), |
c3fc2621 | 567 | 'required' => TRUE, |
a36434b9 | 568 | 'where' => 'civicrm_event.id', |
522a26c9 | 569 | 'table_name' => 'civicrm_event', |
570 | 'entity' => 'Event', | |
571 | 'bao' => 'CRM_Event_BAO_Event', | |
6a7e5e5d | 572 | 'localizable' => 0, |
a9d0587b | 573 | 'add' => '1.7', |
c3fc2621 CW |
574 | ], |
575 | 'event_title' => [ | |
e501603b TO |
576 | 'name' => 'title', |
577 | 'type' => CRM_Utils_Type::T_STRING, | |
c3fc2621 | 578 | 'title' => ts('Event Title'), |
215b423e | 579 | 'description' => ts('Event Title (e.g. Fall Fundraiser Dinner)'), |
e501603b TO |
580 | 'maxlength' => 255, |
581 | 'size' => CRM_Utils_Type::HUGE, | |
c3fc2621 | 582 | 'import' => TRUE, |
e501603b TO |
583 | 'where' => 'civicrm_event.title', |
584 | 'headerPattern' => '/(event.)?title$/i', | |
c3fc2621 | 585 | 'export' => TRUE, |
522a26c9 | 586 | 'table_name' => 'civicrm_event', |
587 | 'entity' => 'Event', | |
588 | 'bao' => 'CRM_Event_BAO_Event', | |
6a7e5e5d | 589 | 'localizable' => 1, |
c3fc2621 | 590 | 'html' => [ |
e501603b | 591 | 'type' => 'Text', |
c3fc2621 | 592 | ], |
a9d0587b | 593 | 'add' => '1.7', |
c3fc2621 CW |
594 | ], |
595 | 'summary' => [ | |
e501603b TO |
596 | 'name' => 'summary', |
597 | 'type' => CRM_Utils_Type::T_TEXT, | |
c3fc2621 | 598 | 'title' => ts('Event Summary'), |
215b423e | 599 | 'description' => ts('Brief summary of event. Text and html allowed. Displayed on Event Registration form and can be used on other CMS pages which need an event summary.'), |
e501603b TO |
600 | 'rows' => 4, |
601 | 'cols' => 60, | |
a36434b9 | 602 | 'where' => 'civicrm_event.summary', |
522a26c9 | 603 | 'table_name' => 'civicrm_event', |
604 | 'entity' => 'Event', | |
605 | 'bao' => 'CRM_Event_BAO_Event', | |
6a7e5e5d | 606 | 'localizable' => 1, |
c3fc2621 | 607 | 'html' => [ |
e501603b | 608 | 'type' => 'TextArea', |
c3fc2621 | 609 | ], |
a9d0587b | 610 | 'add' => '1.7', |
c3fc2621 CW |
611 | ], |
612 | 'event_description' => [ | |
e501603b TO |
613 | 'name' => 'description', |
614 | 'type' => CRM_Utils_Type::T_TEXT, | |
c3fc2621 | 615 | 'title' => ts('Event Description'), |
215b423e | 616 | 'description' => ts('Full description of event. Text and html allowed. Displayed on built-in Event Information screens.'), |
e501603b TO |
617 | 'rows' => 8, |
618 | 'cols' => 60, | |
a36434b9 | 619 | 'where' => 'civicrm_event.description', |
522a26c9 | 620 | 'table_name' => 'civicrm_event', |
621 | 'entity' => 'Event', | |
622 | 'bao' => 'CRM_Event_BAO_Event', | |
6a7e5e5d | 623 | 'localizable' => 1, |
c3fc2621 | 624 | 'html' => [ |
efb34c99 | 625 | 'type' => 'RichTextEditor', |
c3fc2621 | 626 | ], |
a9d0587b | 627 | 'add' => '1.7', |
c3fc2621 CW |
628 | ], |
629 | 'event_type_id' => [ | |
e501603b TO |
630 | 'name' => 'event_type_id', |
631 | 'type' => CRM_Utils_Type::T_INT, | |
c3fc2621 | 632 | 'title' => ts('Event Type'), |
215b423e | 633 | 'description' => ts('Event Type ID.Implicit FK to civicrm_option_value where option_group = event_type.'), |
a36434b9 | 634 | 'where' => 'civicrm_event.event_type_id', |
45a83e42 | 635 | 'default' => '0', |
522a26c9 | 636 | 'table_name' => 'civicrm_event', |
637 | 'entity' => 'Event', | |
638 | 'bao' => 'CRM_Event_BAO_Event', | |
6a7e5e5d | 639 | 'localizable' => 0, |
c3fc2621 | 640 | 'html' => [ |
e501603b | 641 | 'type' => 'Select', |
c3fc2621 CW |
642 | ], |
643 | 'pseudoconstant' => [ | |
e501603b TO |
644 | 'optionGroupName' => 'event_type', |
645 | 'optionEditPath' => 'civicrm/admin/options/event_type', | |
e6ca0a57 | 646 | ], |
a9d0587b | 647 | 'add' => '1.7', |
c3fc2621 CW |
648 | ], |
649 | 'participant_listing_id' => [ | |
e501603b TO |
650 | 'name' => 'participant_listing_id', |
651 | 'type' => CRM_Utils_Type::T_INT, | |
c3fc2621 | 652 | 'title' => ts('Participant Listing'), |
215b423e | 653 | 'description' => ts('Should we expose the participant list? Implicit FK to civicrm_option_value where option_group = participant_listing.'), |
a36434b9 | 654 | 'where' => 'civicrm_event.participant_listing_id', |
5d4300ea | 655 | 'default' => 'NULL', |
522a26c9 | 656 | 'table_name' => 'civicrm_event', |
657 | 'entity' => 'Event', | |
658 | 'bao' => 'CRM_Event_BAO_Event', | |
6a7e5e5d | 659 | 'localizable' => 0, |
c3fc2621 | 660 | 'html' => [ |
e501603b | 661 | 'type' => 'Select', |
c3fc2621 CW |
662 | ], |
663 | 'pseudoconstant' => [ | |
e501603b TO |
664 | 'optionGroupName' => 'participant_listing', |
665 | 'optionEditPath' => 'civicrm/admin/options/participant_listing', | |
e6ca0a57 | 666 | ], |
a9d0587b | 667 | 'add' => '2.0', |
c3fc2621 CW |
668 | ], |
669 | 'is_public' => [ | |
e501603b TO |
670 | 'name' => 'is_public', |
671 | 'type' => CRM_Utils_Type::T_BOOLEAN, | |
c3fc2621 | 672 | 'title' => ts('Is Event Public'), |
215b423e | 673 | 'description' => ts('Public events will be included in the iCal feeds. Access to private event information may be limited using ACLs.'), |
a36434b9 | 674 | 'where' => 'civicrm_event.is_public', |
e501603b | 675 | 'default' => '1', |
522a26c9 | 676 | 'table_name' => 'civicrm_event', |
677 | 'entity' => 'Event', | |
678 | 'bao' => 'CRM_Event_BAO_Event', | |
6a7e5e5d | 679 | 'localizable' => 0, |
c3fc2621 | 680 | 'html' => [ |
e501603b | 681 | 'type' => 'CheckBox', |
c3fc2621 | 682 | ], |
a9d0587b | 683 | 'add' => '1.7', |
c3fc2621 CW |
684 | ], |
685 | 'event_start_date' => [ | |
e501603b TO |
686 | 'name' => 'start_date', |
687 | 'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME, | |
c3fc2621 | 688 | 'title' => ts('Event Start Date'), |
215b423e | 689 | 'description' => ts('Date and time that event starts.'), |
c3fc2621 | 690 | 'import' => TRUE, |
e501603b TO |
691 | 'where' => 'civicrm_event.start_date', |
692 | 'headerPattern' => '/^start|(s(tart\s)?date)$/i', | |
c3fc2621 | 693 | 'export' => TRUE, |
522a26c9 | 694 | 'table_name' => 'civicrm_event', |
695 | 'entity' => 'Event', | |
696 | 'bao' => 'CRM_Event_BAO_Event', | |
6a7e5e5d | 697 | 'localizable' => 0, |
c3fc2621 | 698 | 'html' => [ |
e501603b | 699 | 'type' => 'Select Date', |
c03ba827 | 700 | 'formatType' => 'activityDateTime', |
c3fc2621 | 701 | ], |
a9d0587b | 702 | 'add' => '1.7', |
c3fc2621 CW |
703 | ], |
704 | 'event_end_date' => [ | |
e501603b TO |
705 | 'name' => 'end_date', |
706 | 'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME, | |
c3fc2621 | 707 | 'title' => ts('Event End Date'), |
215b423e | 708 | 'description' => ts('Date and time that event ends. May be NULL if no defined end date/time'), |
c3fc2621 | 709 | 'import' => TRUE, |
e501603b TO |
710 | 'where' => 'civicrm_event.end_date', |
711 | 'headerPattern' => '/^end|(e(nd\s)?date)$/i', | |
c3fc2621 | 712 | 'export' => TRUE, |
522a26c9 | 713 | 'table_name' => 'civicrm_event', |
714 | 'entity' => 'Event', | |
715 | 'bao' => 'CRM_Event_BAO_Event', | |
6a7e5e5d | 716 | 'localizable' => 0, |
c3fc2621 | 717 | 'html' => [ |
e501603b | 718 | 'type' => 'Select Date', |
c03ba827 | 719 | 'formatType' => 'activityDateTime', |
c3fc2621 | 720 | ], |
a9d0587b | 721 | 'add' => '1.7', |
c3fc2621 CW |
722 | ], |
723 | 'is_online_registration' => [ | |
e501603b TO |
724 | 'name' => 'is_online_registration', |
725 | 'type' => CRM_Utils_Type::T_BOOLEAN, | |
c3fc2621 | 726 | 'title' => ts('Is Online Registration'), |
215b423e | 727 | 'description' => ts('If true, include registration link on Event Info page.'), |
a36434b9 | 728 | 'where' => 'civicrm_event.is_online_registration', |
45a83e42 | 729 | 'default' => '0', |
522a26c9 | 730 | 'table_name' => 'civicrm_event', |
731 | 'entity' => 'Event', | |
732 | 'bao' => 'CRM_Event_BAO_Event', | |
6a7e5e5d | 733 | 'localizable' => 0, |
c3fc2621 | 734 | 'html' => [ |
e501603b | 735 | 'type' => 'CheckBox', |
c3fc2621 | 736 | ], |
a9d0587b | 737 | 'add' => '1.7', |
c3fc2621 CW |
738 | ], |
739 | 'registration_link_text' => [ | |
e501603b TO |
740 | 'name' => 'registration_link_text', |
741 | 'type' => CRM_Utils_Type::T_STRING, | |
c3fc2621 | 742 | 'title' => ts('Event Registration Link Text'), |
215b423e | 743 | 'description' => ts('Text for link to Event Registration form which is displayed on Event Information screen when is_online_registration is true.'), |
e501603b TO |
744 | 'maxlength' => 255, |
745 | 'size' => CRM_Utils_Type::HUGE, | |
a36434b9 | 746 | 'where' => 'civicrm_event.registration_link_text', |
522a26c9 | 747 | 'table_name' => 'civicrm_event', |
748 | 'entity' => 'Event', | |
749 | 'bao' => 'CRM_Event_BAO_Event', | |
6a7e5e5d | 750 | 'localizable' => 1, |
c3fc2621 | 751 | 'html' => [ |
e501603b | 752 | 'type' => 'Text', |
c3fc2621 | 753 | ], |
a9d0587b | 754 | 'add' => '1.7', |
c3fc2621 CW |
755 | ], |
756 | 'registration_start_date' => [ | |
e501603b TO |
757 | 'name' => 'registration_start_date', |
758 | 'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME, | |
c3fc2621 | 759 | 'title' => ts('Registration Start Date'), |
215b423e | 760 | 'description' => ts('Date and time that online registration starts.'), |
a36434b9 | 761 | 'where' => 'civicrm_event.registration_start_date', |
522a26c9 | 762 | 'table_name' => 'civicrm_event', |
763 | 'entity' => 'Event', | |
764 | 'bao' => 'CRM_Event_BAO_Event', | |
6a7e5e5d | 765 | 'localizable' => 0, |
c3fc2621 | 766 | 'html' => [ |
e501603b | 767 | 'type' => 'Select Date', |
c03ba827 | 768 | 'formatType' => 'activityDateTime', |
c3fc2621 | 769 | ], |
a9d0587b | 770 | 'add' => '1.8', |
c3fc2621 CW |
771 | ], |
772 | 'registration_end_date' => [ | |
e501603b TO |
773 | 'name' => 'registration_end_date', |
774 | 'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME, | |
c3fc2621 | 775 | 'title' => ts('Registration End Date'), |
215b423e | 776 | 'description' => ts('Date and time that online registration ends.'), |
a36434b9 | 777 | 'where' => 'civicrm_event.registration_end_date', |
522a26c9 | 778 | 'table_name' => 'civicrm_event', |
779 | 'entity' => 'Event', | |
780 | 'bao' => 'CRM_Event_BAO_Event', | |
6a7e5e5d | 781 | 'localizable' => 0, |
c3fc2621 | 782 | 'html' => [ |
e501603b | 783 | 'type' => 'Select Date', |
c03ba827 | 784 | 'formatType' => 'activityDateTime', |
c3fc2621 | 785 | ], |
a9d0587b | 786 | 'add' => '1.8', |
c3fc2621 CW |
787 | ], |
788 | 'max_participants' => [ | |
e501603b TO |
789 | 'name' => 'max_participants', |
790 | 'type' => CRM_Utils_Type::T_INT, | |
c3fc2621 | 791 | 'title' => ts('Max Participants'), |
215b423e | 792 | 'description' => ts('Maximum number of registered participants to allow. After max is reached, a custom Event Full message is displayed. If NULL, allow unlimited number of participants.'), |
a36434b9 | 793 | 'where' => 'civicrm_event.max_participants', |
e501603b | 794 | 'default' => 'NULL', |
522a26c9 | 795 | 'table_name' => 'civicrm_event', |
796 | 'entity' => 'Event', | |
797 | 'bao' => 'CRM_Event_BAO_Event', | |
6a7e5e5d | 798 | 'localizable' => 0, |
c3fc2621 | 799 | 'html' => [ |
e501603b | 800 | 'type' => 'Text', |
c3fc2621 | 801 | ], |
a9d0587b | 802 | 'add' => '1.7', |
c3fc2621 CW |
803 | ], |
804 | 'event_full_text' => [ | |
e501603b TO |
805 | 'name' => 'event_full_text', |
806 | 'type' => CRM_Utils_Type::T_TEXT, | |
c3fc2621 | 807 | 'title' => ts('Event Information'), |
215b423e | 808 | 'description' => ts('Message to display on Event Information page and INSTEAD OF Event Registration form if maximum participants are signed up. Can include email address/info about getting on a waiting list, etc. Text and html allowed.'), |
e501603b TO |
809 | 'rows' => 4, |
810 | 'cols' => 60, | |
a36434b9 | 811 | 'where' => 'civicrm_event.event_full_text', |
522a26c9 | 812 | 'table_name' => 'civicrm_event', |
813 | 'entity' => 'Event', | |
814 | 'bao' => 'CRM_Event_BAO_Event', | |
6a7e5e5d | 815 | 'localizable' => 1, |
c3fc2621 | 816 | 'html' => [ |
e501603b | 817 | 'type' => 'TextArea', |
c3fc2621 | 818 | ], |
a9d0587b | 819 | 'add' => '1.7', |
c3fc2621 CW |
820 | ], |
821 | 'is_monetary' => [ | |
e501603b TO |
822 | 'name' => 'is_monetary', |
823 | 'type' => CRM_Utils_Type::T_BOOLEAN, | |
c3fc2621 | 824 | 'title' => ts('Is this a PAID event?'), |
215b423e | 825 | 'description' => ts('If true, one or more fee amounts must be set and a Payment Processor must be configured for Online Event Registration.'), |
a36434b9 | 826 | 'where' => 'civicrm_event.is_monetary', |
45a83e42 | 827 | 'default' => '0', |
522a26c9 | 828 | 'table_name' => 'civicrm_event', |
829 | 'entity' => 'Event', | |
830 | 'bao' => 'CRM_Event_BAO_Event', | |
6a7e5e5d | 831 | 'localizable' => 0, |
c3fc2621 | 832 | 'html' => [ |
e501603b | 833 | 'type' => 'CheckBox', |
c3fc2621 | 834 | ], |
a9d0587b | 835 | 'add' => '1.7', |
c3fc2621 CW |
836 | ], |
837 | 'financial_type_id' => [ | |
e501603b TO |
838 | 'name' => 'financial_type_id', |
839 | 'type' => CRM_Utils_Type::T_INT, | |
c3fc2621 | 840 | 'title' => ts('Financial Type'), |
215b423e | 841 | 'description' => ts('Financial type assigned to paid event registrations for this event. Required if is_monetary is true.'), |
a36434b9 | 842 | 'where' => 'civicrm_event.financial_type_id', |
e501603b | 843 | 'default' => 'NULL', |
522a26c9 | 844 | 'table_name' => 'civicrm_event', |
845 | 'entity' => 'Event', | |
846 | 'bao' => 'CRM_Event_BAO_Event', | |
6a7e5e5d | 847 | 'localizable' => 0, |
c3fc2621 | 848 | 'html' => [ |
e501603b | 849 | 'type' => 'Select', |
c3fc2621 CW |
850 | ], |
851 | 'pseudoconstant' => [ | |
e501603b TO |
852 | 'table' => 'civicrm_financial_type', |
853 | 'keyColumn' => 'id', | |
854 | 'labelColumn' => 'name', | |
e6ca0a57 | 855 | ], |
a9d0587b | 856 | 'add' => '4.3', |
c3fc2621 CW |
857 | ], |
858 | 'payment_processor' => [ | |
e501603b TO |
859 | 'name' => 'payment_processor', |
860 | 'type' => CRM_Utils_Type::T_STRING, | |
c3fc2621 | 861 | 'title' => ts('Payment Processor'), |
215b423e | 862 | 'description' => ts('Payment Processors configured for this Event (if is_monetary is true)'), |
e501603b TO |
863 | 'maxlength' => 128, |
864 | 'size' => CRM_Utils_Type::HUGE, | |
a36434b9 | 865 | 'where' => 'civicrm_event.payment_processor', |
522a26c9 | 866 | 'table_name' => 'civicrm_event', |
867 | 'entity' => 'Event', | |
868 | 'bao' => 'CRM_Event_BAO_Event', | |
6a7e5e5d | 869 | 'localizable' => 0, |
476627e4 | 870 | 'serialize' => self::SERIALIZE_SEPARATOR_TRIMMED, |
c3fc2621 | 871 | 'html' => [ |
e501603b | 872 | 'type' => 'Select', |
c3fc2621 CW |
873 | ], |
874 | 'pseudoconstant' => [ | |
e501603b TO |
875 | 'table' => 'civicrm_payment_processor', |
876 | 'keyColumn' => 'id', | |
877 | 'labelColumn' => 'name', | |
e6ca0a57 | 878 | ], |
a9d0587b | 879 | 'add' => '1.8', |
c3fc2621 CW |
880 | ], |
881 | 'is_map' => [ | |
e501603b TO |
882 | 'name' => 'is_map', |
883 | 'type' => CRM_Utils_Type::T_BOOLEAN, | |
c3fc2621 | 884 | 'title' => ts('Map Enabled'), |
215b423e | 885 | 'description' => ts('Include a map block on the Event Information page when geocode info is available and a mapping provider has been specified?'), |
a36434b9 | 886 | 'where' => 'civicrm_event.is_map', |
45a83e42 | 887 | 'default' => '0', |
522a26c9 | 888 | 'table_name' => 'civicrm_event', |
889 | 'entity' => 'Event', | |
890 | 'bao' => 'CRM_Event_BAO_Event', | |
6a7e5e5d | 891 | 'localizable' => 0, |
c3fc2621 | 892 | 'html' => [ |
e501603b | 893 | 'type' => 'CheckBox', |
c3fc2621 | 894 | ], |
a9d0587b | 895 | 'add' => '1.7', |
c3fc2621 CW |
896 | ], |
897 | 'is_active' => [ | |
e501603b TO |
898 | 'name' => 'is_active', |
899 | 'type' => CRM_Utils_Type::T_BOOLEAN, | |
c3fc2621 | 900 | 'title' => ts('Is Active'), |
215b423e | 901 | 'description' => ts('Is this Event enabled or disabled/cancelled?'), |
a36434b9 | 902 | 'where' => 'civicrm_event.is_active', |
45a83e42 | 903 | 'default' => '0', |
522a26c9 | 904 | 'table_name' => 'civicrm_event', |
905 | 'entity' => 'Event', | |
906 | 'bao' => 'CRM_Event_BAO_Event', | |
6a7e5e5d | 907 | 'localizable' => 0, |
c3fc2621 | 908 | 'html' => [ |
e501603b | 909 | 'type' => 'CheckBox', |
c3fc2621 | 910 | ], |
a9d0587b | 911 | 'add' => '1.7', |
c3fc2621 CW |
912 | ], |
913 | 'fee_label' => [ | |
e501603b TO |
914 | 'name' => 'fee_label', |
915 | 'type' => CRM_Utils_Type::T_STRING, | |
c3fc2621 | 916 | 'title' => ts('Fee Label'), |
e501603b TO |
917 | 'maxlength' => 255, |
918 | 'size' => CRM_Utils_Type::HUGE, | |
c3fc2621 | 919 | 'import' => TRUE, |
e501603b TO |
920 | 'where' => 'civicrm_event.fee_label', |
921 | 'headerPattern' => '/^fee|(f(ee\s)?label)$/i', | |
c3fc2621 | 922 | 'export' => TRUE, |
522a26c9 | 923 | 'table_name' => 'civicrm_event', |
924 | 'entity' => 'Event', | |
925 | 'bao' => 'CRM_Event_BAO_Event', | |
6a7e5e5d | 926 | 'localizable' => 1, |
c3fc2621 | 927 | 'html' => [ |
e501603b | 928 | 'type' => 'Text', |
c3fc2621 | 929 | ], |
a9d0587b | 930 | 'add' => '1.8', |
c3fc2621 CW |
931 | ], |
932 | 'is_show_location' => [ | |
e501603b TO |
933 | 'name' => 'is_show_location', |
934 | 'type' => CRM_Utils_Type::T_BOOLEAN, | |
c3fc2621 | 935 | 'title' => ts('show location'), |
215b423e | 936 | 'description' => ts('If true, show event location.'), |
a36434b9 | 937 | 'where' => 'civicrm_event.is_show_location', |
e501603b | 938 | 'default' => '1', |
522a26c9 | 939 | 'table_name' => 'civicrm_event', |
940 | 'entity' => 'Event', | |
941 | 'bao' => 'CRM_Event_BAO_Event', | |
6a7e5e5d | 942 | 'localizable' => 0, |
c3fc2621 | 943 | 'html' => [ |
e501603b | 944 | 'type' => 'CheckBox', |
c3fc2621 | 945 | ], |
a9d0587b | 946 | 'add' => '1.7', |
c3fc2621 CW |
947 | ], |
948 | 'loc_block_id' => [ | |
e501603b TO |
949 | 'name' => 'loc_block_id', |
950 | 'type' => CRM_Utils_Type::T_INT, | |
c3fc2621 | 951 | 'title' => ts('Location Block ID'), |
215b423e | 952 | 'description' => ts('FK to Location Block ID'), |
a36434b9 | 953 | 'where' => 'civicrm_event.loc_block_id', |
522a26c9 | 954 | 'table_name' => 'civicrm_event', |
955 | 'entity' => 'Event', | |
956 | 'bao' => 'CRM_Event_BAO_Event', | |
6a7e5e5d | 957 | 'localizable' => 0, |
e501603b | 958 | 'FKClassName' => 'CRM_Core_DAO_LocBlock', |
a9d0587b | 959 | 'add' => '2.0', |
c3fc2621 CW |
960 | ], |
961 | 'default_role_id' => [ | |
e501603b TO |
962 | 'name' => 'default_role_id', |
963 | 'type' => CRM_Utils_Type::T_INT, | |
c3fc2621 | 964 | 'title' => ts('Default Role'), |
215b423e | 965 | 'description' => ts('Participant role ID. Implicit FK to civicrm_option_value where option_group = participant_role.'), |
c3fc2621 | 966 | 'import' => TRUE, |
e501603b | 967 | 'where' => 'civicrm_event.default_role_id', |
c3fc2621 | 968 | 'export' => TRUE, |
e501603b | 969 | 'default' => '1', |
522a26c9 | 970 | 'table_name' => 'civicrm_event', |
971 | 'entity' => 'Event', | |
972 | 'bao' => 'CRM_Event_BAO_Event', | |
6a7e5e5d | 973 | 'localizable' => 0, |
c3fc2621 | 974 | 'html' => [ |
e501603b | 975 | 'type' => 'Select', |
c3fc2621 CW |
976 | ], |
977 | 'pseudoconstant' => [ | |
e501603b TO |
978 | 'optionGroupName' => 'participant_role', |
979 | 'optionEditPath' => 'civicrm/admin/options/participant_role', | |
e6ca0a57 | 980 | ], |
a9d0587b | 981 | 'add' => '2.0', |
c3fc2621 CW |
982 | ], |
983 | 'intro_text' => [ | |
e501603b TO |
984 | 'name' => 'intro_text', |
985 | 'type' => CRM_Utils_Type::T_TEXT, | |
c3fc2621 | 986 | 'title' => ts('Introductory Message'), |
215b423e | 987 | 'description' => ts('Introductory message for Event Registration page. Text and html allowed. Displayed at the top of Event Registration form.'), |
e501603b TO |
988 | 'rows' => 6, |
989 | 'cols' => 50, | |
a36434b9 | 990 | 'where' => 'civicrm_event.intro_text', |
522a26c9 | 991 | 'table_name' => 'civicrm_event', |
992 | 'entity' => 'Event', | |
993 | 'bao' => 'CRM_Event_BAO_Event', | |
6a7e5e5d | 994 | 'localizable' => 1, |
c3fc2621 | 995 | 'html' => [ |
efb34c99 | 996 | 'type' => 'RichTextEditor', |
c3fc2621 | 997 | ], |
a9d0587b | 998 | 'add' => '1.7', |
c3fc2621 CW |
999 | ], |
1000 | 'footer_text' => [ | |
e501603b TO |
1001 | 'name' => 'footer_text', |
1002 | 'type' => CRM_Utils_Type::T_TEXT, | |
c3fc2621 | 1003 | 'title' => ts('Footer Message'), |
215b423e | 1004 | 'description' => ts('Footer message for Event Registration page. Text and html allowed. Displayed at the bottom of Event Registration form.'), |
e501603b TO |
1005 | 'rows' => 6, |
1006 | 'cols' => 50, | |
a36434b9 | 1007 | 'where' => 'civicrm_event.footer_text', |
522a26c9 | 1008 | 'table_name' => 'civicrm_event', |
1009 | 'entity' => 'Event', | |
1010 | 'bao' => 'CRM_Event_BAO_Event', | |
6a7e5e5d | 1011 | 'localizable' => 1, |
c3fc2621 | 1012 | 'html' => [ |
efb34c99 | 1013 | 'type' => 'RichTextEditor', |
c3fc2621 | 1014 | ], |
a9d0587b | 1015 | 'add' => '1.7', |
c3fc2621 CW |
1016 | ], |
1017 | 'confirm_title' => [ | |
e501603b TO |
1018 | 'name' => 'confirm_title', |
1019 | 'type' => CRM_Utils_Type::T_STRING, | |
c3fc2621 | 1020 | 'title' => ts('Confirmation Title'), |
215b423e | 1021 | 'description' => ts('Title for Confirmation page.'), |
e501603b TO |
1022 | 'maxlength' => 255, |
1023 | 'size' => CRM_Utils_Type::HUGE, | |
a36434b9 | 1024 | 'where' => 'civicrm_event.confirm_title', |
e501603b | 1025 | 'default' => 'NULL', |
522a26c9 | 1026 | 'table_name' => 'civicrm_event', |
1027 | 'entity' => 'Event', | |
1028 | 'bao' => 'CRM_Event_BAO_Event', | |
6a7e5e5d | 1029 | 'localizable' => 1, |
c3fc2621 | 1030 | 'html' => [ |
e501603b | 1031 | 'type' => 'Text', |
c3fc2621 | 1032 | ], |
a9d0587b | 1033 | 'add' => '1.7', |
c3fc2621 CW |
1034 | ], |
1035 | 'confirm_text' => [ | |
e501603b TO |
1036 | 'name' => 'confirm_text', |
1037 | 'type' => CRM_Utils_Type::T_TEXT, | |
c3fc2621 | 1038 | 'title' => ts('Confirm Text'), |
215b423e | 1039 | 'description' => ts('Introductory message for Event Registration page. Text and html allowed. Displayed at the top of Event Registration form.'), |
e501603b TO |
1040 | 'rows' => 6, |
1041 | 'cols' => 50, | |
a36434b9 | 1042 | 'where' => 'civicrm_event.confirm_text', |
522a26c9 | 1043 | 'table_name' => 'civicrm_event', |
1044 | 'entity' => 'Event', | |
1045 | 'bao' => 'CRM_Event_BAO_Event', | |
6a7e5e5d | 1046 | 'localizable' => 1, |
c3fc2621 | 1047 | 'html' => [ |
efb34c99 | 1048 | 'type' => 'RichTextEditor', |
c3fc2621 | 1049 | ], |
a9d0587b | 1050 | 'add' => '1.7', |
c3fc2621 CW |
1051 | ], |
1052 | 'confirm_footer_text' => [ | |
e501603b TO |
1053 | 'name' => 'confirm_footer_text', |
1054 | 'type' => CRM_Utils_Type::T_TEXT, | |
c3fc2621 | 1055 | 'title' => ts('Footer Text'), |
215b423e | 1056 | 'description' => ts('Footer message for Event Registration page. Text and html allowed. Displayed at the bottom of Event Registration form.'), |
e501603b TO |
1057 | 'rows' => 6, |
1058 | 'cols' => 50, | |
a36434b9 | 1059 | 'where' => 'civicrm_event.confirm_footer_text', |
522a26c9 | 1060 | 'table_name' => 'civicrm_event', |
1061 | 'entity' => 'Event', | |
1062 | 'bao' => 'CRM_Event_BAO_Event', | |
6a7e5e5d | 1063 | 'localizable' => 1, |
c3fc2621 | 1064 | 'html' => [ |
efb34c99 | 1065 | 'type' => 'RichTextEditor', |
c3fc2621 | 1066 | ], |
a9d0587b | 1067 | 'add' => '1.7', |
c3fc2621 CW |
1068 | ], |
1069 | 'is_email_confirm' => [ | |
e501603b TO |
1070 | 'name' => 'is_email_confirm', |
1071 | 'type' => CRM_Utils_Type::T_BOOLEAN, | |
c3fc2621 | 1072 | 'title' => ts('Is confirm email'), |
215b423e | 1073 | 'description' => ts('If true, confirmation is automatically emailed to contact on successful registration.'), |
a36434b9 | 1074 | 'where' => 'civicrm_event.is_email_confirm', |
45a83e42 | 1075 | 'default' => '0', |
522a26c9 | 1076 | 'table_name' => 'civicrm_event', |
1077 | 'entity' => 'Event', | |
1078 | 'bao' => 'CRM_Event_BAO_Event', | |
6a7e5e5d | 1079 | 'localizable' => 0, |
c3fc2621 | 1080 | 'html' => [ |
e501603b | 1081 | 'type' => 'CheckBox', |
c3fc2621 | 1082 | ], |
a9d0587b | 1083 | 'add' => '1.7', |
c3fc2621 CW |
1084 | ], |
1085 | 'confirm_email_text' => [ | |
e501603b TO |
1086 | 'name' => 'confirm_email_text', |
1087 | 'type' => CRM_Utils_Type::T_TEXT, | |
c3fc2621 | 1088 | 'title' => ts('Confirmation Email Text'), |
215b423e | 1089 | 'description' => ts('text to include above standard event info on confirmation email. emails are text-only, so do not allow html for now'), |
e501603b TO |
1090 | 'rows' => 4, |
1091 | 'cols' => 50, | |
a36434b9 | 1092 | 'where' => 'civicrm_event.confirm_email_text', |
522a26c9 | 1093 | 'table_name' => 'civicrm_event', |
1094 | 'entity' => 'Event', | |
1095 | 'bao' => 'CRM_Event_BAO_Event', | |
6a7e5e5d | 1096 | 'localizable' => 1, |
c3fc2621 | 1097 | 'html' => [ |
e501603b | 1098 | 'type' => 'TextArea', |
c3fc2621 | 1099 | ], |
a9d0587b | 1100 | 'add' => '1.7', |
c3fc2621 CW |
1101 | ], |
1102 | 'confirm_from_name' => [ | |
e501603b TO |
1103 | 'name' => 'confirm_from_name', |
1104 | 'type' => CRM_Utils_Type::T_STRING, | |
c3fc2621 | 1105 | 'title' => ts('Confirm From Name'), |
215b423e | 1106 | 'description' => ts('FROM email name used for confirmation emails.'), |
e501603b TO |
1107 | 'maxlength' => 255, |
1108 | 'size' => CRM_Utils_Type::HUGE, | |
a36434b9 | 1109 | 'where' => 'civicrm_event.confirm_from_name', |
522a26c9 | 1110 | 'table_name' => 'civicrm_event', |
1111 | 'entity' => 'Event', | |
1112 | 'bao' => 'CRM_Event_BAO_Event', | |
6a7e5e5d | 1113 | 'localizable' => 1, |
c3fc2621 | 1114 | 'html' => [ |
e501603b | 1115 | 'type' => 'Text', |
c3fc2621 | 1116 | ], |
a9d0587b | 1117 | 'add' => '1.7', |
c3fc2621 CW |
1118 | ], |
1119 | 'confirm_from_email' => [ | |
e501603b TO |
1120 | 'name' => 'confirm_from_email', |
1121 | 'type' => CRM_Utils_Type::T_STRING, | |
c3fc2621 | 1122 | 'title' => ts('Confirm From Email'), |
215b423e | 1123 | 'description' => ts('FROM email address used for confirmation emails.'), |
e501603b TO |
1124 | 'maxlength' => 255, |
1125 | 'size' => CRM_Utils_Type::HUGE, | |
a36434b9 | 1126 | 'where' => 'civicrm_event.confirm_from_email', |
522a26c9 | 1127 | 'table_name' => 'civicrm_event', |
1128 | 'entity' => 'Event', | |
1129 | 'bao' => 'CRM_Event_BAO_Event', | |
6a7e5e5d | 1130 | 'localizable' => 0, |
c3fc2621 | 1131 | 'html' => [ |
e501603b | 1132 | 'type' => 'Text', |
c3fc2621 | 1133 | ], |
a9d0587b | 1134 | 'add' => '1.7', |
c3fc2621 CW |
1135 | ], |
1136 | 'cc_confirm' => [ | |
e501603b TO |
1137 | 'name' => 'cc_confirm', |
1138 | 'type' => CRM_Utils_Type::T_STRING, | |
c3fc2621 | 1139 | 'title' => ts('Cc Confirm'), |
215b423e | 1140 | 'description' => ts('comma-separated list of email addresses to cc each time a confirmation is sent'), |
e501603b TO |
1141 | 'maxlength' => 255, |
1142 | 'size' => CRM_Utils_Type::HUGE, | |
a36434b9 | 1143 | 'where' => 'civicrm_event.cc_confirm', |
522a26c9 | 1144 | 'table_name' => 'civicrm_event', |
1145 | 'entity' => 'Event', | |
1146 | 'bao' => 'CRM_Event_BAO_Event', | |
6a7e5e5d | 1147 | 'localizable' => 0, |
c3fc2621 | 1148 | 'html' => [ |
e501603b | 1149 | 'type' => 'Text', |
c3fc2621 | 1150 | ], |
a9d0587b | 1151 | 'add' => '1.7', |
c3fc2621 CW |
1152 | ], |
1153 | 'bcc_confirm' => [ | |
e501603b TO |
1154 | 'name' => 'bcc_confirm', |
1155 | 'type' => CRM_Utils_Type::T_STRING, | |
c3fc2621 | 1156 | 'title' => ts('Bcc Confirm'), |
215b423e | 1157 | 'description' => ts('comma-separated list of email addresses to bcc each time a confirmation is sent'), |
e501603b TO |
1158 | 'maxlength' => 255, |
1159 | 'size' => CRM_Utils_Type::HUGE, | |
a36434b9 | 1160 | 'where' => 'civicrm_event.bcc_confirm', |
522a26c9 | 1161 | 'table_name' => 'civicrm_event', |
1162 | 'entity' => 'Event', | |
1163 | 'bao' => 'CRM_Event_BAO_Event', | |
6a7e5e5d | 1164 | 'localizable' => 0, |
c3fc2621 | 1165 | 'html' => [ |
e501603b | 1166 | 'type' => 'Text', |
c3fc2621 | 1167 | ], |
a9d0587b | 1168 | 'add' => '1.7', |
c3fc2621 CW |
1169 | ], |
1170 | 'default_fee_id' => [ | |
e501603b TO |
1171 | 'name' => 'default_fee_id', |
1172 | 'type' => CRM_Utils_Type::T_INT, | |
c3fc2621 | 1173 | 'title' => ts('Default Fee ID'), |
215b423e | 1174 | 'description' => ts('FK to civicrm_option_value.'), |
a36434b9 | 1175 | 'where' => 'civicrm_event.default_fee_id', |
522a26c9 | 1176 | 'table_name' => 'civicrm_event', |
1177 | 'entity' => 'Event', | |
1178 | 'bao' => 'CRM_Event_BAO_Event', | |
6a7e5e5d | 1179 | 'localizable' => 0, |
a9d0587b | 1180 | 'add' => '1.7', |
c3fc2621 CW |
1181 | ], |
1182 | 'default_discount_fee_id' => [ | |
e501603b TO |
1183 | 'name' => 'default_discount_fee_id', |
1184 | 'type' => CRM_Utils_Type::T_INT, | |
c3fc2621 | 1185 | 'title' => ts('Default Discount Fee ID'), |
215b423e | 1186 | 'description' => ts('FK to civicrm_option_value.'), |
a36434b9 | 1187 | 'where' => 'civicrm_event.default_discount_fee_id', |
522a26c9 | 1188 | 'table_name' => 'civicrm_event', |
1189 | 'entity' => 'Event', | |
1190 | 'bao' => 'CRM_Event_BAO_Event', | |
6a7e5e5d | 1191 | 'localizable' => 0, |
a9d0587b | 1192 | 'add' => '1.7', |
c3fc2621 CW |
1193 | ], |
1194 | 'thankyou_title' => [ | |
e501603b TO |
1195 | 'name' => 'thankyou_title', |
1196 | 'type' => CRM_Utils_Type::T_STRING, | |
c3fc2621 | 1197 | 'title' => ts('ThankYou Title'), |
215b423e | 1198 | 'description' => ts('Title for ThankYou page.'), |
e501603b TO |
1199 | 'maxlength' => 255, |
1200 | 'size' => CRM_Utils_Type::HUGE, | |
a36434b9 | 1201 | 'where' => 'civicrm_event.thankyou_title', |
e501603b | 1202 | 'default' => 'NULL', |
522a26c9 | 1203 | 'table_name' => 'civicrm_event', |
1204 | 'entity' => 'Event', | |
1205 | 'bao' => 'CRM_Event_BAO_Event', | |
6a7e5e5d | 1206 | 'localizable' => 1, |
c3fc2621 | 1207 | 'html' => [ |
e501603b | 1208 | 'type' => 'Text', |
c3fc2621 | 1209 | ], |
a9d0587b | 1210 | 'add' => '1.7', |
c3fc2621 CW |
1211 | ], |
1212 | 'thankyou_text' => [ | |
e501603b TO |
1213 | 'name' => 'thankyou_text', |
1214 | 'type' => CRM_Utils_Type::T_TEXT, | |
c3fc2621 | 1215 | 'title' => ts('ThankYou Text'), |
215b423e | 1216 | 'description' => ts('ThankYou Text.'), |
e501603b TO |
1217 | 'rows' => 6, |
1218 | 'cols' => 50, | |
a36434b9 | 1219 | 'where' => 'civicrm_event.thankyou_text', |
522a26c9 | 1220 | 'table_name' => 'civicrm_event', |
1221 | 'entity' => 'Event', | |
1222 | 'bao' => 'CRM_Event_BAO_Event', | |
6a7e5e5d | 1223 | 'localizable' => 1, |
c3fc2621 | 1224 | 'html' => [ |
efb34c99 | 1225 | 'type' => 'RichTextEditor', |
c3fc2621 | 1226 | ], |
a9d0587b | 1227 | 'add' => '1.7', |
c3fc2621 CW |
1228 | ], |
1229 | 'thankyou_footer_text' => [ | |
e501603b TO |
1230 | 'name' => 'thankyou_footer_text', |
1231 | 'type' => CRM_Utils_Type::T_TEXT, | |
c3fc2621 | 1232 | 'title' => ts('Footer Text'), |
215b423e | 1233 | 'description' => ts('Footer message.'), |
e501603b TO |
1234 | 'rows' => 6, |
1235 | 'cols' => 50, | |
a36434b9 | 1236 | 'where' => 'civicrm_event.thankyou_footer_text', |
522a26c9 | 1237 | 'table_name' => 'civicrm_event', |
1238 | 'entity' => 'Event', | |
1239 | 'bao' => 'CRM_Event_BAO_Event', | |
6a7e5e5d | 1240 | 'localizable' => 1, |
c3fc2621 | 1241 | 'html' => [ |
efb34c99 | 1242 | 'type' => 'RichTextEditor', |
c3fc2621 | 1243 | ], |
a9d0587b | 1244 | 'add' => '1.7', |
c3fc2621 CW |
1245 | ], |
1246 | 'is_pay_later' => [ | |
e501603b TO |
1247 | 'name' => 'is_pay_later', |
1248 | 'type' => CRM_Utils_Type::T_BOOLEAN, | |
c3fc2621 | 1249 | 'title' => ts('Pay Later Allowed'), |
215b423e | 1250 | 'description' => ts('if true - allows the user to send payment directly to the org later'), |
a36434b9 | 1251 | 'where' => 'civicrm_event.is_pay_later', |
45a83e42 | 1252 | 'default' => '0', |
522a26c9 | 1253 | 'table_name' => 'civicrm_event', |
1254 | 'entity' => 'Event', | |
1255 | 'bao' => 'CRM_Event_BAO_Event', | |
6a7e5e5d | 1256 | 'localizable' => 0, |
c3fc2621 | 1257 | 'html' => [ |
e501603b | 1258 | 'type' => 'CheckBox', |
c3fc2621 | 1259 | ], |
a9d0587b | 1260 | 'add' => '2.0', |
c3fc2621 CW |
1261 | ], |
1262 | 'pay_later_text' => [ | |
e501603b TO |
1263 | 'name' => 'pay_later_text', |
1264 | 'type' => CRM_Utils_Type::T_TEXT, | |
c3fc2621 | 1265 | 'title' => ts('Pay Later Text'), |
215b423e | 1266 | 'description' => ts('The text displayed to the user in the main form'), |
a36434b9 | 1267 | 'where' => 'civicrm_event.pay_later_text', |
522a26c9 | 1268 | 'table_name' => 'civicrm_event', |
1269 | 'entity' => 'Event', | |
1270 | 'bao' => 'CRM_Event_BAO_Event', | |
6a7e5e5d | 1271 | 'localizable' => 1, |
c3fc2621 | 1272 | 'html' => [ |
efb34c99 | 1273 | 'type' => 'RichTextEditor', |
c3fc2621 | 1274 | ], |
a9d0587b | 1275 | 'add' => '2.0', |
c3fc2621 CW |
1276 | ], |
1277 | 'pay_later_receipt' => [ | |
e501603b TO |
1278 | 'name' => 'pay_later_receipt', |
1279 | 'type' => CRM_Utils_Type::T_TEXT, | |
c3fc2621 | 1280 | 'title' => ts('Pay Later Receipt Text'), |
215b423e | 1281 | 'description' => ts('The receipt sent to the user instead of the normal receipt text'), |
a36434b9 | 1282 | 'where' => 'civicrm_event.pay_later_receipt', |
522a26c9 | 1283 | 'table_name' => 'civicrm_event', |
1284 | 'entity' => 'Event', | |
1285 | 'bao' => 'CRM_Event_BAO_Event', | |
6a7e5e5d | 1286 | 'localizable' => 1, |
c3fc2621 | 1287 | 'html' => [ |
e501603b | 1288 | 'type' => 'Text', |
c3fc2621 | 1289 | ], |
a9d0587b | 1290 | 'add' => '2.0', |
c3fc2621 CW |
1291 | ], |
1292 | 'is_partial_payment' => [ | |
e501603b TO |
1293 | 'name' => 'is_partial_payment', |
1294 | 'type' => CRM_Utils_Type::T_BOOLEAN, | |
c3fc2621 | 1295 | 'title' => ts('Partial Payments Enabled'), |
215b423e | 1296 | 'description' => ts('is partial payment enabled for this event'), |
a36434b9 | 1297 | 'where' => 'civicrm_event.is_partial_payment', |
45a83e42 | 1298 | 'default' => '0', |
522a26c9 | 1299 | 'table_name' => 'civicrm_event', |
1300 | 'entity' => 'Event', | |
1301 | 'bao' => 'CRM_Event_BAO_Event', | |
6a7e5e5d | 1302 | 'localizable' => 0, |
c3fc2621 | 1303 | 'html' => [ |
e501603b | 1304 | 'type' => 'CheckBox', |
c3fc2621 | 1305 | ], |
a9d0587b | 1306 | 'add' => '4.3', |
c3fc2621 CW |
1307 | ], |
1308 | 'initial_amount_label' => [ | |
e501603b TO |
1309 | 'name' => 'initial_amount_label', |
1310 | 'type' => CRM_Utils_Type::T_STRING, | |
c3fc2621 | 1311 | 'title' => ts('Initial Amount Label'), |
215b423e | 1312 | 'description' => ts('Initial amount label for partial payment'), |
e501603b TO |
1313 | 'maxlength' => 255, |
1314 | 'size' => CRM_Utils_Type::HUGE, | |
a36434b9 | 1315 | 'where' => 'civicrm_event.initial_amount_label', |
522a26c9 | 1316 | 'table_name' => 'civicrm_event', |
1317 | 'entity' => 'Event', | |
1318 | 'bao' => 'CRM_Event_BAO_Event', | |
6a7e5e5d | 1319 | 'localizable' => 1, |
c3fc2621 | 1320 | 'html' => [ |
e501603b | 1321 | 'type' => 'Text', |
c3fc2621 | 1322 | ], |
a9d0587b | 1323 | 'add' => '4.3', |
c3fc2621 CW |
1324 | ], |
1325 | 'initial_amount_help_text' => [ | |
e501603b TO |
1326 | 'name' => 'initial_amount_help_text', |
1327 | 'type' => CRM_Utils_Type::T_TEXT, | |
c3fc2621 | 1328 | 'title' => ts('Initial Amount Help Text'), |
215b423e | 1329 | 'description' => ts('Initial amount help text for partial payment'), |
a36434b9 | 1330 | 'where' => 'civicrm_event.initial_amount_help_text', |
522a26c9 | 1331 | 'table_name' => 'civicrm_event', |
1332 | 'entity' => 'Event', | |
1333 | 'bao' => 'CRM_Event_BAO_Event', | |
6a7e5e5d | 1334 | 'localizable' => 1, |
c3fc2621 | 1335 | 'html' => [ |
e501603b | 1336 | 'type' => 'Text', |
c3fc2621 | 1337 | ], |
a9d0587b | 1338 | 'add' => '4.3', |
c3fc2621 CW |
1339 | ], |
1340 | 'min_initial_amount' => [ | |
e501603b TO |
1341 | 'name' => 'min_initial_amount', |
1342 | 'type' => CRM_Utils_Type::T_MONEY, | |
c3fc2621 | 1343 | 'title' => ts('Minimum Initial Amount'), |
215b423e | 1344 | 'description' => ts('Minimum initial amount for partial payment'), |
c3fc2621 | 1345 | 'precision' => [ |
e501603b | 1346 | 20, |
fb607354 | 1347 | 2, |
c3fc2621 | 1348 | ], |
a36434b9 | 1349 | 'where' => 'civicrm_event.min_initial_amount', |
522a26c9 | 1350 | 'table_name' => 'civicrm_event', |
1351 | 'entity' => 'Event', | |
1352 | 'bao' => 'CRM_Event_BAO_Event', | |
6a7e5e5d | 1353 | 'localizable' => 0, |
c3fc2621 | 1354 | 'html' => [ |
e501603b | 1355 | 'type' => 'Text', |
c3fc2621 | 1356 | ], |
a9d0587b | 1357 | 'add' => '4.3', |
c3fc2621 CW |
1358 | ], |
1359 | 'is_multiple_registrations' => [ | |
e501603b TO |
1360 | 'name' => 'is_multiple_registrations', |
1361 | 'type' => CRM_Utils_Type::T_BOOLEAN, | |
c3fc2621 | 1362 | 'title' => ts('Allow Multiple Registrations'), |
215b423e | 1363 | 'description' => ts('if true - allows the user to register multiple participants for event'), |
a36434b9 | 1364 | 'where' => 'civicrm_event.is_multiple_registrations', |
45a83e42 | 1365 | 'default' => '0', |
522a26c9 | 1366 | 'table_name' => 'civicrm_event', |
1367 | 'entity' => 'Event', | |
1368 | 'bao' => 'CRM_Event_BAO_Event', | |
6a7e5e5d | 1369 | 'localizable' => 0, |
c3fc2621 | 1370 | 'html' => [ |
e501603b | 1371 | 'type' => 'CheckBox', |
c3fc2621 | 1372 | ], |
a9d0587b | 1373 | 'add' => '2.1', |
c3fc2621 CW |
1374 | ], |
1375 | 'max_additional_participants' => [ | |
e501603b TO |
1376 | 'name' => 'max_additional_participants', |
1377 | 'type' => CRM_Utils_Type::T_INT, | |
c3fc2621 | 1378 | 'title' => ts('Maximum number of additional participants per registration'), |
215b423e | 1379 | 'description' => ts('Maximum number of additional participants that can be registered on a single booking'), |
a36434b9 | 1380 | 'where' => 'civicrm_event.max_additional_participants', |
45a83e42 | 1381 | 'default' => '0', |
522a26c9 | 1382 | 'table_name' => 'civicrm_event', |
1383 | 'entity' => 'Event', | |
1384 | 'bao' => 'CRM_Event_BAO_Event', | |
6a7e5e5d | 1385 | 'localizable' => 0, |
a9d0587b | 1386 | 'add' => '4.7', |
c3fc2621 CW |
1387 | ], |
1388 | 'allow_same_participant_emails' => [ | |
e501603b TO |
1389 | 'name' => 'allow_same_participant_emails', |
1390 | 'type' => CRM_Utils_Type::T_BOOLEAN, | |
c3fc2621 | 1391 | 'title' => ts('Does Event allow multiple registrations from same email address?'), |
215b423e | 1392 | 'description' => ts('if true - allows the user to register multiple registrations from same email address.'), |
a36434b9 | 1393 | 'where' => 'civicrm_event.allow_same_participant_emails', |
45a83e42 | 1394 | 'default' => '0', |
522a26c9 | 1395 | 'table_name' => 'civicrm_event', |
1396 | 'entity' => 'Event', | |
1397 | 'bao' => 'CRM_Event_BAO_Event', | |
6a7e5e5d | 1398 | 'localizable' => 0, |
c3fc2621 | 1399 | 'html' => [ |
e501603b | 1400 | 'type' => 'CheckBox', |
c3fc2621 | 1401 | ], |
a9d0587b | 1402 | 'add' => '2.2', |
c3fc2621 CW |
1403 | ], |
1404 | 'has_waitlist' => [ | |
e501603b TO |
1405 | 'name' => 'has_waitlist', |
1406 | 'type' => CRM_Utils_Type::T_BOOLEAN, | |
c3fc2621 | 1407 | 'title' => ts('Waitlist Enabled'), |
215b423e | 1408 | 'description' => ts('Whether the event has waitlist support.'), |
a36434b9 | 1409 | 'where' => 'civicrm_event.has_waitlist', |
522a26c9 | 1410 | 'table_name' => 'civicrm_event', |
1411 | 'entity' => 'Event', | |
1412 | 'bao' => 'CRM_Event_BAO_Event', | |
6a7e5e5d | 1413 | 'localizable' => 0, |
c3fc2621 | 1414 | 'html' => [ |
e501603b | 1415 | 'type' => 'CheckBox', |
c3fc2621 | 1416 | ], |
a9d0587b | 1417 | 'add' => '3.0', |
c3fc2621 CW |
1418 | ], |
1419 | 'requires_approval' => [ | |
e501603b TO |
1420 | 'name' => 'requires_approval', |
1421 | 'type' => CRM_Utils_Type::T_BOOLEAN, | |
c3fc2621 | 1422 | 'title' => ts('Requires Approval'), |
215b423e | 1423 | 'description' => ts('Whether participants require approval before they can finish registering.'), |
a36434b9 | 1424 | 'where' => 'civicrm_event.requires_approval', |
522a26c9 | 1425 | 'table_name' => 'civicrm_event', |
1426 | 'entity' => 'Event', | |
1427 | 'bao' => 'CRM_Event_BAO_Event', | |
6a7e5e5d | 1428 | 'localizable' => 0, |
c3fc2621 | 1429 | 'html' => [ |
e501603b | 1430 | 'type' => 'CheckBox', |
c3fc2621 | 1431 | ], |
a9d0587b | 1432 | 'add' => '3.0', |
c3fc2621 CW |
1433 | ], |
1434 | 'expiration_time' => [ | |
e501603b TO |
1435 | 'name' => 'expiration_time', |
1436 | 'type' => CRM_Utils_Type::T_INT, | |
c3fc2621 | 1437 | 'title' => ts('Expiration Time'), |
215b423e | 1438 | 'description' => ts('Expire pending but unconfirmed registrations after this many hours.'), |
a36434b9 | 1439 | 'where' => 'civicrm_event.expiration_time', |
522a26c9 | 1440 | 'table_name' => 'civicrm_event', |
1441 | 'entity' => 'Event', | |
1442 | 'bao' => 'CRM_Event_BAO_Event', | |
6a7e5e5d | 1443 | 'localizable' => 0, |
c3fc2621 | 1444 | 'html' => [ |
e501603b | 1445 | 'type' => 'Text', |
c3fc2621 | 1446 | ], |
a9d0587b | 1447 | 'add' => '3.0', |
c3fc2621 CW |
1448 | ], |
1449 | 'allow_selfcancelxfer' => [ | |
e501603b TO |
1450 | 'name' => 'allow_selfcancelxfer', |
1451 | 'type' => CRM_Utils_Type::T_BOOLEAN, | |
c3fc2621 | 1452 | 'title' => ts('Allow Self-service Cancellation or Transfer'), |
215b423e | 1453 | 'description' => ts('Allow self service cancellation or transfer for event?'), |
a36434b9 | 1454 | 'where' => 'civicrm_event.allow_selfcancelxfer', |
45a83e42 | 1455 | 'default' => '0', |
522a26c9 | 1456 | 'table_name' => 'civicrm_event', |
1457 | 'entity' => 'Event', | |
1458 | 'bao' => 'CRM_Event_BAO_Event', | |
6a7e5e5d | 1459 | 'localizable' => 0, |
c3fc2621 | 1460 | 'html' => [ |
e501603b | 1461 | 'type' => 'CheckBox', |
c3fc2621 | 1462 | ], |
a9d0587b | 1463 | 'add' => '4.7', |
c3fc2621 CW |
1464 | ], |
1465 | 'selfcancelxfer_time' => [ | |
e501603b TO |
1466 | 'name' => 'selfcancelxfer_time', |
1467 | 'type' => CRM_Utils_Type::T_INT, | |
c3fc2621 | 1468 | 'title' => ts('Self-service Cancellation or Transfer Time'), |
215b423e | 1469 | 'description' => ts('Number of hours prior to event start date to allow self-service cancellation or transfer.'), |
a36434b9 | 1470 | 'where' => 'civicrm_event.selfcancelxfer_time', |
45a83e42 | 1471 | 'default' => '0', |
522a26c9 | 1472 | 'table_name' => 'civicrm_event', |
1473 | 'entity' => 'Event', | |
1474 | 'bao' => 'CRM_Event_BAO_Event', | |
6a7e5e5d | 1475 | 'localizable' => 0, |
c3fc2621 | 1476 | 'html' => [ |
e501603b | 1477 | 'type' => 'Text', |
c3fc2621 | 1478 | ], |
a9d0587b | 1479 | 'add' => '4.7', |
c3fc2621 CW |
1480 | ], |
1481 | 'waitlist_text' => [ | |
e501603b TO |
1482 | 'name' => 'waitlist_text', |
1483 | 'type' => CRM_Utils_Type::T_TEXT, | |
c3fc2621 | 1484 | 'title' => ts('Waitlist Text'), |
215b423e | 1485 | 'description' => ts('Text to display when the event is full, but participants can signup for a waitlist.'), |
e501603b TO |
1486 | 'rows' => 4, |
1487 | 'cols' => 60, | |
a36434b9 | 1488 | 'where' => 'civicrm_event.waitlist_text', |
522a26c9 | 1489 | 'table_name' => 'civicrm_event', |
1490 | 'entity' => 'Event', | |
1491 | 'bao' => 'CRM_Event_BAO_Event', | |
6a7e5e5d | 1492 | 'localizable' => 1, |
c3fc2621 | 1493 | 'html' => [ |
e501603b | 1494 | 'type' => 'TextArea', |
c3fc2621 | 1495 | ], |
a9d0587b | 1496 | 'add' => '3.0', |
c3fc2621 CW |
1497 | ], |
1498 | 'approval_req_text' => [ | |
e501603b TO |
1499 | 'name' => 'approval_req_text', |
1500 | 'type' => CRM_Utils_Type::T_TEXT, | |
c3fc2621 | 1501 | 'title' => ts('Approval Req Text'), |
215b423e | 1502 | 'description' => ts('Text to display when the approval is required to complete registration for an event.'), |
e501603b TO |
1503 | 'rows' => 4, |
1504 | 'cols' => 60, | |
a36434b9 | 1505 | 'where' => 'civicrm_event.approval_req_text', |
522a26c9 | 1506 | 'table_name' => 'civicrm_event', |
1507 | 'entity' => 'Event', | |
1508 | 'bao' => 'CRM_Event_BAO_Event', | |
6a7e5e5d | 1509 | 'localizable' => 1, |
c3fc2621 | 1510 | 'html' => [ |
e501603b | 1511 | 'type' => 'TextArea', |
c3fc2621 | 1512 | ], |
a9d0587b | 1513 | 'add' => '3.0', |
c3fc2621 CW |
1514 | ], |
1515 | 'is_template' => [ | |
e501603b TO |
1516 | 'name' => 'is_template', |
1517 | 'type' => CRM_Utils_Type::T_BOOLEAN, | |
c3fc2621 | 1518 | 'title' => ts('Is an Event Template'), |
215b423e | 1519 | 'description' => ts('whether the event has template'), |
c3fc2621 | 1520 | 'required' => TRUE, |
a36434b9 | 1521 | 'where' => 'civicrm_event.is_template', |
45a83e42 | 1522 | 'default' => '0', |
522a26c9 | 1523 | 'table_name' => 'civicrm_event', |
1524 | 'entity' => 'Event', | |
1525 | 'bao' => 'CRM_Event_BAO_Event', | |
6a7e5e5d | 1526 | 'localizable' => 0, |
c3fc2621 | 1527 | 'html' => [ |
e501603b | 1528 | 'type' => 'CheckBox', |
c3fc2621 | 1529 | ], |
a9d0587b | 1530 | 'add' => '3.0', |
c3fc2621 CW |
1531 | ], |
1532 | 'template_title' => [ | |
e501603b TO |
1533 | 'name' => 'template_title', |
1534 | 'type' => CRM_Utils_Type::T_STRING, | |
c3fc2621 | 1535 | 'title' => ts('Event Template Title'), |
215b423e | 1536 | 'description' => ts('Event Template Title'), |
e501603b TO |
1537 | 'maxlength' => 255, |
1538 | 'size' => CRM_Utils_Type::HUGE, | |
c3fc2621 | 1539 | 'import' => TRUE, |
e501603b TO |
1540 | 'where' => 'civicrm_event.template_title', |
1541 | 'headerPattern' => '/(template.)?title$/i', | |
c3fc2621 | 1542 | 'export' => TRUE, |
522a26c9 | 1543 | 'table_name' => 'civicrm_event', |
1544 | 'entity' => 'Event', | |
1545 | 'bao' => 'CRM_Event_BAO_Event', | |
6a7e5e5d | 1546 | 'localizable' => 1, |
c3fc2621 | 1547 | 'html' => [ |
e501603b | 1548 | 'type' => 'Text', |
c3fc2621 | 1549 | ], |
a9d0587b | 1550 | 'add' => '3.0', |
c3fc2621 CW |
1551 | ], |
1552 | 'created_id' => [ | |
e501603b TO |
1553 | 'name' => 'created_id', |
1554 | 'type' => CRM_Utils_Type::T_INT, | |
c3fc2621 | 1555 | 'title' => ts('Created By Contact ID'), |
215b423e | 1556 | 'description' => ts('FK to civicrm_contact, who created this event'), |
a36434b9 | 1557 | 'where' => 'civicrm_event.created_id', |
522a26c9 | 1558 | 'table_name' => 'civicrm_event', |
1559 | 'entity' => 'Event', | |
1560 | 'bao' => 'CRM_Event_BAO_Event', | |
6a7e5e5d | 1561 | 'localizable' => 0, |
e501603b | 1562 | 'FKClassName' => 'CRM_Contact_DAO_Contact', |
a9d0587b | 1563 | 'add' => '3.0', |
c3fc2621 CW |
1564 | ], |
1565 | 'created_date' => [ | |
e501603b TO |
1566 | 'name' => 'created_date', |
1567 | 'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME, | |
c3fc2621 | 1568 | 'title' => ts('Event Created Date'), |
215b423e | 1569 | 'description' => ts('Date and time that event was created.'), |
a36434b9 | 1570 | 'where' => 'civicrm_event.created_date', |
522a26c9 | 1571 | 'table_name' => 'civicrm_event', |
1572 | 'entity' => 'Event', | |
1573 | 'bao' => 'CRM_Event_BAO_Event', | |
6a7e5e5d | 1574 | 'localizable' => 0, |
a9d0587b | 1575 | 'add' => '3.0', |
c3fc2621 CW |
1576 | ], |
1577 | 'currency' => [ | |
e501603b TO |
1578 | 'name' => 'currency', |
1579 | 'type' => CRM_Utils_Type::T_STRING, | |
c3fc2621 | 1580 | 'title' => ts('Currency'), |
215b423e | 1581 | 'description' => ts('3 character string, value from config setting or input via user.'), |
e501603b TO |
1582 | 'maxlength' => 3, |
1583 | 'size' => CRM_Utils_Type::FOUR, | |
c3fc2621 | 1584 | 'import' => TRUE, |
e501603b TO |
1585 | 'where' => 'civicrm_event.currency', |
1586 | 'headerPattern' => '/cur(rency)?/i', | |
1587 | 'dataPattern' => '/^[A-Z]{3}$/i', | |
c3fc2621 | 1588 | 'export' => TRUE, |
522a26c9 | 1589 | 'table_name' => 'civicrm_event', |
1590 | 'entity' => 'Event', | |
1591 | 'bao' => 'CRM_Event_BAO_Event', | |
6a7e5e5d | 1592 | 'localizable' => 0, |
c3fc2621 | 1593 | 'html' => [ |
e501603b | 1594 | 'type' => 'Select', |
c3fc2621 CW |
1595 | ], |
1596 | 'pseudoconstant' => [ | |
e501603b TO |
1597 | 'table' => 'civicrm_currency', |
1598 | 'keyColumn' => 'name', | |
1599 | 'labelColumn' => 'full_name', | |
1600 | 'nameColumn' => 'name', | |
a8fdb24e | 1601 | 'abbrColumn' => 'symbol', |
e6ca0a57 | 1602 | ], |
a9d0587b | 1603 | 'add' => '3.3', |
c3fc2621 CW |
1604 | ], |
1605 | 'campaign_id' => [ | |
e501603b TO |
1606 | 'name' => 'campaign_id', |
1607 | 'type' => CRM_Utils_Type::T_INT, | |
c3fc2621 | 1608 | 'title' => ts('Campaign'), |
215b423e | 1609 | 'description' => ts('The campaign for which this event has been created.'), |
a36434b9 | 1610 | 'where' => 'civicrm_event.campaign_id', |
522a26c9 | 1611 | 'table_name' => 'civicrm_event', |
1612 | 'entity' => 'Event', | |
1613 | 'bao' => 'CRM_Event_BAO_Event', | |
6a7e5e5d | 1614 | 'localizable' => 0, |
e501603b | 1615 | 'FKClassName' => 'CRM_Campaign_DAO_Campaign', |
c3fc2621 | 1616 | 'html' => [ |
e501603b | 1617 | 'type' => 'EntityRef', |
c3fc2621 CW |
1618 | ], |
1619 | 'pseudoconstant' => [ | |
e501603b TO |
1620 | 'table' => 'civicrm_campaign', |
1621 | 'keyColumn' => 'id', | |
1622 | 'labelColumn' => 'title', | |
e6ca0a57 | 1623 | ], |
a9d0587b | 1624 | 'add' => '3.4', |
c3fc2621 CW |
1625 | ], |
1626 | 'is_share' => [ | |
e501603b TO |
1627 | 'name' => 'is_share', |
1628 | 'type' => CRM_Utils_Type::T_BOOLEAN, | |
c3fc2621 | 1629 | 'title' => ts('Is shared through social media'), |
215b423e | 1630 | 'description' => ts('Can people share the event through social media?'), |
a36434b9 | 1631 | 'where' => 'civicrm_event.is_share', |
e501603b | 1632 | 'default' => '1', |
522a26c9 | 1633 | 'table_name' => 'civicrm_event', |
1634 | 'entity' => 'Event', | |
1635 | 'bao' => 'CRM_Event_BAO_Event', | |
6a7e5e5d | 1636 | 'localizable' => 0, |
c3fc2621 | 1637 | 'html' => [ |
e501603b | 1638 | 'type' => 'CheckBox', |
c3fc2621 | 1639 | ], |
a9d0587b | 1640 | 'add' => '4.1', |
c3fc2621 CW |
1641 | ], |
1642 | 'is_confirm_enabled' => [ | |
e501603b TO |
1643 | 'name' => 'is_confirm_enabled', |
1644 | 'type' => CRM_Utils_Type::T_BOOLEAN, | |
c3fc2621 | 1645 | 'title' => ts('Is the booking confirmation screen enabled?'), |
215b423e | 1646 | 'description' => ts('If false, the event booking confirmation screen gets skipped'), |
a36434b9 | 1647 | 'where' => 'civicrm_event.is_confirm_enabled', |
e501603b | 1648 | 'default' => '1', |
522a26c9 | 1649 | 'table_name' => 'civicrm_event', |
1650 | 'entity' => 'Event', | |
1651 | 'bao' => 'CRM_Event_BAO_Event', | |
6a7e5e5d | 1652 | 'localizable' => 0, |
c3fc2621 | 1653 | 'html' => [ |
e501603b | 1654 | 'type' => 'CheckBox', |
c3fc2621 | 1655 | ], |
a9d0587b | 1656 | 'add' => '4.5', |
c3fc2621 CW |
1657 | ], |
1658 | 'parent_event_id' => [ | |
e501603b TO |
1659 | 'name' => 'parent_event_id', |
1660 | 'type' => CRM_Utils_Type::T_INT, | |
c3fc2621 | 1661 | 'title' => ts('Parent Event ID'), |
215b423e | 1662 | 'description' => ts('Implicit FK to civicrm_event: parent event'), |
a36434b9 | 1663 | 'where' => 'civicrm_event.parent_event_id', |
e501603b | 1664 | 'default' => 'NULL', |
522a26c9 | 1665 | 'table_name' => 'civicrm_event', |
1666 | 'entity' => 'Event', | |
1667 | 'bao' => 'CRM_Event_BAO_Event', | |
6a7e5e5d | 1668 | 'localizable' => 0, |
c3fc2621 | 1669 | 'html' => [ |
e501603b | 1670 | 'type' => 'EntityRef', |
c3fc2621 | 1671 | ], |
a9d0587b | 1672 | 'add' => '4.1', |
c3fc2621 CW |
1673 | ], |
1674 | 'slot_label_id' => [ | |
e501603b TO |
1675 | 'name' => 'slot_label_id', |
1676 | 'type' => CRM_Utils_Type::T_INT, | |
c3fc2621 | 1677 | 'title' => ts('Subevent Slot Label ID'), |
215b423e | 1678 | 'description' => ts('Subevent slot label. Implicit FK to civicrm_option_value where option_group = conference_slot.'), |
a36434b9 | 1679 | 'where' => 'civicrm_event.slot_label_id', |
e501603b | 1680 | 'default' => 'NULL', |
522a26c9 | 1681 | 'table_name' => 'civicrm_event', |
1682 | 'entity' => 'Event', | |
1683 | 'bao' => 'CRM_Event_BAO_Event', | |
6a7e5e5d | 1684 | 'localizable' => 0, |
c3fc2621 | 1685 | 'html' => [ |
e501603b | 1686 | 'type' => 'Select', |
c3fc2621 | 1687 | ], |
a9d0587b | 1688 | 'add' => '4.1', |
c3fc2621 CW |
1689 | ], |
1690 | 'dedupe_rule_group_id' => [ | |
e501603b TO |
1691 | 'name' => 'dedupe_rule_group_id', |
1692 | 'type' => CRM_Utils_Type::T_INT, | |
c3fc2621 | 1693 | 'title' => ts('Dedupe Rule'), |
215b423e | 1694 | 'description' => ts('Rule to use when matching registrations for this event'), |
a36434b9 | 1695 | 'where' => 'civicrm_event.dedupe_rule_group_id', |
e501603b | 1696 | 'default' => 'NULL', |
522a26c9 | 1697 | 'table_name' => 'civicrm_event', |
1698 | 'entity' => 'Event', | |
1699 | 'bao' => 'CRM_Event_BAO_Event', | |
6a7e5e5d | 1700 | 'localizable' => 0, |
e501603b | 1701 | 'FKClassName' => 'CRM_Dedupe_DAO_RuleGroup', |
c3fc2621 | 1702 | 'html' => [ |
e501603b | 1703 | 'type' => 'Select', |
c3fc2621 CW |
1704 | ], |
1705 | 'pseudoconstant' => [ | |
e501603b TO |
1706 | 'table' => 'civicrm_dedupe_rule_group', |
1707 | 'keyColumn' => 'id', | |
1708 | 'labelColumn' => 'title', | |
1709 | 'nameColumn' => 'name', | |
e6ca0a57 | 1710 | ], |
a9d0587b | 1711 | 'add' => '4.5', |
c3fc2621 CW |
1712 | ], |
1713 | 'is_billing_required' => [ | |
e501603b TO |
1714 | 'name' => 'is_billing_required', |
1715 | 'type' => CRM_Utils_Type::T_BOOLEAN, | |
c3fc2621 | 1716 | 'title' => ts('Is billing block required'), |
215b423e | 1717 | 'description' => ts('if true than billing block is required this event'), |
a36434b9 | 1718 | 'where' => 'civicrm_event.is_billing_required', |
45a83e42 | 1719 | 'default' => '0', |
522a26c9 | 1720 | 'table_name' => 'civicrm_event', |
1721 | 'entity' => 'Event', | |
1722 | 'bao' => 'CRM_Event_BAO_Event', | |
6a7e5e5d | 1723 | 'localizable' => 0, |
c3fc2621 | 1724 | 'html' => [ |
e501603b | 1725 | 'type' => 'CheckBox', |
c3fc2621 | 1726 | ], |
a9d0587b | 1727 | 'add' => '4.6', |
c3fc2621 CW |
1728 | ], |
1729 | ]; | |
346aaaba | 1730 | CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); |
e501603b | 1731 | } |
346aaaba | 1732 | return Civi::$statics[__CLASS__]['fields']; |
e501603b | 1733 | } |
c3fc2621 | 1734 | |
e501603b | 1735 | /** |
bd8e0b14 | 1736 | * Return a mapping from field-name to the corresponding key (as used in fields()). |
e501603b TO |
1737 | * |
1738 | * @return array | |
bd8e0b14 | 1739 | * Array(string $name => string $uniqueName). |
e501603b | 1740 | */ |
c3fc2621 | 1741 | public static function &fieldKeys() { |
bd8e0b14 TO |
1742 | if (!isset(Civi::$statics[__CLASS__]['fieldKeys'])) { |
1743 | Civi::$statics[__CLASS__]['fieldKeys'] = array_flip(CRM_Utils_Array::collect('name', self::fields())); | |
e501603b | 1744 | } |
bd8e0b14 | 1745 | return Civi::$statics[__CLASS__]['fieldKeys']; |
e501603b | 1746 | } |
c3fc2621 | 1747 | |
e501603b TO |
1748 | /** |
1749 | * Returns the names of this table | |
1750 | * | |
1751 | * @return string | |
1752 | */ | |
c3fc2621 | 1753 | public static function getTableName() { |
e501603b TO |
1754 | return CRM_Core_DAO::getLocaleTableName(self::$_tableName); |
1755 | } | |
c3fc2621 | 1756 | |
e501603b TO |
1757 | /** |
1758 | * Returns if this table needs to be logged | |
1759 | * | |
c3fc2621 | 1760 | * @return bool |
e501603b | 1761 | */ |
c3fc2621 | 1762 | public function getLog() { |
e501603b TO |
1763 | return self::$_log; |
1764 | } | |
c3fc2621 | 1765 | |
e501603b TO |
1766 | /** |
1767 | * Returns the list of fields that can be imported | |
1768 | * | |
1769 | * @param bool $prefix | |
1770 | * | |
1771 | * @return array | |
1772 | */ | |
c3fc2621 CW |
1773 | public static function &import($prefix = FALSE) { |
1774 | $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'event', $prefix, []); | |
60808919 | 1775 | return $r; |
e501603b | 1776 | } |
c3fc2621 | 1777 | |
e501603b TO |
1778 | /** |
1779 | * Returns the list of fields that can be exported | |
1780 | * | |
1781 | * @param bool $prefix | |
1782 | * | |
1783 | * @return array | |
1784 | */ | |
c3fc2621 CW |
1785 | public static function &export($prefix = FALSE) { |
1786 | $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'event', $prefix, []); | |
60808919 | 1787 | return $r; |
e501603b | 1788 | } |
c3fc2621 | 1789 | |
e7a6b91a AS |
1790 | /** |
1791 | * Returns the list of indices | |
c3fc2621 CW |
1792 | * |
1793 | * @param bool $localize | |
1794 | * | |
1795 | * @return array | |
e7a6b91a AS |
1796 | */ |
1797 | public static function indices($localize = TRUE) { | |
c3fc2621 CW |
1798 | $indices = [ |
1799 | 'index_event_type_id' => [ | |
e7a6b91a | 1800 | 'name' => 'index_event_type_id', |
c3fc2621 | 1801 | 'field' => [ |
e7a6b91a | 1802 | 0 => 'event_type_id', |
c3fc2621 CW |
1803 | ], |
1804 | 'localizable' => FALSE, | |
e7a6b91a | 1805 | 'sig' => 'civicrm_event::0::event_type_id', |
c3fc2621 CW |
1806 | ], |
1807 | 'index_participant_listing_id' => [ | |
e7a6b91a | 1808 | 'name' => 'index_participant_listing_id', |
c3fc2621 | 1809 | 'field' => [ |
e7a6b91a | 1810 | 0 => 'participant_listing_id', |
c3fc2621 CW |
1811 | ], |
1812 | 'localizable' => FALSE, | |
e7a6b91a | 1813 | 'sig' => 'civicrm_event::0::participant_listing_id', |
c3fc2621 CW |
1814 | ], |
1815 | 'index_parent_event_id' => [ | |
e7a6b91a | 1816 | 'name' => 'index_parent_event_id', |
c3fc2621 | 1817 | 'field' => [ |
e7a6b91a | 1818 | 0 => 'parent_event_id', |
c3fc2621 CW |
1819 | ], |
1820 | 'localizable' => FALSE, | |
e7a6b91a | 1821 | 'sig' => 'civicrm_event::0::parent_event_id', |
c3fc2621 CW |
1822 | ], |
1823 | ]; | |
e7a6b91a AS |
1824 | return ($localize && !empty($indices)) ? CRM_Core_DAO_AllCoreTables::multilingualize(__CLASS__, $indices) : $indices; |
1825 | } | |
c3fc2621 | 1826 | |
e501603b | 1827 | } |