Merge pull request #23192 from eileenmcnaughton/549
[civicrm-core.git] / CRM / Core / DAO / MailSettings.php
CommitLineData
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/Core/MailSettings.xml
8 * DO NOT EDIT. Generated by CRM_Core_CodeGen
c1e814c7 9 * (GenCodeChecksum:d31cb841b4c5f88a27dacae0ab50a618)
e501603b 10 */
c3fc2621 11
f41f0342 12/**
c3fc2621 13 * Database access object for the MailSettings entity.
f41f0342 14 */
e501603b 15class CRM_Core_DAO_MailSettings extends CRM_Core_DAO {
929a1c14
CW
16 const EXT = 'civicrm';
17 const TABLE_ADDED = '2.2';
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_mail_settings';
c3fc2621 25
e501603b 26 /**
f41f0342 27 * Should CiviCRM log any modifications to this table in the civicrm_log table.
e501603b 28 *
c3fc2621 29 * @var bool
e501603b 30 */
fa45b5b9 31 public static $_log = FALSE;
c3fc2621 32
e501603b
TO
33 /**
34 * primary key
35 *
28979d65
CW
36 * @var int|string|null
37 * (SQL type: int unsigned)
38 * Note that values will be retrieved from the database as a string.
e501603b
TO
39 */
40 public $id;
c3fc2621 41
e501603b
TO
42 /**
43 * Which Domain is this match entry for
44 *
28979d65
CW
45 * @var int|string
46 * (SQL type: int unsigned)
47 * Note that values will be retrieved from the database as a string.
e501603b
TO
48 */
49 public $domain_id;
c3fc2621 50
e501603b
TO
51 /**
52 * name of this group of settings
53 *
28979d65
CW
54 * @var string|null
55 * (SQL type: varchar(255))
56 * Note that values will be retrieved from the database as a string.
e501603b
TO
57 */
58 public $name;
c3fc2621 59
e501603b
TO
60 /**
61 * whether this is the default set of settings for this domain
62 *
c1e814c7 63 * @var bool|string
28979d65
CW
64 * (SQL type: tinyint)
65 * Note that values will be retrieved from the database as a string.
e501603b
TO
66 */
67 public $is_default;
c3fc2621 68
e501603b
TO
69 /**
70 * email address domain (the part after @)
71 *
28979d65
CW
72 * @var string|null
73 * (SQL type: varchar(255))
74 * Note that values will be retrieved from the database as a string.
e501603b
TO
75 */
76 public $domain;
c3fc2621 77
e501603b
TO
78 /**
79 * optional local part (like civimail+ for addresses like civimail+s.1.2@example.com)
80 *
28979d65
CW
81 * @var string|null
82 * (SQL type: varchar(255))
83 * Note that values will be retrieved from the database as a string.
e501603b
TO
84 */
85 public $localpart;
c3fc2621 86
e501603b
TO
87 /**
88 * contents of the Return-Path header
89 *
28979d65
CW
90 * @var string|null
91 * (SQL type: varchar(255))
92 * Note that values will be retrieved from the database as a string.
e501603b
TO
93 */
94 public $return_path;
c3fc2621 95
e501603b
TO
96 /**
97 * name of the protocol to use for polling (like IMAP, POP3 or Maildir)
98 *
28979d65
CW
99 * @var string|null
100 * (SQL type: varchar(255))
101 * Note that values will be retrieved from the database as a string.
e501603b
TO
102 */
103 public $protocol;
c3fc2621 104
e501603b
TO
105 /**
106 * server to use when polling
107 *
28979d65
CW
108 * @var string|null
109 * (SQL type: varchar(255))
110 * Note that values will be retrieved from the database as a string.
e501603b
TO
111 */
112 public $server;
c3fc2621 113
e501603b
TO
114 /**
115 * port to use when polling
116 *
28979d65
CW
117 * @var int|string|null
118 * (SQL type: int unsigned)
119 * Note that values will be retrieved from the database as a string.
e501603b
TO
120 */
121 public $port;
c3fc2621 122
e501603b
TO
123 /**
124 * username to use when polling
125 *
28979d65
CW
126 * @var string|null
127 * (SQL type: varchar(255))
128 * Note that values will be retrieved from the database as a string.
e501603b
TO
129 */
130 public $username;
c3fc2621 131
e501603b
TO
132 /**
133 * password to use when polling
134 *
28979d65
CW
135 * @var string|null
136 * (SQL type: varchar(255))
137 * Note that values will be retrieved from the database as a string.
e501603b
TO
138 */
139 public $password;
c3fc2621 140
e501603b
TO
141 /**
142 * whether to use SSL or not
143 *
c1e814c7 144 * @var bool|string
28979d65
CW
145 * (SQL type: tinyint)
146 * Note that values will be retrieved from the database as a string.
e501603b
TO
147 */
148 public $is_ssl;
c3fc2621 149
e501603b
TO
150 /**
151 * folder to poll from when using IMAP, path to poll from when using Maildir, etc.
152 *
28979d65
CW
153 * @var string|null
154 * (SQL type: varchar(255))
155 * Note that values will be retrieved from the database as a string.
e501603b
TO
156 */
157 public $source;
c3fc2621 158
040073c9
CW
159 /**
160 * Name of status to use when creating email to activity.
161 *
28979d65
CW
162 * @var string|null
163 * (SQL type: varchar(255))
164 * Note that values will be retrieved from the database as a string.
040073c9
CW
165 */
166 public $activity_status;
c3fc2621 167
2f0fd07c
SL
168 /**
169 * Enabling this option will have CiviCRM skip any emails that do not have the Case ID or Case Hash so that the system will only process emails that can be placed on case records. Any emails that are not processed will be moved to the ignored folder.
170 *
c1e814c7 171 * @var bool|string
28979d65
CW
172 * (SQL type: tinyint)
173 * Note that values will be retrieved from the database as a string.
2f0fd07c
SL
174 */
175 public $is_non_case_email_skipped;
176
177 /**
c1e814c7 178 * @var bool|string
28979d65
CW
179 * (SQL type: tinyint)
180 * Note that values will be retrieved from the database as a string.
2f0fd07c
SL
181 */
182 public $is_contact_creation_disabled_if_no_match;
183
e501603b 184 /**
f41f0342 185 * Class constructor.
e501603b 186 */
c3fc2621 187 public function __construct() {
e501603b
TO
188 $this->__table = 'civicrm_mail_settings';
189 parent::__construct();
190 }
c3fc2621 191
449c4e6b
CW
192 /**
193 * Returns localized title of this entity.
7b66c3b5
AH
194 *
195 * @param bool $plural
196 * Whether to return the plural version of the title.
449c4e6b 197 */
7b66c3b5
AH
198 public static function getEntityTitle($plural = FALSE) {
199 return $plural ? ts('Mail Settingses') : ts('Mail Settings');
449c4e6b
CW
200 }
201
e501603b 202 /**
f41f0342 203 * Returns foreign keys and entity references.
e501603b
TO
204 *
205 * @return array
206 * [CRM_Core_Reference_Interface]
207 */
c3fc2621 208 public static function getReferenceColumns() {
346aaaba 209 if (!isset(Civi::$statics[__CLASS__]['links'])) {
fa45b5b9 210 Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
c3fc2621 211 Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'domain_id', 'civicrm_domain', 'id');
346aaaba 212 CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
e501603b 213 }
346aaaba 214 return Civi::$statics[__CLASS__]['links'];
e501603b 215 }
c3fc2621 216
e501603b
TO
217 /**
218 * Returns all the column names of this table
219 *
220 * @return array
221 */
c3fc2621 222 public static function &fields() {
346aaaba 223 if (!isset(Civi::$statics[__CLASS__]['fields'])) {
c3fc2621
CW
224 Civi::$statics[__CLASS__]['fields'] = [
225 'id' => [
e501603b
TO
226 'name' => 'id',
227 'type' => CRM_Utils_Type::T_INT,
c3fc2621 228 'title' => ts('Mail Settings ID'),
215b423e 229 'description' => ts('primary key'),
c3fc2621 230 'required' => TRUE,
a36434b9 231 'where' => 'civicrm_mail_settings.id',
522a26c9 232 'table_name' => 'civicrm_mail_settings',
233 'entity' => 'MailSettings',
234 'bao' => 'CRM_Core_BAO_MailSettings',
6a7e5e5d 235 'localizable' => 0,
2cbbebe8
A
236 'html' => [
237 'type' => 'Number',
238 ],
1fe423d6 239 'readonly' => TRUE,
a9d0587b 240 'add' => '2.2',
c3fc2621
CW
241 ],
242 'domain_id' => [
e501603b
TO
243 'name' => 'domain_id',
244 'type' => CRM_Utils_Type::T_INT,
2cbbebe8 245 'title' => ts('Domain ID'),
215b423e 246 'description' => ts('Which Domain is this match entry for'),
c3fc2621 247 'required' => TRUE,
a36434b9 248 'where' => 'civicrm_mail_settings.domain_id',
522a26c9 249 'table_name' => 'civicrm_mail_settings',
250 'entity' => 'MailSettings',
251 'bao' => 'CRM_Core_BAO_MailSettings',
6a7e5e5d 252 'localizable' => 0,
e501603b 253 'FKClassName' => 'CRM_Core_DAO_Domain',
2cbbebe8
A
254 'html' => [
255 'label' => ts("Domain"),
256 ],
c3fc2621 257 'pseudoconstant' => [
e501603b
TO
258 'table' => 'civicrm_domain',
259 'keyColumn' => 'id',
260 'labelColumn' => 'name',
e6ca0a57 261 ],
a9d0587b 262 'add' => '3.1',
c3fc2621
CW
263 ],
264 'name' => [
e501603b
TO
265 'name' => 'name',
266 'type' => CRM_Utils_Type::T_STRING,
c3fc2621 267 'title' => ts('Mail Settings Name'),
215b423e 268 'description' => ts('name of this group of settings'),
e501603b
TO
269 'maxlength' => 255,
270 'size' => CRM_Utils_Type::HUGE,
a36434b9 271 'where' => 'civicrm_mail_settings.name',
522a26c9 272 'table_name' => 'civicrm_mail_settings',
273 'entity' => 'MailSettings',
274 'bao' => 'CRM_Core_BAO_MailSettings',
6a7e5e5d 275 'localizable' => 0,
a9d0587b 276 'add' => '2.2',
c3fc2621
CW
277 ],
278 'is_default' => [
e501603b
TO
279 'name' => 'is_default',
280 'type' => CRM_Utils_Type::T_BOOLEAN,
c3fc2621 281 'title' => ts('Is Default Mail Settings?'),
215b423e 282 'description' => ts('whether this is the default set of settings for this domain'),
c1e814c7 283 'required' => TRUE,
a36434b9 284 'where' => 'civicrm_mail_settings.is_default',
c1e814c7 285 'default' => '0',
522a26c9 286 'table_name' => 'civicrm_mail_settings',
287 'entity' => 'MailSettings',
288 'bao' => 'CRM_Core_BAO_MailSettings',
6a7e5e5d 289 'localizable' => 0,
a9d0587b 290 'add' => '2.2',
c3fc2621
CW
291 ],
292 'domain' => [
e501603b
TO
293 'name' => 'domain',
294 'type' => CRM_Utils_Type::T_STRING,
c3fc2621 295 'title' => ts('email Domain'),
215b423e 296 'description' => ts('email address domain (the part after @)'),
e501603b
TO
297 'maxlength' => 255,
298 'size' => CRM_Utils_Type::HUGE,
a36434b9 299 'where' => 'civicrm_mail_settings.domain',
522a26c9 300 'table_name' => 'civicrm_mail_settings',
301 'entity' => 'MailSettings',
302 'bao' => 'CRM_Core_BAO_MailSettings',
6a7e5e5d 303 'localizable' => 0,
a9d0587b 304 'add' => '2.2',
c3fc2621
CW
305 ],
306 'localpart' => [
e501603b
TO
307 'name' => 'localpart',
308 'type' => CRM_Utils_Type::T_STRING,
c3fc2621 309 'title' => ts('email Local Part'),
215b423e 310 'description' => ts('optional local part (like civimail+ for addresses like civimail+s.1.2@example.com)'),
e501603b
TO
311 'maxlength' => 255,
312 'size' => CRM_Utils_Type::HUGE,
a36434b9 313 'where' => 'civicrm_mail_settings.localpart',
522a26c9 314 'table_name' => 'civicrm_mail_settings',
315 'entity' => 'MailSettings',
316 'bao' => 'CRM_Core_BAO_MailSettings',
6a7e5e5d 317 'localizable' => 0,
a9d0587b 318 'add' => '2.2',
c3fc2621
CW
319 ],
320 'return_path' => [
e501603b
TO
321 'name' => 'return_path',
322 'type' => CRM_Utils_Type::T_STRING,
c3fc2621 323 'title' => ts('Return Path'),
215b423e 324 'description' => ts('contents of the Return-Path header'),
e501603b
TO
325 'maxlength' => 255,
326 'size' => CRM_Utils_Type::HUGE,
a36434b9 327 'where' => 'civicrm_mail_settings.return_path',
522a26c9 328 'table_name' => 'civicrm_mail_settings',
329 'entity' => 'MailSettings',
330 'bao' => 'CRM_Core_BAO_MailSettings',
6a7e5e5d 331 'localizable' => 0,
a9d0587b 332 'add' => '2.2',
c3fc2621
CW
333 ],
334 'protocol' => [
e501603b
TO
335 'name' => 'protocol',
336 'type' => CRM_Utils_Type::T_STRING,
c3fc2621 337 'title' => ts('Protocol'),
215b423e 338 'description' => ts('name of the protocol to use for polling (like IMAP, POP3 or Maildir)'),
e501603b
TO
339 'maxlength' => 255,
340 'size' => CRM_Utils_Type::HUGE,
a36434b9 341 'where' => 'civicrm_mail_settings.protocol',
522a26c9 342 'table_name' => 'civicrm_mail_settings',
343 'entity' => 'MailSettings',
344 'bao' => 'CRM_Core_BAO_MailSettings',
6a7e5e5d 345 'localizable' => 0,
c3fc2621 346 'html' => [
e501603b 347 'type' => 'Select',
c3fc2621
CW
348 ],
349 'pseudoconstant' => [
e501603b
TO
350 'optionGroupName' => 'mail_protocol',
351 'optionEditPath' => 'civicrm/admin/options/mail_protocol',
e6ca0a57 352 ],
a9d0587b 353 'add' => '2.2',
c3fc2621
CW
354 ],
355 'server' => [
e501603b
TO
356 'name' => 'server',
357 'type' => CRM_Utils_Type::T_STRING,
c3fc2621 358 'title' => ts('Mail Server'),
215b423e 359 'description' => ts('server to use when polling'),
e501603b
TO
360 'maxlength' => 255,
361 'size' => CRM_Utils_Type::HUGE,
a36434b9 362 'where' => 'civicrm_mail_settings.server',
522a26c9 363 'table_name' => 'civicrm_mail_settings',
364 'entity' => 'MailSettings',
365 'bao' => 'CRM_Core_BAO_MailSettings',
6a7e5e5d 366 'localizable' => 0,
a9d0587b 367 'add' => '2.2',
c3fc2621
CW
368 ],
369 'port' => [
e501603b
TO
370 'name' => 'port',
371 'type' => CRM_Utils_Type::T_INT,
c3fc2621 372 'title' => ts('Mail Port'),
215b423e 373 'description' => ts('port to use when polling'),
a36434b9 374 'where' => 'civicrm_mail_settings.port',
522a26c9 375 'table_name' => 'civicrm_mail_settings',
376 'entity' => 'MailSettings',
377 'bao' => 'CRM_Core_BAO_MailSettings',
6a7e5e5d 378 'localizable' => 0,
a9d0587b 379 'add' => '2.2',
c3fc2621
CW
380 ],
381 'username' => [
e501603b
TO
382 'name' => 'username',
383 'type' => CRM_Utils_Type::T_STRING,
c3fc2621 384 'title' => ts('Mail Account Username'),
215b423e 385 'description' => ts('username to use when polling'),
e501603b
TO
386 'maxlength' => 255,
387 'size' => CRM_Utils_Type::HUGE,
a36434b9 388 'where' => 'civicrm_mail_settings.username',
522a26c9 389 'table_name' => 'civicrm_mail_settings',
390 'entity' => 'MailSettings',
391 'bao' => 'CRM_Core_BAO_MailSettings',
6a7e5e5d 392 'localizable' => 0,
a9d0587b 393 'add' => '2.2',
c3fc2621
CW
394 ],
395 'password' => [
e501603b
TO
396 'name' => 'password',
397 'type' => CRM_Utils_Type::T_STRING,
c3fc2621 398 'title' => ts('Mail Account Password'),
215b423e 399 'description' => ts('password to use when polling'),
e501603b
TO
400 'maxlength' => 255,
401 'size' => CRM_Utils_Type::HUGE,
a36434b9 402 'where' => 'civicrm_mail_settings.password',
522a26c9 403 'table_name' => 'civicrm_mail_settings',
404 'entity' => 'MailSettings',
405 'bao' => 'CRM_Core_BAO_MailSettings',
6a7e5e5d 406 'localizable' => 0,
a9d0587b 407 'add' => '2.2',
c3fc2621
CW
408 ],
409 'is_ssl' => [
e501603b
TO
410 'name' => 'is_ssl',
411 'type' => CRM_Utils_Type::T_BOOLEAN,
c3fc2621 412 'title' => ts('Mail Account Uses SSL'),
215b423e 413 'description' => ts('whether to use SSL or not'),
c1e814c7 414 'required' => TRUE,
a36434b9 415 'where' => 'civicrm_mail_settings.is_ssl',
c1e814c7 416 'default' => '0',
522a26c9 417 'table_name' => 'civicrm_mail_settings',
418 'entity' => 'MailSettings',
419 'bao' => 'CRM_Core_BAO_MailSettings',
6a7e5e5d 420 'localizable' => 0,
a9d0587b 421 'add' => '2.2',
c3fc2621
CW
422 ],
423 'source' => [
e501603b
TO
424 'name' => 'source',
425 'type' => CRM_Utils_Type::T_STRING,
c3fc2621 426 'title' => ts('Mail Folder'),
215b423e 427 'description' => ts('folder to poll from when using IMAP, path to poll from when using Maildir, etc.'),
e501603b
TO
428 'maxlength' => 255,
429 'size' => CRM_Utils_Type::HUGE,
a36434b9 430 'where' => 'civicrm_mail_settings.source',
522a26c9 431 'table_name' => 'civicrm_mail_settings',
432 'entity' => 'MailSettings',
433 'bao' => 'CRM_Core_BAO_MailSettings',
6a7e5e5d 434 'localizable' => 0,
a9d0587b 435 'add' => '2.2',
c3fc2621
CW
436 ],
437 'activity_status' => [
040073c9
CW
438 'name' => 'activity_status',
439 'type' => CRM_Utils_Type::T_STRING,
c3fc2621 440 'title' => ts('Activity Status'),
215b423e 441 'description' => ts('Name of status to use when creating email to activity.'),
040073c9
CW
442 'maxlength' => 255,
443 'size' => CRM_Utils_Type::HUGE,
a36434b9 444 'where' => 'civicrm_mail_settings.activity_status',
040073c9
CW
445 'table_name' => 'civicrm_mail_settings',
446 'entity' => 'MailSettings',
447 'bao' => 'CRM_Core_BAO_MailSettings',
448 'localizable' => 0,
c3fc2621 449 'html' => [
040073c9 450 'type' => 'Select',
c3fc2621
CW
451 ],
452 'pseudoconstant' => [
040073c9
CW
453 'optionGroupName' => 'activity_status',
454 'keyColumn' => 'name',
455 'optionEditPath' => 'civicrm/admin/options/activity_status',
e6ca0a57 456 ],
a9d0587b 457 'add' => '4.7',
c3fc2621 458 ],
2f0fd07c
SL
459 'is_non_case_email_skipped' => [
460 'name' => 'is_non_case_email_skipped',
461 'type' => CRM_Utils_Type::T_BOOLEAN,
462 'title' => ts('Skip emails which do not have a Case ID or Case hash'),
463 'description' => ts('Enabling this option will have CiviCRM skip any emails that do not have the Case ID or Case Hash so that the system will only process emails that can be placed on case records. Any emails that are not processed will be moved to the ignored folder.'),
c1e814c7 464 'required' => TRUE,
2f0fd07c
SL
465 'where' => 'civicrm_mail_settings.is_non_case_email_skipped',
466 'default' => '0',
467 'table_name' => 'civicrm_mail_settings',
468 'entity' => 'MailSettings',
469 'bao' => 'CRM_Core_BAO_MailSettings',
470 'localizable' => 0,
471 'html' => [
472 'type' => 'CheckBox',
473 ],
474 'add' => '5.31',
475 ],
476 'is_contact_creation_disabled_if_no_match' => [
477 'name' => 'is_contact_creation_disabled_if_no_match',
478 'type' => CRM_Utils_Type::T_BOOLEAN,
479 'title' => ts('Do not create new contacts when filing emails'),
c1e814c7 480 'required' => TRUE,
2f0fd07c
SL
481 'where' => 'civicrm_mail_settings.is_contact_creation_disabled_if_no_match',
482 'default' => '0',
483 'table_name' => 'civicrm_mail_settings',
484 'entity' => 'MailSettings',
485 'bao' => 'CRM_Core_BAO_MailSettings',
486 'localizable' => 0,
487 'html' => [
488 'type' => 'CheckBox',
489 ],
490 'add' => '5.31',
491 ],
c3fc2621 492 ];
346aaaba 493 CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
e501603b 494 }
346aaaba 495 return Civi::$statics[__CLASS__]['fields'];
e501603b 496 }
c3fc2621 497
e501603b 498 /**
bd8e0b14 499 * Return a mapping from field-name to the corresponding key (as used in fields()).
e501603b
TO
500 *
501 * @return array
bd8e0b14 502 * Array(string $name => string $uniqueName).
e501603b 503 */
c3fc2621 504 public static function &fieldKeys() {
bd8e0b14
TO
505 if (!isset(Civi::$statics[__CLASS__]['fieldKeys'])) {
506 Civi::$statics[__CLASS__]['fieldKeys'] = array_flip(CRM_Utils_Array::collect('name', self::fields()));
e501603b 507 }
bd8e0b14 508 return Civi::$statics[__CLASS__]['fieldKeys'];
e501603b 509 }
c3fc2621 510
e501603b
TO
511 /**
512 * Returns the names of this table
513 *
514 * @return string
515 */
c3fc2621 516 public static function getTableName() {
e501603b
TO
517 return self::$_tableName;
518 }
c3fc2621 519
e501603b
TO
520 /**
521 * Returns if this table needs to be logged
522 *
c3fc2621 523 * @return bool
e501603b 524 */
c3fc2621 525 public function getLog() {
e501603b
TO
526 return self::$_log;
527 }
c3fc2621 528
e501603b
TO
529 /**
530 * Returns the list of fields that can be imported
531 *
532 * @param bool $prefix
533 *
534 * @return array
535 */
c3fc2621
CW
536 public static function &import($prefix = FALSE) {
537 $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'mail_settings', $prefix, []);
60808919 538 return $r;
e501603b 539 }
c3fc2621 540
e501603b
TO
541 /**
542 * Returns the list of fields that can be exported
543 *
544 * @param bool $prefix
545 *
546 * @return array
547 */
c3fc2621
CW
548 public static function &export($prefix = FALSE) {
549 $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'mail_settings', $prefix, []);
60808919 550 return $r;
e501603b 551 }
c3fc2621 552
e7a6b91a
AS
553 /**
554 * Returns the list of indices
c3fc2621
CW
555 *
556 * @param bool $localize
557 *
558 * @return array
e7a6b91a
AS
559 */
560 public static function indices($localize = TRUE) {
c3fc2621 561 $indices = [];
e7a6b91a
AS
562 return ($localize && !empty($indices)) ? CRM_Core_DAO_AllCoreTables::multilingualize(__CLASS__, $indices) : $indices;
563 }
c3fc2621 564
e501603b 565}