5 * @copyright CiviCRM LLC https://civicrm.org/licensing
7 * Generated from xml/schema/CRM/Activity/Activity.xml
8 * DO NOT EDIT. Generated by CRM_Core_CodeGen
9 * (GenCodeChecksum:b37cf83d01ce6a8f72be6de97f00d7d3)
13 * Database access object for the Activity entity.
15 class CRM_Activity_DAO_Activity
extends CRM_Core_DAO
{
16 const EXT
= 'civicrm';
17 const TABLE_ADDED
= '1.1';
20 * Static instance to hold the table name.
24 public static $_tableName = 'civicrm_activity';
27 * Icon associated with this entity.
31 public static $_icon = 'fa-tasks';
34 * Field to show when displaying a record.
38 public static $_labelField = 'subject';
41 * Should CiviCRM log any modifications to this table in the civicrm_log table.
45 public static $_log = TRUE;
48 * Paths for accessing this entity in the UI.
52 protected static $_paths = [
53 'add' => 'civicrm/activity?reset=1&action=add&context=standalone',
54 'view' => 'civicrm/activity?reset=1&action=view&id=[id]',
55 'update' => 'civicrm/activity/add?reset=1&action=update&id=[id]',
56 'delete' => 'civicrm/activity?reset=1&action=delete&id=[id]',
60 * Unique Other Activity ID
62 * @var int|string|null
63 * (SQL type: int unsigned)
64 * Note that values will be retrieved from the database as a string.
69 * Artificial FK to original transaction (e.g. contribution) IF it is not an Activity. Table can be figured out through activity_type_id, and further through component registry.
71 * @var int|string|null
72 * (SQL type: int unsigned)
73 * Note that values will be retrieved from the database as a string.
75 public $source_record_id;
78 * FK to civicrm_option_value.id, that has to be valid, registered activity type.
81 * (SQL type: int unsigned)
82 * Note that values will be retrieved from the database as a string.
84 public $activity_type_id;
87 * The subject/purpose/short description of the activity.
90 * (SQL type: varchar(255))
91 * Note that values will be retrieved from the database as a string.
96 * Date and time this activity is scheduled to occur. Formerly named scheduled_date_time.
99 * (SQL type: datetime)
100 * Note that values will be retrieved from the database as a string.
102 public $activity_date_time;
105 * Planned or actual duration of activity expressed in minutes. Conglomerate of former duration_hours and duration_minutes.
107 * @var int|string|null
108 * (SQL type: int unsigned)
109 * Note that values will be retrieved from the database as a string.
114 * Location of the activity (optional, open text).
117 * (SQL type: varchar(255))
118 * Note that values will be retrieved from the database as a string.
123 * Phone ID of the number called (optional - used if an existing phone number is selected).
125 * @var int|string|null
126 * (SQL type: int unsigned)
127 * Note that values will be retrieved from the database as a string.
132 * Phone number in case the number does not exist in the civicrm_phone table.
135 * (SQL type: varchar(64))
136 * Note that values will be retrieved from the database as a string.
138 public $phone_number;
141 * Details about the activity (agenda, notes, etc).
144 * (SQL type: longtext)
145 * Note that values will be retrieved from the database as a string.
150 * ID of the status this activity is currently in. Foreign key to civicrm_option_value.
152 * @var int|string|null
153 * (SQL type: int unsigned)
154 * Note that values will be retrieved from the database as a string.
159 * ID of the priority given to this activity. Foreign key to civicrm_option_value.
161 * @var int|string|null
162 * (SQL type: int unsigned)
163 * Note that values will be retrieved from the database as a string.
168 * Parent meeting ID (if this is a follow-up item). This is not currently implemented
170 * @var int|string|null
171 * (SQL type: int unsigned)
172 * Note that values will be retrieved from the database as a string.
177 * @var bool|string|null
178 * (SQL type: tinyint)
179 * Note that values will be retrieved from the database as a string.
184 * Activity Medium, Implicit FK to civicrm_option_value where option_group = encounter_medium.
186 * @var int|string|null
187 * (SQL type: int unsigned)
188 * Note that values will be retrieved from the database as a string.
193 * @var bool|string|null
194 * (SQL type: tinyint)
195 * Note that values will be retrieved from the database as a string.
200 * FK to Relationship ID
202 * @var int|string|null
203 * (SQL type: int unsigned)
204 * Note that values will be retrieved from the database as a string.
206 public $relationship_id;
209 * @var bool|string|null
210 * (SQL type: tinyint)
211 * Note that values will be retrieved from the database as a string.
213 public $is_current_revision;
216 * Activity ID of the first activity record in versioning chain.
218 * @var int|string|null
219 * (SQL type: int unsigned)
220 * Note that values will be retrieved from the database as a string.
225 * Currently being used to store result id for survey activity, FK to option value.
228 * (SQL type: varchar(255))
229 * Note that values will be retrieved from the database as a string.
234 * @var bool|string|null
235 * (SQL type: tinyint)
236 * Note that values will be retrieved from the database as a string.
241 * The campaign for which this activity has been triggered.
243 * @var int|string|null
244 * (SQL type: int unsigned)
245 * Note that values will be retrieved from the database as a string.
250 * Assign a specific level of engagement to this activity. Used for tracking constituents in ladder of engagement.
252 * @var int|string|null
253 * (SQL type: int unsigned)
254 * Note that values will be retrieved from the database as a string.
256 public $engagement_level;
259 * @var int|string|null
261 * Note that values will be retrieved from the database as a string.
266 * Activity marked as favorite.
268 * @var bool|string|null
269 * (SQL type: tinyint)
270 * Note that values will be retrieved from the database as a string.
275 * When was the activity was created.
278 * (SQL type: timestamp)
279 * Note that values will be retrieved from the database as a string.
281 public $created_date;
284 * When was the activity (or closely related entity) was created or modified or deleted.
287 * (SQL type: timestamp)
288 * Note that values will be retrieved from the database as a string.
290 public $modified_date;
295 public function __construct() {
296 $this->__table
= 'civicrm_activity';
297 parent
::__construct();
301 * Returns localized title of this entity.
303 * @param bool $plural
304 * Whether to return the plural version of the title.
306 public static function getEntityTitle($plural = FALSE) {
307 return $plural ?
ts('Activities') : ts('Activity');
311 * Returns user-friendly description of this entity.
315 public static function getEntityDescription() {
316 return ts('Past or future actions concerning one or more contacts.');
320 * Returns foreign keys and entity references.
323 * [CRM_Core_Reference_Interface]
325 public static function getReferenceColumns() {
326 if (!isset(Civi
::$statics[__CLASS__
]['links'])) {
327 Civi
::$statics[__CLASS__
]['links'] = static::createReferenceColumns(__CLASS__
);
328 Civi
::$statics[__CLASS__
]['links'][] = new CRM_Core_Reference_Basic(self
::getTableName(), 'phone_id', 'civicrm_phone', 'id');
329 Civi
::$statics[__CLASS__
]['links'][] = new CRM_Core_Reference_Basic(self
::getTableName(), 'parent_id', 'civicrm_activity', 'id');
330 Civi
::$statics[__CLASS__
]['links'][] = new CRM_Core_Reference_Basic(self
::getTableName(), 'relationship_id', 'civicrm_relationship', 'id');
331 Civi
::$statics[__CLASS__
]['links'][] = new CRM_Core_Reference_Basic(self
::getTableName(), 'original_id', 'civicrm_activity', 'id');
332 Civi
::$statics[__CLASS__
]['links'][] = new CRM_Core_Reference_Basic(self
::getTableName(), 'campaign_id', 'civicrm_campaign', 'id');
333 CRM_Core_DAO_AllCoreTables
::invoke(__CLASS__
, 'links_callback', Civi
::$statics[__CLASS__
]['links']);
335 return Civi
::$statics[__CLASS__
]['links'];
339 * Returns all the column names of this table
343 public static function &fields() {
344 if (!isset(Civi
::$statics[__CLASS__
]['fields'])) {
345 Civi
::$statics[__CLASS__
]['fields'] = [
348 'type' => CRM_Utils_Type
::T_INT
,
349 'title' => ts('Activity ID'),
350 'description' => ts('Unique Other Activity ID'),
353 'where' => 'civicrm_activity.id',
355 'table_name' => 'civicrm_activity',
356 'entity' => 'Activity',
357 'bao' => 'CRM_Activity_BAO_Activity',
365 'source_record_id' => [
366 'name' => 'source_record_id',
367 'type' => CRM_Utils_Type
::T_INT
,
368 'title' => ts('Source Record'),
369 'description' => ts('Artificial FK to original transaction (e.g. contribution) IF it is not an Activity. Table can be figured out through activity_type_id, and further through component registry.'),
370 'where' => 'civicrm_activity.source_record_id',
371 'table_name' => 'civicrm_activity',
372 'entity' => 'Activity',
373 'bao' => 'CRM_Activity_BAO_Activity',
378 'activity_type_id' => [
379 'name' => 'activity_type_id',
380 'type' => CRM_Utils_Type
::T_INT
,
381 'title' => ts('Activity Type ID'),
382 'description' => ts('FK to civicrm_option_value.id, that has to be valid, registered activity type.'),
385 'where' => 'civicrm_activity.activity_type_id',
386 'headerPattern' => '/(activity.)?type(.id$)/i',
389 'table_name' => 'civicrm_activity',
390 'entity' => 'Activity',
391 'bao' => 'CRM_Activity_BAO_Activity',
395 'label' => ts("Activity Type"),
397 'pseudoconstant' => [
398 'optionGroupName' => 'activity_type',
399 'optionEditPath' => 'civicrm/admin/options/activity_type',
403 'activity_subject' => [
405 'type' => CRM_Utils_Type
::T_STRING
,
406 'title' => ts('Subject'),
407 'description' => ts('The subject/purpose/short description of the activity.'),
409 'size' => CRM_Utils_Type
::HUGE
,
411 'where' => 'civicrm_activity.subject',
412 'headerPattern' => '/(activity.)?subject/i',
414 'table_name' => 'civicrm_activity',
415 'entity' => 'Activity',
416 'bao' => 'CRM_Activity_BAO_Activity',
423 'activity_date_time' => [
424 'name' => 'activity_date_time',
425 'type' => CRM_Utils_Type
::T_DATE + CRM_Utils_Type
::T_TIME
,
426 'title' => ts('Activity Date'),
427 'description' => ts('Date and time this activity is scheduled to occur. Formerly named scheduled_date_time.'),
430 'where' => 'civicrm_activity.activity_date_time',
431 'headerPattern' => '/(activity.)?date(.time$)?/i',
433 'default' => 'CURRENT_TIMESTAMP',
434 'table_name' => 'civicrm_activity',
435 'entity' => 'Activity',
436 'bao' => 'CRM_Activity_BAO_Activity',
439 'type' => 'Select Date',
440 'formatType' => 'activityDateTime',
444 'activity_duration' => [
445 'name' => 'duration',
446 'type' => CRM_Utils_Type
::T_INT
,
447 'title' => ts('Duration'),
448 'description' => ts('Planned or actual duration of activity expressed in minutes. Conglomerate of former duration_hours and duration_minutes.'),
450 'where' => 'civicrm_activity.duration',
451 'headerPattern' => '/(activity.)?duration(s)?$/i',
453 'table_name' => 'civicrm_activity',
454 'entity' => 'Activity',
455 'bao' => 'CRM_Activity_BAO_Activity',
462 'activity_location' => [
463 'name' => 'location',
464 'type' => CRM_Utils_Type
::T_STRING
,
465 'title' => ts('Location'),
466 'description' => ts('Location of the activity (optional, open text).'),
468 'size' => CRM_Utils_Type
::HUGE
,
470 'where' => 'civicrm_activity.location',
471 'headerPattern' => '/(activity.)?location$/i',
473 'table_name' => 'civicrm_activity',
474 'entity' => 'Activity',
475 'bao' => 'CRM_Activity_BAO_Activity',
483 'name' => 'phone_id',
484 'type' => CRM_Utils_Type
::T_INT
,
485 'title' => ts('Phone ID (called)'),
486 'description' => ts('Phone ID of the number called (optional - used if an existing phone number is selected).'),
487 'where' => 'civicrm_activity.phone_id',
488 'table_name' => 'civicrm_activity',
489 'entity' => 'Activity',
490 'bao' => 'CRM_Activity_BAO_Activity',
492 'FKClassName' => 'CRM_Core_DAO_Phone',
494 'type' => 'EntityRef',
495 'label' => ts("Phone (called)"),
500 'name' => 'phone_number',
501 'type' => CRM_Utils_Type
::T_STRING
,
502 'title' => ts('Phone (called) Number'),
503 'description' => ts('Phone number in case the number does not exist in the civicrm_phone table.'),
505 'size' => CRM_Utils_Type
::BIG
,
506 'where' => 'civicrm_activity.phone_number',
507 'table_name' => 'civicrm_activity',
508 'entity' => 'Activity',
509 'bao' => 'CRM_Activity_BAO_Activity',
516 'activity_details' => [
518 'type' => CRM_Utils_Type
::T_LONGTEXT
,
519 'title' => ts('Details'),
520 'description' => ts('Details about the activity (agenda, notes, etc).'),
522 'where' => 'civicrm_activity.details',
523 'headerPattern' => '/(activity.)?detail(s)?$/i',
525 'table_name' => 'civicrm_activity',
526 'entity' => 'Activity',
527 'bao' => 'CRM_Activity_BAO_Activity',
530 'type' => 'RichTextEditor',
534 'activity_status_id' => [
535 'name' => 'status_id',
536 'type' => CRM_Utils_Type
::T_INT
,
537 'title' => ts('Activity Status'),
538 'description' => ts('ID of the status this activity is currently in. Foreign key to civicrm_option_value.'),
540 'where' => 'civicrm_activity.status_id',
541 'headerPattern' => '/(activity.)?status(.label$)?/i',
543 'table_name' => 'civicrm_activity',
544 'entity' => 'Activity',
545 'bao' => 'CRM_Activity_BAO_Activity',
550 'pseudoconstant' => [
551 'optionGroupName' => 'activity_status',
552 'optionEditPath' => 'civicrm/admin/options/activity_status',
557 'name' => 'priority_id',
558 'type' => CRM_Utils_Type
::T_INT
,
559 'title' => ts('Priority'),
560 'description' => ts('ID of the priority given to this activity. Foreign key to civicrm_option_value.'),
562 'where' => 'civicrm_activity.priority_id',
564 'table_name' => 'civicrm_activity',
565 'entity' => 'Activity',
566 'bao' => 'CRM_Activity_BAO_Activity',
571 'pseudoconstant' => [
572 'optionGroupName' => 'priority',
573 'optionEditPath' => 'civicrm/admin/options/priority',
578 'name' => 'parent_id',
579 'type' => CRM_Utils_Type
::T_INT
,
580 'title' => ts('Parent Activity ID'),
581 'description' => ts('Parent meeting ID (if this is a follow-up item). This is not currently implemented'),
582 'where' => 'civicrm_activity.parent_id',
583 'table_name' => 'civicrm_activity',
584 'entity' => 'Activity',
585 'bao' => 'CRM_Activity_BAO_Activity',
587 'FKClassName' => 'CRM_Activity_DAO_Activity',
589 'label' => ts("Parent Activity"),
594 'activity_is_test' => [
596 'type' => CRM_Utils_Type
::T_BOOLEAN
,
597 'title' => ts('Test'),
599 'where' => 'civicrm_activity.is_test',
600 'headerPattern' => '/(is.)?test(.activity)?/i',
603 'table_name' => 'civicrm_activity',
604 'entity' => 'Activity',
605 'bao' => 'CRM_Activity_BAO_Activity',
608 'type' => 'CheckBox',
612 'activity_medium_id' => [
613 'name' => 'medium_id',
614 'type' => CRM_Utils_Type
::T_INT
,
615 'title' => ts('Activity Medium'),
616 'description' => ts('Activity Medium, Implicit FK to civicrm_option_value where option_group = encounter_medium.'),
617 'where' => 'civicrm_activity.medium_id',
619 'table_name' => 'civicrm_activity',
620 'entity' => 'Activity',
621 'bao' => 'CRM_Activity_BAO_Activity',
626 'pseudoconstant' => [
627 'optionGroupName' => 'encounter_medium',
628 'optionEditPath' => 'civicrm/admin/options/encounter_medium',
634 'type' => CRM_Utils_Type
::T_BOOLEAN
,
635 'title' => ts('Auto'),
636 'where' => 'civicrm_activity.is_auto',
638 'table_name' => 'civicrm_activity',
639 'entity' => 'Activity',
640 'bao' => 'CRM_Activity_BAO_Activity',
644 'relationship_id' => [
645 'name' => 'relationship_id',
646 'type' => CRM_Utils_Type
::T_INT
,
647 'title' => ts('Relationship ID'),
648 'description' => ts('FK to Relationship ID'),
649 'where' => 'civicrm_activity.relationship_id',
651 'table_name' => 'civicrm_activity',
652 'entity' => 'Activity',
653 'bao' => 'CRM_Activity_BAO_Activity',
655 'FKClassName' => 'CRM_Contact_DAO_Relationship',
657 'label' => ts("Relationship"),
661 'is_current_revision' => [
662 'name' => 'is_current_revision',
663 'type' => CRM_Utils_Type
::T_BOOLEAN
,
664 'title' => ts('Is this activity a current revision in versioning chain?'),
666 'where' => 'civicrm_activity.is_current_revision',
667 'headerPattern' => '/(is.)?(current.)?(revision|version(ing)?)/i',
670 'table_name' => 'civicrm_activity',
671 'entity' => 'Activity',
672 'bao' => 'CRM_Activity_BAO_Activity',
677 'name' => 'original_id',
678 'type' => CRM_Utils_Type
::T_INT
,
679 'title' => ts('Original Activity ID'),
680 'description' => ts('Activity ID of the first activity record in versioning chain.'),
681 'where' => 'civicrm_activity.original_id',
682 'table_name' => 'civicrm_activity',
683 'entity' => 'Activity',
684 'bao' => 'CRM_Activity_BAO_Activity',
686 'FKClassName' => 'CRM_Activity_DAO_Activity',
688 'label' => ts("Original Activity"),
693 'activity_result' => [
695 'type' => CRM_Utils_Type
::T_STRING
,
696 'title' => ts('Result'),
697 'description' => ts('Currently being used to store result id for survey activity, FK to option value.'),
699 'size' => CRM_Utils_Type
::HUGE
,
700 'where' => 'civicrm_activity.result',
701 'table_name' => 'civicrm_activity',
702 'entity' => 'Activity',
703 'bao' => 'CRM_Activity_BAO_Activity',
707 'activity_is_deleted' => [
708 'name' => 'is_deleted',
709 'type' => CRM_Utils_Type
::T_BOOLEAN
,
710 'title' => ts('Activity is in the Trash'),
712 'where' => 'civicrm_activity.is_deleted',
713 'headerPattern' => '/(activity.)?(trash|deleted)/i',
716 'table_name' => 'civicrm_activity',
717 'entity' => 'Activity',
718 'bao' => 'CRM_Activity_BAO_Activity',
721 'type' => 'CheckBox',
725 'activity_campaign_id' => [
726 'name' => 'campaign_id',
727 'type' => CRM_Utils_Type
::T_INT
,
728 'title' => ts('Campaign ID'),
729 'description' => ts('The campaign for which this activity has been triggered.'),
731 'where' => 'civicrm_activity.campaign_id',
733 'table_name' => 'civicrm_activity',
734 'entity' => 'Activity',
735 'bao' => 'CRM_Activity_BAO_Activity',
737 'FKClassName' => 'CRM_Campaign_DAO_Campaign',
738 'component' => 'CiviCampaign',
740 'type' => 'EntityRef',
741 'label' => ts("Campaign"),
743 'pseudoconstant' => [
744 'table' => 'civicrm_campaign',
746 'labelColumn' => 'title',
747 'prefetch' => 'FALSE',
751 'activity_engagement_level' => [
752 'name' => 'engagement_level',
753 'type' => CRM_Utils_Type
::T_INT
,
754 'title' => ts('Engagement Index'),
755 'description' => ts('Assign a specific level of engagement to this activity. Used for tracking constituents in ladder of engagement.'),
757 'where' => 'civicrm_activity.engagement_level',
759 'table_name' => 'civicrm_activity',
760 'entity' => 'Activity',
761 'bao' => 'CRM_Activity_BAO_Activity',
766 'pseudoconstant' => [
767 'optionGroupName' => 'engagement_index',
768 'optionEditPath' => 'civicrm/admin/options/engagement_index',
774 'type' => CRM_Utils_Type
::T_INT
,
775 'title' => ts('Order'),
776 'where' => 'civicrm_activity.weight',
777 'table_name' => 'civicrm_activity',
778 'entity' => 'Activity',
779 'bao' => 'CRM_Activity_BAO_Activity',
785 'type' => CRM_Utils_Type
::T_BOOLEAN
,
786 'title' => ts('Is Starred'),
787 'description' => ts('Activity marked as favorite.'),
789 'where' => 'civicrm_activity.is_star',
790 'headerPattern' => '/(activity.)?(star|favorite)/i',
793 'table_name' => 'civicrm_activity',
794 'entity' => 'Activity',
795 'bao' => 'CRM_Activity_BAO_Activity',
798 'type' => 'Checkbox',
802 'activity_created_date' => [
803 'name' => 'created_date',
804 'type' => CRM_Utils_Type
::T_TIMESTAMP
,
805 'title' => ts('Created Date'),
806 'description' => ts('When was the activity was created.'),
808 'where' => 'civicrm_activity.created_date',
810 'default' => 'CURRENT_TIMESTAMP',
811 'table_name' => 'civicrm_activity',
812 'entity' => 'Activity',
813 'bao' => 'CRM_Activity_BAO_Activity',
816 'type' => 'Select Date',
817 'label' => ts("Created Date"),
821 'activity_modified_date' => [
822 'name' => 'modified_date',
823 'type' => CRM_Utils_Type
::T_TIMESTAMP
,
824 'title' => ts('Modified Date'),
825 'description' => ts('When was the activity (or closely related entity) was created or modified or deleted.'),
827 'where' => 'civicrm_activity.modified_date',
829 'default' => 'CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP',
830 'table_name' => 'civicrm_activity',
831 'entity' => 'Activity',
832 'bao' => 'CRM_Activity_BAO_Activity',
835 'type' => 'Select Date',
836 'label' => ts("Modified Date"),
842 CRM_Core_DAO_AllCoreTables
::invoke(__CLASS__
, 'fields_callback', Civi
::$statics[__CLASS__
]['fields']);
844 return Civi
::$statics[__CLASS__
]['fields'];
848 * Return a mapping from field-name to the corresponding key (as used in fields()).
851 * Array(string $name => string $uniqueName).
853 public static function &fieldKeys() {
854 if (!isset(Civi
::$statics[__CLASS__
]['fieldKeys'])) {
855 Civi
::$statics[__CLASS__
]['fieldKeys'] = array_flip(CRM_Utils_Array
::collect('name', self
::fields()));
857 return Civi
::$statics[__CLASS__
]['fieldKeys'];
861 * Returns the names of this table
865 public static function getTableName() {
866 return self
::$_tableName;
870 * Returns if this table needs to be logged
874 public function getLog() {
879 * Returns the list of fields that can be imported
881 * @param bool $prefix
885 public static function &import($prefix = FALSE) {
886 $r = CRM_Core_DAO_AllCoreTables
::getImports(__CLASS__
, 'activity', $prefix, []);
891 * Returns the list of fields that can be exported
893 * @param bool $prefix
897 public static function &export($prefix = FALSE) {
898 $r = CRM_Core_DAO_AllCoreTables
::getExports(__CLASS__
, 'activity', $prefix, []);
903 * Returns the list of indices
905 * @param bool $localize
909 public static function indices($localize = TRUE) {
911 'UI_source_record_id' => [
912 'name' => 'UI_source_record_id',
914 0 => 'source_record_id',
916 'localizable' => FALSE,
917 'sig' => 'civicrm_activity::0::source_record_id',
919 'UI_activity_type_id' => [
920 'name' => 'UI_activity_type_id',
922 0 => 'activity_type_id',
924 'localizable' => FALSE,
925 'sig' => 'civicrm_activity::0::activity_type_id',
927 'index_activity_date_time' => [
928 'name' => 'index_activity_date_time',
930 0 => 'activity_date_time',
932 'localizable' => FALSE,
933 'sig' => 'civicrm_activity::0::activity_date_time',
935 'index_status_id' => [
936 'name' => 'index_status_id',
940 'localizable' => FALSE,
941 'sig' => 'civicrm_activity::0::status_id',
943 'index_is_current_revision' => [
944 'name' => 'index_is_current_revision',
946 0 => 'is_current_revision',
948 'localizable' => FALSE,
949 'sig' => 'civicrm_activity::0::is_current_revision',
951 'index_is_deleted' => [
952 'name' => 'index_is_deleted',
956 'localizable' => FALSE,
957 'sig' => 'civicrm_activity::0::is_deleted',
960 return ($localize && !empty($indices)) ? CRM_Core_DAO_AllCoreTables
::multilingualize(__CLASS__
, $indices) : $indices;