5 * @copyright CiviCRM LLC https://civicrm.org/licensing
7 * Generated from xml/schema/CRM/Contribute/ContributionRecur.xml
8 * DO NOT EDIT. Generated by CRM_Core_CodeGen
9 * (GenCodeChecksum:5f08744178821ce074d21fe4cdddbdaa)
13 * Database access object for the ContributionRecur entity.
15 class CRM_Contribute_DAO_ContributionRecur
extends CRM_Core_DAO
{
16 const EXT
= 'civicrm';
17 const TABLE_ADDED
= '1.6';
18 const COMPONENT
= 'CiviContribute';
21 * Static instance to hold the table name.
25 public static $_tableName = 'civicrm_contribution_recur';
28 * Should CiviCRM log any modifications to this table in the civicrm_log table.
32 public static $_log = TRUE;
35 * Contribution Recur ID
42 * Foreign key to civicrm_contact.id.
49 * Amount to be collected (including any sales tax) by payment processor each recurrence.
56 * 3 character string, value from config setting or input via user.
63 * Time units for recurrence of payment.
67 public $frequency_unit;
70 * Number of time units for recurrence of payment.
74 public $frequency_interval;
77 * Total number of payments to be made. Set this to 0 if this is an open-ended commitment i.e. no set end date.
84 * The date the first scheduled recurring contribution occurs.
91 * When this recurring contribution record was created.
98 * Last updated date for this record. mostly the last time a payment was received
102 public $modified_date;
105 * Date this recurring contribution was cancelled by contributor- if we can get access to it
112 * Free text field for a reason for cancelling
116 public $cancel_reason;
119 * Date this recurring contribution finished successfully
126 * Possibly needed to store a unique identifier for this recurring payment order - if this is available from the processor??
130 public $processor_id;
133 * Optionally used to store a link to a payment token used for this recurring contribution.
137 public $payment_token_id;
140 * unique transaction id. may be processor id, bank id + trans id, or account number + check number... depending on payment_method
147 * unique invoice id, system generated or passed in
156 public $contribution_status_id;
164 * Day in the period when the payment should be charged e.g. 1st of month, 15th etc.
171 * Next scheduled date
175 public $next_sched_contribution_date;
178 * Number of failed charge attempts since last success. Business rule could be set to deactivate on more than x failures.
182 public $failure_count;
185 * Date to retry failed attempt
189 public $failure_retry_date;
192 * Some systems allow contributor to set a number of installments - but then auto-renew the subscription or commitment if they do not cancel.
199 * Foreign key to civicrm_payment_processor.id
203 public $payment_processor_id;
206 * FK to Financial Type
210 public $financial_type_id;
213 * FK to Payment Instrument
217 public $payment_instrument_id;
220 * The campaign for which this contribution has been triggered.
227 * if true, receipt is automatically emailed to contact on each successful payment
231 public $is_email_receipt;
236 public function __construct() {
237 $this->__table
= 'civicrm_contribution_recur';
238 parent
::__construct();
242 * Returns localized title of this entity.
244 * @param bool $plural
245 * Whether to return the plural version of the title.
247 public static function getEntityTitle($plural = FALSE) {
248 return $plural ?
ts('Recurring Contributions') : ts('Recurring Contribution');
252 * Returns foreign keys and entity references.
255 * [CRM_Core_Reference_Interface]
257 public static function getReferenceColumns() {
258 if (!isset(Civi
::$statics[__CLASS__
]['links'])) {
259 Civi
::$statics[__CLASS__
]['links'] = static::createReferenceColumns(__CLASS__
);
260 Civi
::$statics[__CLASS__
]['links'][] = new CRM_Core_Reference_Basic(self
::getTableName(), 'contact_id', 'civicrm_contact', 'id');
261 Civi
::$statics[__CLASS__
]['links'][] = new CRM_Core_Reference_Basic(self
::getTableName(), 'payment_token_id', 'civicrm_payment_token', 'id');
262 Civi
::$statics[__CLASS__
]['links'][] = new CRM_Core_Reference_Basic(self
::getTableName(), 'payment_processor_id', 'civicrm_payment_processor', 'id');
263 Civi
::$statics[__CLASS__
]['links'][] = new CRM_Core_Reference_Basic(self
::getTableName(), 'financial_type_id', 'civicrm_financial_type', 'id');
264 Civi
::$statics[__CLASS__
]['links'][] = new CRM_Core_Reference_Basic(self
::getTableName(), 'campaign_id', 'civicrm_campaign', 'id');
265 CRM_Core_DAO_AllCoreTables
::invoke(__CLASS__
, 'links_callback', Civi
::$statics[__CLASS__
]['links']);
267 return Civi
::$statics[__CLASS__
]['links'];
271 * Returns all the column names of this table
275 public static function &fields() {
276 if (!isset(Civi
::$statics[__CLASS__
]['fields'])) {
277 Civi
::$statics[__CLASS__
]['fields'] = [
278 'contribution_recur_id' => [
280 'type' => CRM_Utils_Type
::T_INT
,
281 'title' => ts('Recurring Contribution ID'),
282 'description' => ts('Contribution Recur ID'),
284 'where' => 'civicrm_contribution_recur.id',
285 'table_name' => 'civicrm_contribution_recur',
286 'entity' => 'ContributionRecur',
287 'bao' => 'CRM_Contribute_BAO_ContributionRecur',
296 'name' => 'contact_id',
297 'type' => CRM_Utils_Type
::T_INT
,
298 'title' => ts('Contact ID'),
299 'description' => ts('Foreign key to civicrm_contact.id.'),
301 'where' => 'civicrm_contribution_recur.contact_id',
302 'table_name' => 'civicrm_contribution_recur',
303 'entity' => 'ContributionRecur',
304 'bao' => 'CRM_Contribute_BAO_ContributionRecur',
306 'FKClassName' => 'CRM_Contact_DAO_Contact',
308 'type' => 'EntityRef',
309 'label' => ts("Contact"),
315 'type' => CRM_Utils_Type
::T_MONEY
,
316 'title' => ts('Amount'),
317 'description' => ts('Amount to be collected (including any sales tax) by payment processor each recurrence.'),
323 'where' => 'civicrm_contribution_recur.amount',
324 'table_name' => 'civicrm_contribution_recur',
325 'entity' => 'ContributionRecur',
326 'bao' => 'CRM_Contribute_BAO_ContributionRecur',
334 'name' => 'currency',
335 'type' => CRM_Utils_Type
::T_STRING
,
336 'title' => ts('Currency'),
337 'description' => ts('3 character string, value from config setting or input via user.'),
339 'size' => CRM_Utils_Type
::FOUR
,
340 'where' => 'civicrm_contribution_recur.currency',
342 'table_name' => 'civicrm_contribution_recur',
343 'entity' => 'ContributionRecur',
344 'bao' => 'CRM_Contribute_BAO_ContributionRecur',
349 'pseudoconstant' => [
350 'table' => 'civicrm_currency',
351 'keyColumn' => 'name',
352 'labelColumn' => 'full_name',
353 'nameColumn' => 'name',
354 'abbrColumn' => 'symbol',
358 'frequency_unit' => [
359 'name' => 'frequency_unit',
360 'type' => CRM_Utils_Type
::T_STRING
,
361 'title' => ts('Frequency Unit'),
362 'description' => ts('Time units for recurrence of payment.'),
364 'size' => CRM_Utils_Type
::EIGHT
,
365 'where' => 'civicrm_contribution_recur.frequency_unit',
366 'default' => 'month',
367 'table_name' => 'civicrm_contribution_recur',
368 'entity' => 'ContributionRecur',
369 'bao' => 'CRM_Contribute_BAO_ContributionRecur',
374 'pseudoconstant' => [
375 'optionGroupName' => 'recur_frequency_units',
376 'keyColumn' => 'name',
377 'optionEditPath' => 'civicrm/admin/options/recur_frequency_units',
381 'frequency_interval' => [
382 'name' => 'frequency_interval',
383 'type' => CRM_Utils_Type
::T_INT
,
384 'title' => ts('Interval (number of units)'),
385 'description' => ts('Number of time units for recurrence of payment.'),
387 'where' => 'civicrm_contribution_recur.frequency_interval',
389 'table_name' => 'civicrm_contribution_recur',
390 'entity' => 'ContributionRecur',
391 'bao' => 'CRM_Contribute_BAO_ContributionRecur',
399 'name' => 'installments',
400 'type' => CRM_Utils_Type
::T_INT
,
401 'title' => ts('Number of Installments'),
402 'description' => ts('Total number of payments to be made. Set this to 0 if this is an open-ended commitment i.e. no set end date.'),
403 'where' => 'civicrm_contribution_recur.installments',
404 'table_name' => 'civicrm_contribution_recur',
405 'entity' => 'ContributionRecur',
406 'bao' => 'CRM_Contribute_BAO_ContributionRecur',
413 'contribution_recur_start_date' => [
414 'name' => 'start_date',
415 'type' => CRM_Utils_Type
::T_DATE + CRM_Utils_Type
::T_TIME
,
416 'title' => ts('Start Date'),
417 'description' => ts('The date the first scheduled recurring contribution occurs.'),
419 'where' => 'civicrm_contribution_recur.start_date',
420 'default' => 'CURRENT_TIMESTAMP',
421 'table_name' => 'civicrm_contribution_recur',
422 'entity' => 'ContributionRecur',
423 'bao' => 'CRM_Contribute_BAO_ContributionRecur',
425 'unique_title' => ts('Recurring Contribution Start Date'),
427 'type' => 'Select Date',
428 'formatType' => 'activityDateTime',
432 'contribution_recur_create_date' => [
433 'name' => 'create_date',
434 'type' => CRM_Utils_Type
::T_DATE + CRM_Utils_Type
::T_TIME
,
435 'title' => ts('Created Date'),
436 'description' => ts('When this recurring contribution record was created.'),
438 'where' => 'civicrm_contribution_recur.create_date',
439 'default' => 'CURRENT_TIMESTAMP',
440 'table_name' => 'civicrm_contribution_recur',
441 'entity' => 'ContributionRecur',
442 'bao' => 'CRM_Contribute_BAO_ContributionRecur',
444 'unique_title' => ts('Recurring Contribution Create Date'),
446 'type' => 'Select Date',
447 'formatType' => 'activityDateTime',
451 'contribution_recur_modified_date' => [
452 'name' => 'modified_date',
453 'type' => CRM_Utils_Type
::T_TIMESTAMP
,
454 'title' => ts('Modified Date'),
455 'description' => ts('Last updated date for this record. mostly the last time a payment was received'),
456 'where' => 'civicrm_contribution_recur.modified_date',
457 'default' => 'CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP',
458 'table_name' => 'civicrm_contribution_recur',
459 'entity' => 'ContributionRecur',
460 'bao' => 'CRM_Contribute_BAO_ContributionRecur',
462 'unique_title' => ts('Recurring Contribution Modified Date'),
464 'type' => 'Select Date',
465 'formatType' => 'activityDateTime',
470 'contribution_recur_cancel_date' => [
471 'name' => 'cancel_date',
472 'type' => CRM_Utils_Type
::T_DATE + CRM_Utils_Type
::T_TIME
,
473 'title' => ts('Cancel Date'),
474 'description' => ts('Date this recurring contribution was cancelled by contributor- if we can get access to it'),
475 'where' => 'civicrm_contribution_recur.cancel_date',
476 'table_name' => 'civicrm_contribution_recur',
477 'entity' => 'ContributionRecur',
478 'bao' => 'CRM_Contribute_BAO_ContributionRecur',
480 'unique_title' => ts('Recurring Contribution Cancel Date'),
482 'type' => 'Select Date',
483 'formatType' => 'activityDate',
487 'contribution_recur_cancel_reason' => [
488 'name' => 'cancel_reason',
489 'type' => CRM_Utils_Type
::T_TEXT
,
490 'title' => ts('Cancellation Reason'),
491 'description' => ts('Free text field for a reason for cancelling'),
492 'where' => 'civicrm_contribution_recur.cancel_reason',
493 'table_name' => 'civicrm_contribution_recur',
494 'entity' => 'ContributionRecur',
495 'bao' => 'CRM_Contribute_BAO_ContributionRecur',
497 'unique_title' => ts('Recurring Contribution Cancel Reason'),
503 'contribution_recur_end_date' => [
504 'name' => 'end_date',
505 'type' => CRM_Utils_Type
::T_DATE + CRM_Utils_Type
::T_TIME
,
506 'title' => ts('Recurring Contribution End Date'),
507 'description' => ts('Date this recurring contribution finished successfully'),
508 'where' => 'civicrm_contribution_recur.end_date',
509 'table_name' => 'civicrm_contribution_recur',
510 'entity' => 'ContributionRecur',
511 'bao' => 'CRM_Contribute_BAO_ContributionRecur',
513 'unique_title' => ts('Recurring Contribution End Date'),
515 'type' => 'Select Date',
516 'formatType' => 'activityDate',
520 'contribution_recur_processor_id' => [
521 'name' => 'processor_id',
522 'type' => CRM_Utils_Type
::T_STRING
,
523 'title' => ts('Processor ID'),
524 'description' => ts('Possibly needed to store a unique identifier for this recurring payment order - if this is available from the processor??'),
526 'size' => CRM_Utils_Type
::HUGE
,
527 'where' => 'civicrm_contribution_recur.processor_id',
528 'table_name' => 'civicrm_contribution_recur',
529 'entity' => 'ContributionRecur',
530 'bao' => 'CRM_Contribute_BAO_ContributionRecur',
537 'payment_token_id' => [
538 'name' => 'payment_token_id',
539 'type' => CRM_Utils_Type
::T_INT
,
540 'title' => ts('Payment Token ID'),
541 'description' => ts('Optionally used to store a link to a payment token used for this recurring contribution.'),
542 'where' => 'civicrm_contribution_recur.payment_token_id',
543 'table_name' => 'civicrm_contribution_recur',
544 'entity' => 'ContributionRecur',
545 'bao' => 'CRM_Contribute_BAO_ContributionRecur',
547 'FKClassName' => 'CRM_Financial_DAO_PaymentToken',
549 'label' => ts("Payment Token"),
553 'contribution_recur_trxn_id' => [
555 'type' => CRM_Utils_Type
::T_STRING
,
556 'title' => ts('Transaction ID'),
557 'description' => ts('unique transaction id. may be processor id, bank id + trans id, or account number + check number... depending on payment_method'),
559 'size' => CRM_Utils_Type
::HUGE
,
560 'where' => 'civicrm_contribution_recur.trxn_id',
561 'table_name' => 'civicrm_contribution_recur',
562 'entity' => 'ContributionRecur',
563 'bao' => 'CRM_Contribute_BAO_ContributionRecur',
571 'name' => 'invoice_id',
572 'type' => CRM_Utils_Type
::T_STRING
,
573 'title' => ts('Invoice ID'),
574 'description' => ts('unique invoice id, system generated or passed in'),
576 'size' => CRM_Utils_Type
::HUGE
,
577 'where' => 'civicrm_contribution_recur.invoice_id',
578 'table_name' => 'civicrm_contribution_recur',
579 'entity' => 'ContributionRecur',
580 'bao' => 'CRM_Contribute_BAO_ContributionRecur',
587 'contribution_recur_contribution_status_id' => [
588 'name' => 'contribution_status_id',
589 'type' => CRM_Utils_Type
::T_INT
,
590 'title' => ts('Status'),
592 'where' => 'civicrm_contribution_recur.contribution_status_id',
595 'table_name' => 'civicrm_contribution_recur',
596 'entity' => 'ContributionRecur',
597 'bao' => 'CRM_Contribute_BAO_ContributionRecur',
602 'pseudoconstant' => [
603 'optionGroupName' => 'contribution_recur_status',
604 'optionEditPath' => 'civicrm/admin/options/contribution_recur_status',
610 'type' => CRM_Utils_Type
::T_BOOLEAN
,
611 'title' => ts('Test'),
613 'where' => 'civicrm_contribution_recur.is_test',
616 'table_name' => 'civicrm_contribution_recur',
617 'entity' => 'ContributionRecur',
618 'bao' => 'CRM_Contribute_BAO_ContributionRecur',
621 'type' => 'CheckBox',
626 'name' => 'cycle_day',
627 'type' => CRM_Utils_Type
::T_INT
,
628 'title' => ts('Cycle Day'),
629 'description' => ts('Day in the period when the payment should be charged e.g. 1st of month, 15th etc.'),
631 'where' => 'civicrm_contribution_recur.cycle_day',
633 'table_name' => 'civicrm_contribution_recur',
634 'entity' => 'ContributionRecur',
635 'bao' => 'CRM_Contribute_BAO_ContributionRecur',
642 'contribution_recur_next_sched_contribution_date' => [
643 'name' => 'next_sched_contribution_date',
644 'type' => CRM_Utils_Type
::T_DATE + CRM_Utils_Type
::T_TIME
,
645 'title' => ts('Next Scheduled Contribution Date'),
646 'description' => ts('Next scheduled date'),
647 'where' => 'civicrm_contribution_recur.next_sched_contribution_date',
648 'table_name' => 'civicrm_contribution_recur',
649 'entity' => 'ContributionRecur',
650 'bao' => 'CRM_Contribute_BAO_ContributionRecur',
652 'unique_title' => ts('Next Scheduled Recurring Contribution'),
654 'type' => 'Select Date',
655 'formatType' => 'activityDate',
660 'name' => 'failure_count',
661 'type' => CRM_Utils_Type
::T_INT
,
662 'title' => ts('Number of Failures'),
663 'description' => ts('Number of failed charge attempts since last success. Business rule could be set to deactivate on more than x failures.'),
664 'where' => 'civicrm_contribution_recur.failure_count',
666 'table_name' => 'civicrm_contribution_recur',
667 'entity' => 'ContributionRecur',
668 'bao' => 'CRM_Contribute_BAO_ContributionRecur',
675 'contribution_recur_failure_retry_date' => [
676 'name' => 'failure_retry_date',
677 'type' => CRM_Utils_Type
::T_DATE + CRM_Utils_Type
::T_TIME
,
678 'title' => ts('Retry Failed Attempt Date'),
679 'description' => ts('Date to retry failed attempt'),
680 'where' => 'civicrm_contribution_recur.failure_retry_date',
681 'table_name' => 'civicrm_contribution_recur',
682 'entity' => 'ContributionRecur',
683 'bao' => 'CRM_Contribute_BAO_ContributionRecur',
685 'unique_title' => ts('Failed Recurring Contribution Retry Date'),
687 'type' => 'Select Date',
688 'formatType' => 'activityDate',
693 'name' => 'auto_renew',
694 'type' => CRM_Utils_Type
::T_BOOLEAN
,
695 'title' => ts('Auto Renew'),
696 'description' => ts('Some systems allow contributor to set a number of installments - but then auto-renew the subscription or commitment if they do not cancel.'),
698 'where' => 'civicrm_contribution_recur.auto_renew',
700 'table_name' => 'civicrm_contribution_recur',
701 'entity' => 'ContributionRecur',
702 'bao' => 'CRM_Contribute_BAO_ContributionRecur',
705 'type' => 'CheckBox',
709 'contribution_recur_payment_processor_id' => [
710 'name' => 'payment_processor_id',
711 'type' => CRM_Utils_Type
::T_INT
,
712 'title' => ts('Payment Processor ID'),
713 'description' => ts('Foreign key to civicrm_payment_processor.id'),
714 'where' => 'civicrm_contribution_recur.payment_processor_id',
715 'table_name' => 'civicrm_contribution_recur',
716 'entity' => 'ContributionRecur',
717 'bao' => 'CRM_Contribute_BAO_ContributionRecur',
719 'FKClassName' => 'CRM_Financial_DAO_PaymentProcessor',
722 'label' => ts("Payment Processor"),
724 'pseudoconstant' => [
725 'table' => 'civicrm_payment_processor',
727 'labelColumn' => 'name',
731 'financial_type_id' => [
732 'name' => 'financial_type_id',
733 'type' => CRM_Utils_Type
::T_INT
,
734 'title' => ts('Financial Type ID'),
735 'description' => ts('FK to Financial Type'),
736 'where' => 'civicrm_contribution_recur.financial_type_id',
738 'table_name' => 'civicrm_contribution_recur',
739 'entity' => 'ContributionRecur',
740 'bao' => 'CRM_Contribute_BAO_ContributionRecur',
742 'FKClassName' => 'CRM_Financial_DAO_FinancialType',
745 'label' => ts("Financial Type"),
747 'pseudoconstant' => [
748 'table' => 'civicrm_financial_type',
750 'labelColumn' => 'name',
754 'payment_instrument_id' => [
755 'name' => 'payment_instrument_id',
756 'type' => CRM_Utils_Type
::T_INT
,
757 'title' => ts('Payment Method'),
758 'description' => ts('FK to Payment Instrument'),
759 'where' => 'civicrm_contribution_recur.payment_instrument_id',
760 'table_name' => 'civicrm_contribution_recur',
761 'entity' => 'ContributionRecur',
762 'bao' => 'CRM_Contribute_BAO_ContributionRecur',
767 'pseudoconstant' => [
768 'optionGroupName' => 'payment_instrument',
769 'optionEditPath' => 'civicrm/admin/options/payment_instrument',
773 'contribution_campaign_id' => [
774 'name' => 'campaign_id',
775 'type' => CRM_Utils_Type
::T_INT
,
776 'title' => ts('Campaign ID'),
777 'description' => ts('The campaign for which this contribution has been triggered.'),
779 'where' => 'civicrm_contribution_recur.campaign_id',
781 'table_name' => 'civicrm_contribution_recur',
782 'entity' => 'ContributionRecur',
783 'bao' => 'CRM_Contribute_BAO_ContributionRecur',
785 'FKClassName' => 'CRM_Campaign_DAO_Campaign',
786 'component' => 'CiviCampaign',
788 'type' => 'EntityRef',
789 'label' => ts("Campaign"),
791 'pseudoconstant' => [
792 'table' => 'civicrm_campaign',
794 'labelColumn' => 'title',
795 'prefetch' => 'FALSE',
799 'is_email_receipt' => [
800 'name' => 'is_email_receipt',
801 'type' => CRM_Utils_Type
::T_BOOLEAN
,
802 'title' => ts('Send email Receipt?'),
803 'description' => ts('if true, receipt is automatically emailed to contact on each successful payment'),
804 'where' => 'civicrm_contribution_recur.is_email_receipt',
806 'table_name' => 'civicrm_contribution_recur',
807 'entity' => 'ContributionRecur',
808 'bao' => 'CRM_Contribute_BAO_ContributionRecur',
811 'type' => 'CheckBox',
816 CRM_Core_DAO_AllCoreTables
::invoke(__CLASS__
, 'fields_callback', Civi
::$statics[__CLASS__
]['fields']);
818 return Civi
::$statics[__CLASS__
]['fields'];
822 * Return a mapping from field-name to the corresponding key (as used in fields()).
825 * Array(string $name => string $uniqueName).
827 public static function &fieldKeys() {
828 if (!isset(Civi
::$statics[__CLASS__
]['fieldKeys'])) {
829 Civi
::$statics[__CLASS__
]['fieldKeys'] = array_flip(CRM_Utils_Array
::collect('name', self
::fields()));
831 return Civi
::$statics[__CLASS__
]['fieldKeys'];
835 * Returns the names of this table
839 public static function getTableName() {
840 return self
::$_tableName;
844 * Returns if this table needs to be logged
848 public function getLog() {
853 * Returns the list of fields that can be imported
855 * @param bool $prefix
859 public static function &import($prefix = FALSE) {
860 $r = CRM_Core_DAO_AllCoreTables
::getImports(__CLASS__
, 'contribution_recur', $prefix, []);
865 * Returns the list of fields that can be exported
867 * @param bool $prefix
871 public static function &export($prefix = FALSE) {
872 $r = CRM_Core_DAO_AllCoreTables
::getExports(__CLASS__
, 'contribution_recur', $prefix, []);
877 * Returns the list of indices
879 * @param bool $localize
883 public static function indices($localize = TRUE) {
885 'UI_contrib_trxn_id' => [
886 'name' => 'UI_contrib_trxn_id',
890 'localizable' => FALSE,
892 'sig' => 'civicrm_contribution_recur::1::trxn_id',
894 'UI_contrib_invoice_id' => [
895 'name' => 'UI_contrib_invoice_id',
899 'localizable' => FALSE,
901 'sig' => 'civicrm_contribution_recur::1::invoice_id',
903 'index_contribution_status' => [
904 'name' => 'index_contribution_status',
906 0 => 'contribution_status_id',
908 'localizable' => FALSE,
909 'sig' => 'civicrm_contribution_recur::0::contribution_status_id',
911 'UI_contribution_recur_payment_instrument_id' => [
912 'name' => 'UI_contribution_recur_payment_instrument_id',
914 0 => 'payment_instrument_id',
916 'localizable' => FALSE,
917 'sig' => 'civicrm_contribution_recur::0::payment_instrument_id',
920 return ($localize && !empty($indices)) ? CRM_Core_DAO_AllCoreTables
::multilingualize(__CLASS__
, $indices) : $indices;