Merge pull request #19521 from civicrm/5.34
[civicrm-core.git] / CRM / Pledge / DAO / Pledge.php
1 <?php
2
3 /**
4 * @package CRM
5 * @copyright CiviCRM LLC https://civicrm.org/licensing
6 *
7 * Generated from xml/schema/CRM/Pledge/Pledge.xml
8 * DO NOT EDIT. Generated by CRM_Core_CodeGen
9 * (GenCodeChecksum:8a17ba664d9a2c65860be67652def7f5)
10 */
11
12 /**
13 * Database access object for the Pledge entity.
14 */
15 class CRM_Pledge_DAO_Pledge extends CRM_Core_DAO {
16 const EXT = 'civicrm';
17 const TABLE_ADDED = '2.1';
18 const COMPONENT = 'CiviPledge';
19
20 /**
21 * Static instance to hold the table name.
22 *
23 * @var string
24 */
25 public static $_tableName = 'civicrm_pledge';
26
27 /**
28 * Icon associated with this entity.
29 *
30 * @var string
31 */
32 public static $_icon = 'fa-paper-plane';
33
34 /**
35 * Should CiviCRM log any modifications to this table in the civicrm_log table.
36 *
37 * @var bool
38 */
39 public static $_log = TRUE;
40
41 /**
42 * Pledge ID
43 *
44 * @var int
45 */
46 public $id;
47
48 /**
49 * Foreign key to civicrm_contact.id .
50 *
51 * @var int
52 */
53 public $contact_id;
54
55 /**
56 * FK to Financial Type
57 *
58 * @var int
59 */
60 public $financial_type_id;
61
62 /**
63 * The Contribution Page which triggered this contribution
64 *
65 * @var int
66 */
67 public $contribution_page_id;
68
69 /**
70 * Total pledged amount.
71 *
72 * @var float
73 */
74 public $amount;
75
76 /**
77 * Original amount for each of the installments.
78 *
79 * @var float
80 */
81 public $original_installment_amount;
82
83 /**
84 * 3 character string, value from config setting or input via user.
85 *
86 * @var string
87 */
88 public $currency;
89
90 /**
91 * Time units for recurrence of pledge payments.
92 *
93 * @var string
94 */
95 public $frequency_unit;
96
97 /**
98 * Number of time units for recurrence of pledge payments.
99 *
100 * @var int
101 */
102 public $frequency_interval;
103
104 /**
105 * Day in the period when the pledge payment is due e.g. 1st of month, 15th etc. Use this to set the scheduled dates for pledge payments.
106 *
107 * @var int
108 */
109 public $frequency_day;
110
111 /**
112 * Total number of payments to be made.
113 *
114 * @var int
115 */
116 public $installments;
117
118 /**
119 * The date the first scheduled pledge occurs.
120 *
121 * @var datetime
122 */
123 public $start_date;
124
125 /**
126 * When this pledge record was created.
127 *
128 * @var datetime
129 */
130 public $create_date;
131
132 /**
133 * When a pledge acknowledgement message was sent to the contributor.
134 *
135 * @var datetime
136 */
137 public $acknowledge_date;
138
139 /**
140 * Last updated date for this pledge record.
141 *
142 * @var datetime
143 */
144 public $modified_date;
145
146 /**
147 * Date this pledge was cancelled by contributor.
148 *
149 * @var datetime
150 */
151 public $cancel_date;
152
153 /**
154 * Date this pledge finished successfully (total pledge payments equal to or greater than pledged amount).
155 *
156 * @var datetime
157 */
158 public $end_date;
159
160 /**
161 * The maximum number of payment reminders to send for any given payment.
162 *
163 * @var int
164 */
165 public $max_reminders;
166
167 /**
168 * Send initial reminder this many days prior to the payment due date.
169 *
170 * @var int
171 */
172 public $initial_reminder_day;
173
174 /**
175 * Send additional reminder this many days after last one sent, up to maximum number of reminders.
176 *
177 * @var int
178 */
179 public $additional_reminder_day;
180
181 /**
182 * Implicit foreign key to civicrm_option_values in the pledge_status option group.
183 *
184 * @var int
185 */
186 public $status_id;
187
188 /**
189 * @var bool
190 */
191 public $is_test;
192
193 /**
194 * The campaign for which this pledge has been initiated.
195 *
196 * @var int
197 */
198 public $campaign_id;
199
200 /**
201 * Class constructor.
202 */
203 public function __construct() {
204 $this->__table = 'civicrm_pledge';
205 parent::__construct();
206 }
207
208 /**
209 * Returns localized title of this entity.
210 *
211 * @param bool $plural
212 * Whether to return the plural version of the title.
213 */
214 public static function getEntityTitle($plural = FALSE) {
215 return $plural ? ts('Pledges') : ts('Pledge');
216 }
217
218 /**
219 * Returns foreign keys and entity references.
220 *
221 * @return array
222 * [CRM_Core_Reference_Interface]
223 */
224 public static function getReferenceColumns() {
225 if (!isset(Civi::$statics[__CLASS__]['links'])) {
226 Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
227 Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contact_id', 'civicrm_contact', 'id');
228 Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'financial_type_id', 'civicrm_financial_type', 'id');
229 Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'contribution_page_id', 'civicrm_contribution_page', 'id');
230 Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'campaign_id', 'civicrm_campaign', 'id');
231 CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
232 }
233 return Civi::$statics[__CLASS__]['links'];
234 }
235
236 /**
237 * Returns all the column names of this table
238 *
239 * @return array
240 */
241 public static function &fields() {
242 if (!isset(Civi::$statics[__CLASS__]['fields'])) {
243 Civi::$statics[__CLASS__]['fields'] = [
244 'pledge_id' => [
245 'name' => 'id',
246 'type' => CRM_Utils_Type::T_INT,
247 'title' => ts('Pledge ID'),
248 'description' => ts('Pledge ID'),
249 'required' => TRUE,
250 'import' => TRUE,
251 'where' => 'civicrm_pledge.id',
252 'export' => TRUE,
253 'table_name' => 'civicrm_pledge',
254 'entity' => 'Pledge',
255 'bao' => 'CRM_Pledge_BAO_Pledge',
256 'localizable' => 0,
257 'add' => '2.1',
258 ],
259 'pledge_contact_id' => [
260 'name' => 'contact_id',
261 'type' => CRM_Utils_Type::T_INT,
262 'title' => ts('Contact ID'),
263 'description' => ts('Foreign key to civicrm_contact.id .'),
264 'required' => TRUE,
265 'import' => TRUE,
266 'where' => 'civicrm_pledge.contact_id',
267 'export' => TRUE,
268 'table_name' => 'civicrm_pledge',
269 'entity' => 'Pledge',
270 'bao' => 'CRM_Pledge_BAO_Pledge',
271 'localizable' => 0,
272 'FKClassName' => 'CRM_Contact_DAO_Contact',
273 'html' => [
274 'type' => 'EntityRef',
275 ],
276 'add' => '2.1',
277 ],
278 'pledge_financial_type_id' => [
279 'name' => 'financial_type_id',
280 'type' => CRM_Utils_Type::T_INT,
281 'title' => ts('Type'),
282 'description' => ts('FK to Financial Type'),
283 'where' => 'civicrm_pledge.financial_type_id',
284 'table_name' => 'civicrm_pledge',
285 'entity' => 'Pledge',
286 'bao' => 'CRM_Pledge_BAO_Pledge',
287 'localizable' => 0,
288 'FKClassName' => 'CRM_Financial_DAO_FinancialType',
289 'html' => [
290 'type' => 'Select',
291 ],
292 'pseudoconstant' => [
293 'table' => 'civicrm_financial_type',
294 'keyColumn' => 'id',
295 'labelColumn' => 'name',
296 ],
297 'add' => '4.3',
298 ],
299 'pledge_contribution_page_id' => [
300 'name' => 'contribution_page_id',
301 'type' => CRM_Utils_Type::T_INT,
302 'title' => ts('Pledge Contribution Page'),
303 'description' => ts('The Contribution Page which triggered this contribution'),
304 'where' => 'civicrm_pledge.contribution_page_id',
305 'table_name' => 'civicrm_pledge',
306 'entity' => 'Pledge',
307 'bao' => 'CRM_Pledge_BAO_Pledge',
308 'localizable' => 0,
309 'FKClassName' => 'CRM_Contribute_DAO_ContributionPage',
310 'add' => '2.1',
311 ],
312 'pledge_amount' => [
313 'name' => 'amount',
314 'type' => CRM_Utils_Type::T_MONEY,
315 'title' => ts('Total Pledged'),
316 'description' => ts('Total pledged amount.'),
317 'required' => TRUE,
318 'precision' => [
319 20,
320 2,
321 ],
322 'import' => TRUE,
323 'where' => 'civicrm_pledge.amount',
324 'export' => TRUE,
325 'table_name' => 'civicrm_pledge',
326 'entity' => 'Pledge',
327 'bao' => 'CRM_Pledge_BAO_Pledge',
328 'localizable' => 0,
329 'html' => [
330 'type' => 'Text',
331 ],
332 'add' => '2.1',
333 ],
334 'pledge_original_installment_amount' => [
335 'name' => 'original_installment_amount',
336 'type' => CRM_Utils_Type::T_MONEY,
337 'title' => ts('Original Installment Amount'),
338 'description' => ts('Original amount for each of the installments.'),
339 'required' => TRUE,
340 'precision' => [
341 20,
342 2,
343 ],
344 'where' => 'civicrm_pledge.original_installment_amount',
345 'export' => TRUE,
346 'table_name' => 'civicrm_pledge',
347 'entity' => 'Pledge',
348 'bao' => 'CRM_Pledge_BAO_Pledge',
349 'localizable' => 0,
350 'html' => [
351 'type' => 'Text',
352 ],
353 'add' => '3.2',
354 ],
355 'currency' => [
356 'name' => 'currency',
357 'type' => CRM_Utils_Type::T_STRING,
358 'title' => ts('Pledge Currency'),
359 'description' => ts('3 character string, value from config setting or input via user.'),
360 'maxlength' => 3,
361 'size' => CRM_Utils_Type::FOUR,
362 'where' => 'civicrm_pledge.currency',
363 'default' => 'NULL',
364 'table_name' => 'civicrm_pledge',
365 'entity' => 'Pledge',
366 'bao' => 'CRM_Pledge_BAO_Pledge',
367 'localizable' => 0,
368 'html' => [
369 'type' => 'Select',
370 ],
371 'pseudoconstant' => [
372 'table' => 'civicrm_currency',
373 'keyColumn' => 'name',
374 'labelColumn' => 'full_name',
375 'nameColumn' => 'name',
376 'abbrColumn' => 'symbol',
377 ],
378 'add' => '3.2',
379 ],
380 'pledge_frequency_unit' => [
381 'name' => 'frequency_unit',
382 'type' => CRM_Utils_Type::T_STRING,
383 'title' => ts('Pledge Frequency Unit'),
384 'description' => ts('Time units for recurrence of pledge payments.'),
385 'required' => TRUE,
386 'maxlength' => 8,
387 'size' => CRM_Utils_Type::EIGHT,
388 'where' => 'civicrm_pledge.frequency_unit',
389 'default' => 'month',
390 'table_name' => 'civicrm_pledge',
391 'entity' => 'Pledge',
392 'bao' => 'CRM_Pledge_BAO_Pledge',
393 'localizable' => 0,
394 'html' => [
395 'type' => 'Select',
396 ],
397 'pseudoconstant' => [
398 'optionGroupName' => 'recur_frequency_units',
399 'keyColumn' => 'name',
400 'optionEditPath' => 'civicrm/admin/options/recur_frequency_units',
401 ],
402 'add' => '2.1',
403 ],
404 'pledge_frequency_interval' => [
405 'name' => 'frequency_interval',
406 'type' => CRM_Utils_Type::T_INT,
407 'title' => ts('Pledge Frequency Interval'),
408 'description' => ts('Number of time units for recurrence of pledge payments.'),
409 'required' => TRUE,
410 'where' => 'civicrm_pledge.frequency_interval',
411 'default' => '1',
412 'table_name' => 'civicrm_pledge',
413 'entity' => 'Pledge',
414 'bao' => 'CRM_Pledge_BAO_Pledge',
415 'localizable' => 0,
416 'html' => [
417 'type' => 'Text',
418 ],
419 'add' => '2.1',
420 ],
421 'frequency_day' => [
422 'name' => 'frequency_day',
423 'type' => CRM_Utils_Type::T_INT,
424 'title' => ts('Pledge day'),
425 'description' => ts('Day in the period when the pledge payment is due e.g. 1st of month, 15th etc. Use this to set the scheduled dates for pledge payments.'),
426 'required' => TRUE,
427 'where' => 'civicrm_pledge.frequency_day',
428 'default' => '3',
429 'table_name' => 'civicrm_pledge',
430 'entity' => 'Pledge',
431 'bao' => 'CRM_Pledge_BAO_Pledge',
432 'localizable' => 0,
433 'html' => [
434 'type' => 'Select',
435 ],
436 'add' => '2.1',
437 ],
438 'installments' => [
439 'name' => 'installments',
440 'type' => CRM_Utils_Type::T_INT,
441 'title' => ts('Pledge Number of Installments'),
442 'description' => ts('Total number of payments to be made.'),
443 'required' => TRUE,
444 'where' => 'civicrm_pledge.installments',
445 'export' => TRUE,
446 'default' => '1',
447 'table_name' => 'civicrm_pledge',
448 'entity' => 'Pledge',
449 'bao' => 'CRM_Pledge_BAO_Pledge',
450 'localizable' => 0,
451 'html' => [
452 'type' => 'Text',
453 ],
454 'add' => '2.1',
455 ],
456 'pledge_start_date' => [
457 'name' => 'start_date',
458 'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
459 'title' => ts('Pledge Start Date'),
460 'description' => ts('The date the first scheduled pledge occurs.'),
461 'required' => TRUE,
462 'where' => 'civicrm_pledge.start_date',
463 'export' => TRUE,
464 'table_name' => 'civicrm_pledge',
465 'entity' => 'Pledge',
466 'bao' => 'CRM_Pledge_BAO_Pledge',
467 'localizable' => 0,
468 'unique_title' => ts('Payments Start Date'),
469 'html' => [
470 'type' => 'Select Date',
471 'formatType' => 'activityDate',
472 ],
473 'add' => '2.1',
474 ],
475 'pledge_create_date' => [
476 'name' => 'create_date',
477 'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
478 'title' => ts('Pledge Made'),
479 'description' => ts('When this pledge record was created.'),
480 'required' => TRUE,
481 'import' => TRUE,
482 'where' => 'civicrm_pledge.create_date',
483 'export' => TRUE,
484 'table_name' => 'civicrm_pledge',
485 'entity' => 'Pledge',
486 'bao' => 'CRM_Pledge_BAO_Pledge',
487 'localizable' => 0,
488 'html' => [
489 'type' => 'Select Date',
490 'formatType' => 'activityDate',
491 ],
492 'add' => '2.1',
493 ],
494 'acknowledge_date' => [
495 'name' => 'acknowledge_date',
496 'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
497 'title' => ts('Pledge Acknowledged'),
498 'description' => ts('When a pledge acknowledgement message was sent to the contributor.'),
499 'where' => 'civicrm_pledge.acknowledge_date',
500 'table_name' => 'civicrm_pledge',
501 'entity' => 'Pledge',
502 'bao' => 'CRM_Pledge_BAO_Pledge',
503 'localizable' => 0,
504 'html' => [
505 'type' => 'Select Date',
506 'formatType' => 'activityDate',
507 ],
508 'add' => '2.1',
509 ],
510 'modified_date' => [
511 'name' => 'modified_date',
512 'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
513 'title' => ts('Pledge Modified Date'),
514 'description' => ts('Last updated date for this pledge record.'),
515 'where' => 'civicrm_pledge.modified_date',
516 'table_name' => 'civicrm_pledge',
517 'entity' => 'Pledge',
518 'bao' => 'CRM_Pledge_BAO_Pledge',
519 'localizable' => 0,
520 'add' => '2.1',
521 ],
522 'cancel_date' => [
523 'name' => 'cancel_date',
524 'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
525 'title' => ts('Pledge Cancelled Date'),
526 'description' => ts('Date this pledge was cancelled by contributor.'),
527 'where' => 'civicrm_pledge.cancel_date',
528 'table_name' => 'civicrm_pledge',
529 'entity' => 'Pledge',
530 'bao' => 'CRM_Pledge_BAO_Pledge',
531 'localizable' => 0,
532 'html' => [
533 'type' => 'Select Date',
534 'formatType' => 'activityDate',
535 ],
536 'add' => '2.1',
537 ],
538 'pledge_end_date' => [
539 'name' => 'end_date',
540 'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
541 'title' => ts('Pledge End Date'),
542 'description' => ts('Date this pledge finished successfully (total pledge payments equal to or greater than pledged amount).'),
543 'where' => 'civicrm_pledge.end_date',
544 'export' => TRUE,
545 'table_name' => 'civicrm_pledge',
546 'entity' => 'Pledge',
547 'bao' => 'CRM_Pledge_BAO_Pledge',
548 'localizable' => 0,
549 'unique_title' => ts('Payments Ended Date'),
550 'html' => [
551 'type' => 'Select Date',
552 'formatType' => 'activityDate',
553 ],
554 'add' => '2.1',
555 ],
556 'max_reminders' => [
557 'name' => 'max_reminders',
558 'type' => CRM_Utils_Type::T_INT,
559 'title' => ts('Maximum Number of Reminders'),
560 'description' => ts('The maximum number of payment reminders to send for any given payment.'),
561 'where' => 'civicrm_pledge.max_reminders',
562 'default' => '1',
563 'table_name' => 'civicrm_pledge',
564 'entity' => 'Pledge',
565 'bao' => 'CRM_Pledge_BAO_Pledge',
566 'localizable' => 0,
567 'html' => [
568 'type' => 'Text',
569 ],
570 'add' => '2.1',
571 ],
572 'initial_reminder_day' => [
573 'name' => 'initial_reminder_day',
574 'type' => CRM_Utils_Type::T_INT,
575 'title' => ts('Initial Reminder Day'),
576 'description' => ts('Send initial reminder this many days prior to the payment due date.'),
577 'where' => 'civicrm_pledge.initial_reminder_day',
578 'default' => '5',
579 'table_name' => 'civicrm_pledge',
580 'entity' => 'Pledge',
581 'bao' => 'CRM_Pledge_BAO_Pledge',
582 'localizable' => 0,
583 'html' => [
584 'type' => 'Select',
585 ],
586 'add' => '2.1',
587 ],
588 'additional_reminder_day' => [
589 'name' => 'additional_reminder_day',
590 'type' => CRM_Utils_Type::T_INT,
591 'title' => ts('Additional Reminder Days'),
592 'description' => ts('Send additional reminder this many days after last one sent, up to maximum number of reminders.'),
593 'where' => 'civicrm_pledge.additional_reminder_day',
594 'default' => '5',
595 'table_name' => 'civicrm_pledge',
596 'entity' => 'Pledge',
597 'bao' => 'CRM_Pledge_BAO_Pledge',
598 'localizable' => 0,
599 'html' => [
600 'type' => 'Text',
601 ],
602 'add' => '2.1',
603 ],
604 'pledge_status_id' => [
605 'name' => 'status_id',
606 'type' => CRM_Utils_Type::T_INT,
607 'title' => ts('Pledge Status Id'),
608 'description' => ts('Implicit foreign key to civicrm_option_values in the pledge_status option group.'),
609 'required' => TRUE,
610 'import' => TRUE,
611 'where' => 'civicrm_pledge.status_id',
612 'export' => FALSE,
613 'table_name' => 'civicrm_pledge',
614 'entity' => 'Pledge',
615 'bao' => 'CRM_Pledge_BAO_Pledge',
616 'localizable' => 0,
617 'html' => [
618 'type' => 'Select',
619 ],
620 'pseudoconstant' => [
621 'optionGroupName' => 'pledge_status',
622 'optionEditPath' => 'civicrm/admin/options/pledge_status',
623 ],
624 'add' => '2.1',
625 ],
626 'pledge_is_test' => [
627 'name' => 'is_test',
628 'type' => CRM_Utils_Type::T_BOOLEAN,
629 'title' => ts('Test'),
630 'required' => TRUE,
631 'import' => TRUE,
632 'where' => 'civicrm_pledge.is_test',
633 'export' => TRUE,
634 'default' => '0',
635 'table_name' => 'civicrm_pledge',
636 'entity' => 'Pledge',
637 'bao' => 'CRM_Pledge_BAO_Pledge',
638 'localizable' => 0,
639 'html' => [
640 'type' => 'CheckBox',
641 ],
642 'add' => NULL,
643 ],
644 'pledge_campaign_id' => [
645 'name' => 'campaign_id',
646 'type' => CRM_Utils_Type::T_INT,
647 'title' => ts('Campaign'),
648 'description' => ts('The campaign for which this pledge has been initiated.'),
649 'import' => TRUE,
650 'where' => 'civicrm_pledge.campaign_id',
651 'export' => TRUE,
652 'table_name' => 'civicrm_pledge',
653 'entity' => 'Pledge',
654 'bao' => 'CRM_Pledge_BAO_Pledge',
655 'localizable' => 0,
656 'FKClassName' => 'CRM_Campaign_DAO_Campaign',
657 'html' => [
658 'type' => 'Select',
659 ],
660 'pseudoconstant' => [
661 'table' => 'civicrm_campaign',
662 'keyColumn' => 'id',
663 'labelColumn' => 'title',
664 ],
665 'add' => '3.4',
666 ],
667 ];
668 CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
669 }
670 return Civi::$statics[__CLASS__]['fields'];
671 }
672
673 /**
674 * Return a mapping from field-name to the corresponding key (as used in fields()).
675 *
676 * @return array
677 * Array(string $name => string $uniqueName).
678 */
679 public static function &fieldKeys() {
680 if (!isset(Civi::$statics[__CLASS__]['fieldKeys'])) {
681 Civi::$statics[__CLASS__]['fieldKeys'] = array_flip(CRM_Utils_Array::collect('name', self::fields()));
682 }
683 return Civi::$statics[__CLASS__]['fieldKeys'];
684 }
685
686 /**
687 * Returns the names of this table
688 *
689 * @return string
690 */
691 public static function getTableName() {
692 return self::$_tableName;
693 }
694
695 /**
696 * Returns if this table needs to be logged
697 *
698 * @return bool
699 */
700 public function getLog() {
701 return self::$_log;
702 }
703
704 /**
705 * Returns the list of fields that can be imported
706 *
707 * @param bool $prefix
708 *
709 * @return array
710 */
711 public static function &import($prefix = FALSE) {
712 $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'pledge', $prefix, []);
713 return $r;
714 }
715
716 /**
717 * Returns the list of fields that can be exported
718 *
719 * @param bool $prefix
720 *
721 * @return array
722 */
723 public static function &export($prefix = FALSE) {
724 $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'pledge', $prefix, []);
725 return $r;
726 }
727
728 /**
729 * Returns the list of indices
730 *
731 * @param bool $localize
732 *
733 * @return array
734 */
735 public static function indices($localize = TRUE) {
736 $indices = [
737 'index_status' => [
738 'name' => 'index_status',
739 'field' => [
740 0 => 'status_id',
741 ],
742 'localizable' => FALSE,
743 'sig' => 'civicrm_pledge::0::status_id',
744 ],
745 ];
746 return ($localize && !empty($indices)) ? CRM_Core_DAO_AllCoreTables::multilingualize(__CLASS__, $indices) : $indices;
747 }
748
749 }