API/DAO Metadata - Retain versioning metadata for possible usage in runtime+tooling
[civicrm-core.git] / CRM / Price / DAO / PriceFieldValue.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/Price/PriceFieldValue.xml
8 * DO NOT EDIT. Generated by CRM_Core_CodeGen
a9d0587b 9 * (GenCodeChecksum:28432a14b1b1523380eb41e8e481037d)
e501603b 10 */
c3fc2621 11
f41f0342 12/**
c3fc2621 13 * Database access object for the PriceFieldValue entity.
f41f0342 14 */
e501603b 15class CRM_Price_DAO_PriceFieldValue extends CRM_Core_DAO {
c3fc2621 16
e501603b 17 /**
f41f0342 18 * Static instance to hold the table name.
e501603b
TO
19 *
20 * @var string
21 */
fa45b5b9 22 public static $_tableName = 'civicrm_price_field_value';
c3fc2621 23
e501603b 24 /**
f41f0342 25 * Should CiviCRM log any modifications to this table in the civicrm_log table.
e501603b 26 *
c3fc2621 27 * @var bool
e501603b 28 */
fa45b5b9 29 public static $_log = FALSE;
c3fc2621 30
e501603b
TO
31 /**
32 * Price Field Value
33 *
e6ca0a57 34 * @var int
e501603b
TO
35 */
36 public $id;
c3fc2621 37
e501603b
TO
38 /**
39 * FK to civicrm_price_field
40 *
e6ca0a57 41 * @var int
e501603b
TO
42 */
43 public $price_field_id;
c3fc2621 44
e501603b
TO
45 /**
46 * Price field option name
47 *
48 * @var string
49 */
50 public $name;
c3fc2621 51
e501603b
TO
52 /**
53 * Price field option label
54 *
55 * @var string
56 */
57 public $label;
c3fc2621 58
e501603b 59 /**
f95ab9d4 60 * Price field option description.
e501603b
TO
61 *
62 * @var text
63 */
64 public $description;
c3fc2621 65
e501603b
TO
66 /**
67 * Price field option pre help text.
68 *
69 * @var text
70 */
71 public $help_pre;
c3fc2621 72
e501603b
TO
73 /**
74 * Price field option post field help.
75 *
76 * @var text
77 */
78 public $help_post;
c3fc2621 79
e501603b
TO
80 /**
81 * Price field option amount
82 *
25e0f950 83 * @var float
e501603b
TO
84 */
85 public $amount;
c3fc2621 86
e501603b
TO
87 /**
88 * Number of participants per field option
89 *
e6ca0a57 90 * @var int
e501603b
TO
91 */
92 public $count;
c3fc2621 93
e501603b
TO
94 /**
95 * Max number of participants per field options
96 *
e6ca0a57 97 * @var int
e501603b
TO
98 */
99 public $max_value;
c3fc2621 100
e501603b
TO
101 /**
102 * Order in which the field options should appear
103 *
104 * @var int
105 */
106 public $weight;
c3fc2621 107
e501603b
TO
108 /**
109 * FK to Membership Type
110 *
e6ca0a57 111 * @var int
e501603b
TO
112 */
113 public $membership_type_id;
c3fc2621 114
e501603b
TO
115 /**
116 * Number of terms for this membership
117 *
e6ca0a57 118 * @var int
e501603b
TO
119 */
120 public $membership_num_terms;
c3fc2621 121
e501603b
TO
122 /**
123 * Is this default price field option
124 *
e6ca0a57 125 * @var bool
e501603b
TO
126 */
127 public $is_default;
c3fc2621 128
e501603b
TO
129 /**
130 * Is this price field value active
131 *
e6ca0a57 132 * @var bool
e501603b
TO
133 */
134 public $is_active;
c3fc2621 135
e501603b
TO
136 /**
137 * FK to Financial Type.
138 *
e6ca0a57 139 * @var int
e501603b
TO
140 */
141 public $financial_type_id;
c3fc2621 142
e501603b 143 /**
5afce5ad 144 * Portion of total amount which is NOT tax deductible.
e501603b
TO
145 *
146 * @var float
147 */
5afce5ad 148 public $non_deductible_amount;
c3fc2621 149
2db35bf6 150 /**
64ca7bcd 151 * Implicit FK to civicrm_option_group with name = 'visibility'
2db35bf6 152 *
e6ca0a57 153 * @var int
2db35bf6
AF
154 */
155 public $visibility_id;
c3fc2621 156
e501603b 157 /**
f41f0342 158 * Class constructor.
e501603b 159 */
c3fc2621 160 public function __construct() {
e501603b
TO
161 $this->__table = 'civicrm_price_field_value';
162 parent::__construct();
163 }
c3fc2621 164
449c4e6b
CW
165 /**
166 * Returns localized title of this entity.
167 */
168 public static function getEntityTitle() {
169 return ts('Price Field Values');
170 }
171
e501603b 172 /**
f41f0342 173 * Returns foreign keys and entity references.
e501603b
TO
174 *
175 * @return array
176 * [CRM_Core_Reference_Interface]
177 */
c3fc2621 178 public static function getReferenceColumns() {
346aaaba 179 if (!isset(Civi::$statics[__CLASS__]['links'])) {
fa45b5b9 180 Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
c3fc2621
CW
181 Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'price_field_id', 'civicrm_price_field', 'id');
182 Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'membership_type_id', 'civicrm_membership_type', 'id');
183 Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'financial_type_id', 'civicrm_financial_type', 'id');
346aaaba 184 CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
e501603b 185 }
346aaaba 186 return Civi::$statics[__CLASS__]['links'];
e501603b 187 }
c3fc2621 188
e501603b
TO
189 /**
190 * Returns all the column names of this table
191 *
192 * @return array
193 */
c3fc2621 194 public static function &fields() {
346aaaba 195 if (!isset(Civi::$statics[__CLASS__]['fields'])) {
c3fc2621
CW
196 Civi::$statics[__CLASS__]['fields'] = [
197 'id' => [
e501603b
TO
198 'name' => 'id',
199 'type' => CRM_Utils_Type::T_INT,
c3fc2621 200 'title' => ts('Price Field Value ID'),
215b423e 201 'description' => ts('Price Field Value'),
c3fc2621 202 'required' => TRUE,
a36434b9 203 'where' => 'civicrm_price_field_value.id',
522a26c9 204 'table_name' => 'civicrm_price_field_value',
205 'entity' => 'PriceFieldValue',
206 'bao' => 'CRM_Price_BAO_PriceFieldValue',
6a7e5e5d 207 'localizable' => 0,
a9d0587b 208 'add' => '3.3',
c3fc2621
CW
209 ],
210 'price_field_id' => [
e501603b
TO
211 'name' => 'price_field_id',
212 'type' => CRM_Utils_Type::T_INT,
c3fc2621 213 'title' => ts('Price Field'),
215b423e 214 'description' => ts('FK to civicrm_price_field'),
c3fc2621 215 'required' => TRUE,
a36434b9 216 'where' => 'civicrm_price_field_value.price_field_id',
522a26c9 217 'table_name' => 'civicrm_price_field_value',
218 'entity' => 'PriceFieldValue',
219 'bao' => 'CRM_Price_BAO_PriceFieldValue',
6a7e5e5d 220 'localizable' => 0,
e501603b 221 'FKClassName' => 'CRM_Price_DAO_PriceField',
a9d0587b 222 'add' => '3.3',
c3fc2621
CW
223 ],
224 'name' => [
e501603b
TO
225 'name' => 'name',
226 'type' => CRM_Utils_Type::T_STRING,
c3fc2621 227 'title' => ts('Name'),
215b423e 228 'description' => ts('Price field option name'),
8d928185 229 'required' => TRUE,
e501603b
TO
230 'maxlength' => 255,
231 'size' => CRM_Utils_Type::HUGE,
a36434b9 232 'where' => 'civicrm_price_field_value.name',
522a26c9 233 'table_name' => 'civicrm_price_field_value',
234 'entity' => 'PriceFieldValue',
235 'bao' => 'CRM_Price_BAO_PriceFieldValue',
6a7e5e5d 236 'localizable' => 0,
c3fc2621 237 'html' => [
e501603b 238 'type' => 'Text',
c3fc2621 239 ],
a9d0587b 240 'add' => '3.3',
c3fc2621
CW
241 ],
242 'label' => [
e501603b
TO
243 'name' => 'label',
244 'type' => CRM_Utils_Type::T_STRING,
c3fc2621 245 'title' => ts('Label'),
215b423e 246 'description' => ts('Price field option label'),
8d928185 247 'required' => TRUE,
e501603b
TO
248 'maxlength' => 255,
249 'size' => CRM_Utils_Type::HUGE,
a36434b9 250 'where' => 'civicrm_price_field_value.label',
522a26c9 251 'table_name' => 'civicrm_price_field_value',
252 'entity' => 'PriceFieldValue',
253 'bao' => 'CRM_Price_BAO_PriceFieldValue',
6a7e5e5d 254 'localizable' => 1,
c3fc2621 255 'html' => [
e501603b 256 'type' => 'Text',
c3fc2621 257 ],
a9d0587b 258 'add' => '3.3',
c3fc2621
CW
259 ],
260 'description' => [
e501603b
TO
261 'name' => 'description',
262 'type' => CRM_Utils_Type::T_TEXT,
c3fc2621 263 'title' => ts('Description'),
f95ab9d4 264 'description' => ts('Price field option description.'),
e501603b
TO
265 'rows' => 2,
266 'cols' => 60,
a36434b9 267 'where' => 'civicrm_price_field_value.description',
e501603b 268 'default' => 'NULL',
522a26c9 269 'table_name' => 'civicrm_price_field_value',
270 'entity' => 'PriceFieldValue',
271 'bao' => 'CRM_Price_BAO_PriceFieldValue',
6a7e5e5d 272 'localizable' => 1,
c3fc2621 273 'html' => [
e501603b 274 'type' => 'TextArea',
c3fc2621 275 ],
a9d0587b 276 'add' => '3.3',
c3fc2621
CW
277 ],
278 'help_pre' => [
e501603b
TO
279 'name' => 'help_pre',
280 'type' => CRM_Utils_Type::T_TEXT,
c3fc2621 281 'title' => ts('Help Pre'),
215b423e 282 'description' => ts('Price field option pre help text.'),
e501603b
TO
283 'rows' => 2,
284 'cols' => 60,
a36434b9 285 'where' => 'civicrm_price_field_value.help_pre',
e501603b 286 'default' => 'NULL',
522a26c9 287 'table_name' => 'civicrm_price_field_value',
288 'entity' => 'PriceFieldValue',
289 'bao' => 'CRM_Price_BAO_PriceFieldValue',
6a7e5e5d 290 'localizable' => 1,
c3fc2621 291 'html' => [
e501603b 292 'type' => 'TextArea',
c3fc2621 293 ],
a9d0587b 294 'add' => '4.7',
c3fc2621
CW
295 ],
296 'help_post' => [
e501603b
TO
297 'name' => 'help_post',
298 'type' => CRM_Utils_Type::T_TEXT,
c3fc2621 299 'title' => ts('Help Post'),
215b423e 300 'description' => ts('Price field option post field help.'),
e501603b
TO
301 'rows' => 2,
302 'cols' => 60,
a36434b9 303 'where' => 'civicrm_price_field_value.help_post',
e501603b 304 'default' => 'NULL',
522a26c9 305 'table_name' => 'civicrm_price_field_value',
306 'entity' => 'PriceFieldValue',
307 'bao' => 'CRM_Price_BAO_PriceFieldValue',
6a7e5e5d 308 'localizable' => 1,
c3fc2621 309 'html' => [
e501603b 310 'type' => 'TextArea',
c3fc2621 311 ],
a9d0587b 312 'add' => '4.7',
c3fc2621
CW
313 ],
314 'amount' => [
e501603b 315 'name' => 'amount',
25e0f950 316 'type' => CRM_Utils_Type::T_MONEY,
c3fc2621 317 'title' => ts('Amount'),
215b423e 318 'description' => ts('Price field option amount'),
c3fc2621
CW
319 'required' => TRUE,
320 'precision' => [
25e0f950 321 18,
fb607354 322 9,
c3fc2621 323 ],
a36434b9 324 'where' => 'civicrm_price_field_value.amount',
522a26c9 325 'table_name' => 'civicrm_price_field_value',
326 'entity' => 'PriceFieldValue',
327 'bao' => 'CRM_Price_BAO_PriceFieldValue',
6a7e5e5d 328 'localizable' => 0,
c3fc2621 329 'html' => [
e501603b 330 'type' => 'Text',
c3fc2621 331 ],
a9d0587b 332 'add' => '3.3',
c3fc2621
CW
333 ],
334 'count' => [
e501603b
TO
335 'name' => 'count',
336 'type' => CRM_Utils_Type::T_INT,
c3fc2621 337 'title' => ts('Count'),
215b423e 338 'description' => ts('Number of participants per field option'),
a36434b9 339 'where' => 'civicrm_price_field_value.count',
e501603b 340 'default' => 'NULL',
522a26c9 341 'table_name' => 'civicrm_price_field_value',
342 'entity' => 'PriceFieldValue',
343 'bao' => 'CRM_Price_BAO_PriceFieldValue',
6a7e5e5d 344 'localizable' => 0,
c3fc2621 345 'html' => [
e501603b 346 'type' => 'Text',
c3fc2621 347 ],
a9d0587b 348 'add' => '3.3',
c3fc2621
CW
349 ],
350 'max_value' => [
e501603b
TO
351 'name' => 'max_value',
352 'type' => CRM_Utils_Type::T_INT,
c3fc2621 353 'title' => ts('Max Value'),
215b423e 354 'description' => ts('Max number of participants per field options'),
a36434b9 355 'where' => 'civicrm_price_field_value.max_value',
e501603b 356 'default' => 'NULL',
522a26c9 357 'table_name' => 'civicrm_price_field_value',
358 'entity' => 'PriceFieldValue',
359 'bao' => 'CRM_Price_BAO_PriceFieldValue',
6a7e5e5d 360 'localizable' => 0,
c3fc2621 361 'html' => [
e501603b 362 'type' => 'Text',
c3fc2621 363 ],
a9d0587b 364 'add' => '3.3',
c3fc2621
CW
365 ],
366 'weight' => [
e501603b
TO
367 'name' => 'weight',
368 'type' => CRM_Utils_Type::T_INT,
c3fc2621 369 'title' => ts('Order'),
215b423e 370 'description' => ts('Order in which the field options should appear'),
a36434b9 371 'where' => 'civicrm_price_field_value.weight',
e501603b 372 'default' => '1',
522a26c9 373 'table_name' => 'civicrm_price_field_value',
374 'entity' => 'PriceFieldValue',
375 'bao' => 'CRM_Price_BAO_PriceFieldValue',
6a7e5e5d 376 'localizable' => 0,
c3fc2621 377 'html' => [
e501603b 378 'type' => 'Text',
c3fc2621 379 ],
a9d0587b 380 'add' => '3.3',
c3fc2621
CW
381 ],
382 'membership_type_id' => [
e501603b
TO
383 'name' => 'membership_type_id',
384 'type' => CRM_Utils_Type::T_INT,
c3fc2621 385 'title' => ts('Membership Type'),
215b423e 386 'description' => ts('FK to Membership Type'),
a36434b9 387 'where' => 'civicrm_price_field_value.membership_type_id',
e501603b 388 'default' => 'NULL',
522a26c9 389 'table_name' => 'civicrm_price_field_value',
390 'entity' => 'PriceFieldValue',
391 'bao' => 'CRM_Price_BAO_PriceFieldValue',
6a7e5e5d 392 'localizable' => 0,
e501603b 393 'FKClassName' => 'CRM_Member_DAO_MembershipType',
c3fc2621 394 'html' => [
e501603b 395 'type' => 'Select',
c3fc2621 396 ],
a9d0587b 397 'add' => '3.4',
c3fc2621
CW
398 ],
399 'membership_num_terms' => [
e501603b
TO
400 'name' => 'membership_num_terms',
401 'type' => CRM_Utils_Type::T_INT,
c3fc2621 402 'title' => ts('Membership Num Terms'),
215b423e 403 'description' => ts('Number of terms for this membership'),
a36434b9 404 'where' => 'civicrm_price_field_value.membership_num_terms',
e501603b 405 'default' => 'NULL',
522a26c9 406 'table_name' => 'civicrm_price_field_value',
407 'entity' => 'PriceFieldValue',
408 'bao' => 'CRM_Price_BAO_PriceFieldValue',
6a7e5e5d 409 'localizable' => 0,
c3fc2621 410 'html' => [
e501603b 411 'type' => 'Text',
c3fc2621 412 ],
a9d0587b 413 'add' => '4.3',
c3fc2621
CW
414 ],
415 'is_default' => [
e501603b
TO
416 'name' => 'is_default',
417 'type' => CRM_Utils_Type::T_BOOLEAN,
c3fc2621 418 'title' => ts('Is Default Price Field Option?'),
215b423e 419 'description' => ts('Is this default price field option'),
a36434b9 420 'where' => 'civicrm_price_field_value.is_default',
45a83e42 421 'default' => '0',
522a26c9 422 'table_name' => 'civicrm_price_field_value',
423 'entity' => 'PriceFieldValue',
424 'bao' => 'CRM_Price_BAO_PriceFieldValue',
6a7e5e5d 425 'localizable' => 0,
c3fc2621 426 'html' => [
e501603b 427 'type' => 'CheckBox',
c3fc2621 428 ],
a9d0587b 429 'add' => '3.3',
c3fc2621
CW
430 ],
431 'is_active' => [
e501603b
TO
432 'name' => 'is_active',
433 'type' => CRM_Utils_Type::T_BOOLEAN,
c3fc2621 434 'title' => ts('Price Field Value is Active'),
215b423e 435 'description' => ts('Is this price field value active'),
a36434b9 436 'where' => 'civicrm_price_field_value.is_active',
e501603b 437 'default' => '1',
522a26c9 438 'table_name' => 'civicrm_price_field_value',
439 'entity' => 'PriceFieldValue',
440 'bao' => 'CRM_Price_BAO_PriceFieldValue',
6a7e5e5d 441 'localizable' => 0,
a9d0587b 442 'add' => '3.3',
c3fc2621
CW
443 ],
444 'financial_type_id' => [
e501603b
TO
445 'name' => 'financial_type_id',
446 'type' => CRM_Utils_Type::T_INT,
c3fc2621 447 'title' => ts('Financial Type'),
215b423e 448 'description' => ts('FK to Financial Type.'),
a36434b9 449 'where' => 'civicrm_price_field_value.financial_type_id',
e501603b 450 'default' => 'NULL',
522a26c9 451 'table_name' => 'civicrm_price_field_value',
452 'entity' => 'PriceFieldValue',
453 'bao' => 'CRM_Price_BAO_PriceFieldValue',
6a7e5e5d 454 'localizable' => 0,
e501603b 455 'FKClassName' => 'CRM_Financial_DAO_FinancialType',
c3fc2621 456 'html' => [
e501603b 457 'type' => 'Select',
c3fc2621
CW
458 ],
459 'pseudoconstant' => [
e501603b
TO
460 'table' => 'civicrm_financial_type',
461 'keyColumn' => 'id',
462 'labelColumn' => 'name',
e6ca0a57 463 ],
a9d0587b 464 'add' => '4.3',
c3fc2621
CW
465 ],
466 'non_deductible_amount' => [
5afce5ad 467 'name' => 'non_deductible_amount',
e501603b 468 'type' => CRM_Utils_Type::T_MONEY,
c3fc2621 469 'title' => ts('Non-deductible Amount'),
215b423e 470 'description' => ts('Portion of total amount which is NOT tax deductible.'),
c3fc2621
CW
471 'required' => TRUE,
472 'precision' => [
e501603b 473 20,
fb607354 474 2,
c3fc2621 475 ],
a36434b9 476 'where' => 'civicrm_price_field_value.non_deductible_amount',
477 'headerPattern' => '/non?.?deduct/i',
478 'dataPattern' => '/^\d+(\.\d{2})?$/',
e501603b 479 'default' => '0.0',
522a26c9 480 'table_name' => 'civicrm_price_field_value',
481 'entity' => 'PriceFieldValue',
482 'bao' => 'CRM_Price_BAO_PriceFieldValue',
6a7e5e5d 483 'localizable' => 0,
c3fc2621 484 'html' => [
e501603b 485 'type' => 'Text',
c3fc2621 486 ],
a9d0587b 487 'add' => '4.7',
c3fc2621
CW
488 ],
489 'visibility_id' => [
2db35bf6
AF
490 'name' => 'visibility_id',
491 'type' => CRM_Utils_Type::T_INT,
c3fc2621 492 'title' => ts('Price Field Option Visibility'),
215b423e 493 'description' => ts('Implicit FK to civicrm_option_group with name = \'visibility\''),
a36434b9 494 'where' => 'civicrm_price_field_value.visibility_id',
2db35bf6
AF
495 'default' => '1',
496 'table_name' => 'civicrm_price_field_value',
497 'entity' => 'PriceFieldValue',
498 'bao' => 'CRM_Price_BAO_PriceFieldValue',
499 'localizable' => 0,
c3fc2621 500 'html' => [
2db35bf6 501 'type' => 'Select',
c3fc2621
CW
502 ],
503 'pseudoconstant' => [
2db35bf6
AF
504 'optionGroupName' => 'visibility',
505 'optionEditPath' => 'civicrm/admin/options/visibility',
e6ca0a57 506 ],
a9d0587b 507 'add' => '4.7',
c3fc2621
CW
508 ],
509 ];
346aaaba 510 CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
e501603b 511 }
346aaaba 512 return Civi::$statics[__CLASS__]['fields'];
e501603b 513 }
c3fc2621 514
e501603b 515 /**
bd8e0b14 516 * Return a mapping from field-name to the corresponding key (as used in fields()).
e501603b
TO
517 *
518 * @return array
bd8e0b14 519 * Array(string $name => string $uniqueName).
e501603b 520 */
c3fc2621 521 public static function &fieldKeys() {
bd8e0b14
TO
522 if (!isset(Civi::$statics[__CLASS__]['fieldKeys'])) {
523 Civi::$statics[__CLASS__]['fieldKeys'] = array_flip(CRM_Utils_Array::collect('name', self::fields()));
e501603b 524 }
bd8e0b14 525 return Civi::$statics[__CLASS__]['fieldKeys'];
e501603b 526 }
c3fc2621 527
e501603b
TO
528 /**
529 * Returns the names of this table
530 *
531 * @return string
532 */
c3fc2621 533 public static function getTableName() {
e501603b
TO
534 return CRM_Core_DAO::getLocaleTableName(self::$_tableName);
535 }
c3fc2621 536
e501603b
TO
537 /**
538 * Returns if this table needs to be logged
539 *
c3fc2621 540 * @return bool
e501603b 541 */
c3fc2621 542 public function getLog() {
e501603b
TO
543 return self::$_log;
544 }
c3fc2621 545
e501603b
TO
546 /**
547 * Returns the list of fields that can be imported
548 *
549 * @param bool $prefix
550 *
551 * @return array
552 */
c3fc2621
CW
553 public static function &import($prefix = FALSE) {
554 $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'price_field_value', $prefix, []);
60808919 555 return $r;
e501603b 556 }
c3fc2621 557
e501603b
TO
558 /**
559 * Returns the list of fields that can be exported
560 *
561 * @param bool $prefix
562 *
563 * @return array
564 */
c3fc2621
CW
565 public static function &export($prefix = FALSE) {
566 $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'price_field_value', $prefix, []);
60808919 567 return $r;
e501603b 568 }
c3fc2621 569
e7a6b91a
AS
570 /**
571 * Returns the list of indices
c3fc2621
CW
572 *
573 * @param bool $localize
574 *
575 * @return array
e7a6b91a
AS
576 */
577 public static function indices($localize = TRUE) {
c3fc2621 578 $indices = [];
e7a6b91a
AS
579 return ($localize && !empty($indices)) ? CRM_Core_DAO_AllCoreTables::multilingualize(__CLASS__, $indices) : $indices;
580 }
c3fc2621 581
e501603b 582}