API/DAO Metadata - Retain versioning metadata for possible usage in runtime+tooling
[civicrm-core.git] / CRM / Core / DAO / Menu.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/Menu.xml
8 * DO NOT EDIT. Generated by CRM_Core_CodeGen
a9d0587b 9 * (GenCodeChecksum:8eaee41a6e8192bd26fab7f4ef443c0c)
e501603b 10 */
c3fc2621 11
f41f0342 12/**
c3fc2621 13 * Database access object for the Menu entity.
f41f0342 14 */
e501603b 15class CRM_Core_DAO_Menu 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_menu';
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 31 /**
e6ca0a57 32 * @var int
e501603b
TO
33 */
34 public $id;
c3fc2621 35
e501603b
TO
36 /**
37 * Which Domain is this menu item for
38 *
e6ca0a57 39 * @var int
e501603b
TO
40 */
41 public $domain_id;
c3fc2621 42
e501603b
TO
43 /**
44 * Path Name
45 *
46 * @var string
47 */
48 public $path;
c3fc2621 49
e501603b
TO
50 /**
51 * Arguments to pass to the url
52 *
53 * @var text
54 */
55 public $path_arguments;
c3fc2621 56
e501603b 57 /**
e501603b
TO
58 * @var string
59 */
60 public $title;
c3fc2621 61
e501603b
TO
62 /**
63 * Function to call to check access permissions
64 *
65 * @var string
66 */
67 public $access_callback;
c3fc2621 68
e501603b
TO
69 /**
70 * Arguments to pass to access callback
71 *
72 * @var text
73 */
74 public $access_arguments;
c3fc2621 75
e501603b
TO
76 /**
77 * function to call for this url
78 *
79 * @var string
80 */
81 public $page_callback;
c3fc2621 82
e501603b
TO
83 /**
84 * Arguments to pass to page callback
85 *
86 * @var text
87 */
88 public $page_arguments;
c3fc2621 89
e501603b
TO
90 /**
91 * Breadcrumb for the path.
92 *
93 * @var text
94 */
95 public $breadcrumb;
c3fc2621 96
e501603b
TO
97 /**
98 * Url where a page should redirected to, if next url not known.
99 *
100 * @var string
101 */
102 public $return_url;
c3fc2621 103
e501603b
TO
104 /**
105 * Arguments to pass to return_url
106 *
107 * @var string
108 */
109 public $return_url_args;
c3fc2621 110
e501603b
TO
111 /**
112 * Component that this menu item belongs to
113 *
e6ca0a57 114 * @var int
e501603b
TO
115 */
116 public $component_id;
c3fc2621 117
e501603b
TO
118 /**
119 * Is this menu item active?
120 *
e6ca0a57 121 * @var bool
e501603b
TO
122 */
123 public $is_active;
c3fc2621 124
e501603b
TO
125 /**
126 * Is this menu accessible to the public?
127 *
e6ca0a57 128 * @var bool
e501603b
TO
129 */
130 public $is_public;
c3fc2621 131
e501603b
TO
132 /**
133 * Is this menu exposed to the navigation system?
134 *
e6ca0a57 135 * @var bool
e501603b
TO
136 */
137 public $is_exposed;
c3fc2621 138
e501603b
TO
139 /**
140 * Should this menu be exposed via SSL if enabled?
141 *
e6ca0a57 142 * @var bool
e501603b
TO
143 */
144 public $is_ssl;
c3fc2621 145
e501603b
TO
146 /**
147 * Ordering of the menu items in various blocks.
148 *
149 * @var int
150 */
151 public $weight;
c3fc2621 152
e501603b
TO
153 /**
154 * Drupal menu type.
155 *
156 * @var int
157 */
158 public $type;
c3fc2621 159
e501603b
TO
160 /**
161 * CiviCRM menu type.
162 *
163 * @var int
164 */
165 public $page_type;
c3fc2621 166
e501603b
TO
167 /**
168 * skip this url being exposed to breadcrumb
169 *
e6ca0a57 170 * @var bool
e501603b
TO
171 */
172 public $skipBreadcrumb;
c3fc2621 173
b44dc91e
TO
174 /**
175 * All other menu metadata not stored in other fields
176 *
177 * @var text
178 */
179 public $module_data;
c3fc2621 180
e501603b 181 /**
f41f0342 182 * Class constructor.
e501603b 183 */
c3fc2621 184 public function __construct() {
e501603b
TO
185 $this->__table = 'civicrm_menu';
186 parent::__construct();
187 }
c3fc2621 188
449c4e6b
CW
189 /**
190 * Returns localized title of this entity.
191 */
192 public static function getEntityTitle() {
193 return ts('Menus');
194 }
195
e501603b 196 /**
f41f0342 197 * Returns foreign keys and entity references.
e501603b
TO
198 *
199 * @return array
200 * [CRM_Core_Reference_Interface]
201 */
c3fc2621 202 public static function getReferenceColumns() {
346aaaba 203 if (!isset(Civi::$statics[__CLASS__]['links'])) {
fa45b5b9 204 Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
c3fc2621
CW
205 Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'domain_id', 'civicrm_domain', 'id');
206 Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'component_id', 'civicrm_component', 'id');
346aaaba 207 CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
e501603b 208 }
346aaaba 209 return Civi::$statics[__CLASS__]['links'];
e501603b 210 }
c3fc2621 211
e501603b
TO
212 /**
213 * Returns all the column names of this table
214 *
215 * @return array
216 */
c3fc2621 217 public static function &fields() {
346aaaba 218 if (!isset(Civi::$statics[__CLASS__]['fields'])) {
c3fc2621
CW
219 Civi::$statics[__CLASS__]['fields'] = [
220 'id' => [
e501603b
TO
221 'name' => 'id',
222 'type' => CRM_Utils_Type::T_INT,
c3fc2621
CW
223 'title' => ts('Menu ID'),
224 'required' => TRUE,
a36434b9 225 'where' => 'civicrm_menu.id',
522a26c9 226 'table_name' => 'civicrm_menu',
227 'entity' => 'Menu',
228 'bao' => 'CRM_Core_DAO_Menu',
6a7e5e5d 229 'localizable' => 0,
a9d0587b 230 'add' => '2.1',
c3fc2621
CW
231 ],
232 'domain_id' => [
e501603b
TO
233 'name' => 'domain_id',
234 'type' => CRM_Utils_Type::T_INT,
c3fc2621 235 'title' => ts('Domain'),
215b423e 236 'description' => ts('Which Domain is this menu item for'),
c3fc2621 237 'required' => TRUE,
a36434b9 238 'where' => 'civicrm_menu.domain_id',
522a26c9 239 'table_name' => 'civicrm_menu',
240 'entity' => 'Menu',
241 'bao' => 'CRM_Core_DAO_Menu',
6a7e5e5d 242 'localizable' => 0,
e501603b 243 'FKClassName' => 'CRM_Core_DAO_Domain',
c3fc2621 244 'pseudoconstant' => [
e501603b
TO
245 'table' => 'civicrm_domain',
246 'keyColumn' => 'id',
247 'labelColumn' => 'name',
e6ca0a57 248 ],
a9d0587b 249 'add' => '3.0',
c3fc2621
CW
250 ],
251 'path' => [
e501603b
TO
252 'name' => 'path',
253 'type' => CRM_Utils_Type::T_STRING,
c3fc2621 254 'title' => ts('Path'),
215b423e 255 'description' => ts('Path Name'),
e501603b
TO
256 'maxlength' => 255,
257 'size' => CRM_Utils_Type::HUGE,
a36434b9 258 'where' => 'civicrm_menu.path',
522a26c9 259 'table_name' => 'civicrm_menu',
260 'entity' => 'Menu',
261 'bao' => 'CRM_Core_DAO_Menu',
6a7e5e5d 262 'localizable' => 0,
a9d0587b 263 'add' => '2.1',
c3fc2621
CW
264 ],
265 'path_arguments' => [
e501603b
TO
266 'name' => 'path_arguments',
267 'type' => CRM_Utils_Type::T_TEXT,
c3fc2621 268 'title' => ts('Arguments'),
215b423e 269 'description' => ts('Arguments to pass to the url'),
a36434b9 270 'where' => 'civicrm_menu.path_arguments',
522a26c9 271 'table_name' => 'civicrm_menu',
272 'entity' => 'Menu',
273 'bao' => 'CRM_Core_DAO_Menu',
6a7e5e5d 274 'localizable' => 0,
a9d0587b 275 'add' => '2.1',
c3fc2621
CW
276 ],
277 'title' => [
e501603b
TO
278 'name' => 'title',
279 'type' => CRM_Utils_Type::T_STRING,
c3fc2621 280 'title' => ts('Menu Title'),
e501603b
TO
281 'maxlength' => 255,
282 'size' => CRM_Utils_Type::HUGE,
a36434b9 283 'where' => 'civicrm_menu.title',
522a26c9 284 'table_name' => 'civicrm_menu',
285 'entity' => 'Menu',
286 'bao' => 'CRM_Core_DAO_Menu',
6a7e5e5d 287 'localizable' => 0,
a9d0587b 288 'add' => '2.1',
c3fc2621
CW
289 ],
290 'access_callback' => [
e501603b
TO
291 'name' => 'access_callback',
292 'type' => CRM_Utils_Type::T_STRING,
c3fc2621 293 'title' => ts('Access Callback'),
215b423e 294 'description' => ts('Function to call to check access permissions'),
e501603b
TO
295 'maxlength' => 255,
296 'size' => CRM_Utils_Type::HUGE,
a36434b9 297 'where' => 'civicrm_menu.access_callback',
522a26c9 298 'table_name' => 'civicrm_menu',
299 'entity' => 'Menu',
300 'bao' => 'CRM_Core_DAO_Menu',
6a7e5e5d 301 'localizable' => 0,
a9d0587b 302 'add' => '2.1',
c3fc2621
CW
303 ],
304 'access_arguments' => [
e501603b
TO
305 'name' => 'access_arguments',
306 'type' => CRM_Utils_Type::T_TEXT,
c3fc2621 307 'title' => ts('Access Arguments'),
215b423e 308 'description' => ts('Arguments to pass to access callback'),
a36434b9 309 'where' => 'civicrm_menu.access_arguments',
522a26c9 310 'table_name' => 'civicrm_menu',
311 'entity' => 'Menu',
312 'bao' => 'CRM_Core_DAO_Menu',
6a7e5e5d 313 'localizable' => 0,
a9d0587b 314 'add' => '2.1',
c3fc2621
CW
315 ],
316 'page_callback' => [
e501603b
TO
317 'name' => 'page_callback',
318 'type' => CRM_Utils_Type::T_STRING,
c3fc2621 319 'title' => ts('Page Callback'),
215b423e 320 'description' => ts('function to call for this url'),
e501603b
TO
321 'maxlength' => 255,
322 'size' => CRM_Utils_Type::HUGE,
a36434b9 323 'where' => 'civicrm_menu.page_callback',
522a26c9 324 'table_name' => 'civicrm_menu',
325 'entity' => 'Menu',
326 'bao' => 'CRM_Core_DAO_Menu',
6a7e5e5d 327 'localizable' => 0,
a9d0587b 328 'add' => '2.1',
c3fc2621
CW
329 ],
330 'page_arguments' => [
e501603b
TO
331 'name' => 'page_arguments',
332 'type' => CRM_Utils_Type::T_TEXT,
c3fc2621 333 'title' => ts('Page Arguments'),
215b423e 334 'description' => ts('Arguments to pass to page callback'),
a36434b9 335 'where' => 'civicrm_menu.page_arguments',
522a26c9 336 'table_name' => 'civicrm_menu',
337 'entity' => 'Menu',
338 'bao' => 'CRM_Core_DAO_Menu',
6a7e5e5d 339 'localizable' => 0,
a9d0587b 340 'add' => '2.1',
c3fc2621
CW
341 ],
342 'breadcrumb' => [
e501603b
TO
343 'name' => 'breadcrumb',
344 'type' => CRM_Utils_Type::T_TEXT,
c3fc2621 345 'title' => ts('Breadcrumb'),
215b423e 346 'description' => ts('Breadcrumb for the path.'),
a36434b9 347 'where' => 'civicrm_menu.breadcrumb',
522a26c9 348 'table_name' => 'civicrm_menu',
349 'entity' => 'Menu',
350 'bao' => 'CRM_Core_DAO_Menu',
6a7e5e5d 351 'localizable' => 0,
a9d0587b 352 'add' => '2.1',
c3fc2621
CW
353 ],
354 'return_url' => [
e501603b
TO
355 'name' => 'return_url',
356 'type' => CRM_Utils_Type::T_STRING,
c3fc2621 357 'title' => ts('Return Url'),
215b423e 358 'description' => ts('Url where a page should redirected to, if next url not known.'),
e501603b
TO
359 'maxlength' => 255,
360 'size' => CRM_Utils_Type::HUGE,
a36434b9 361 'where' => 'civicrm_menu.return_url',
522a26c9 362 'table_name' => 'civicrm_menu',
363 'entity' => 'Menu',
364 'bao' => 'CRM_Core_DAO_Menu',
6a7e5e5d 365 'localizable' => 0,
a9d0587b 366 'add' => '2.1',
c3fc2621
CW
367 ],
368 'return_url_args' => [
e501603b
TO
369 'name' => 'return_url_args',
370 'type' => CRM_Utils_Type::T_STRING,
c3fc2621 371 'title' => ts('Return Url Args'),
215b423e 372 'description' => ts('Arguments to pass to return_url'),
e501603b
TO
373 'maxlength' => 255,
374 'size' => CRM_Utils_Type::HUGE,
a36434b9 375 'where' => 'civicrm_menu.return_url_args',
522a26c9 376 'table_name' => 'civicrm_menu',
377 'entity' => 'Menu',
378 'bao' => 'CRM_Core_DAO_Menu',
6a7e5e5d 379 'localizable' => 0,
a9d0587b 380 'add' => '2.1',
c3fc2621
CW
381 ],
382 'component_id' => [
e501603b
TO
383 'name' => 'component_id',
384 'type' => CRM_Utils_Type::T_INT,
c3fc2621 385 'title' => ts('Component'),
215b423e 386 'description' => ts('Component that this menu item belongs to'),
a36434b9 387 'where' => 'civicrm_menu.component_id',
522a26c9 388 'table_name' => 'civicrm_menu',
389 'entity' => 'Menu',
390 'bao' => 'CRM_Core_DAO_Menu',
6a7e5e5d 391 'localizable' => 0,
e501603b 392 'FKClassName' => 'CRM_Core_DAO_Component',
c3fc2621 393 'html' => [
e501603b 394 'type' => 'Select',
c3fc2621
CW
395 ],
396 'pseudoconstant' => [
e501603b
TO
397 'table' => 'civicrm_component',
398 'keyColumn' => 'id',
399 'labelColumn' => 'name',
e6ca0a57 400 ],
a9d0587b 401 'add' => '2.1',
c3fc2621
CW
402 ],
403 'is_active' => [
e501603b
TO
404 'name' => 'is_active',
405 'type' => CRM_Utils_Type::T_BOOLEAN,
c3fc2621 406 'title' => ts('Enabled?'),
215b423e 407 'description' => ts('Is this menu item active?'),
a36434b9 408 'where' => 'civicrm_menu.is_active',
522a26c9 409 'table_name' => 'civicrm_menu',
410 'entity' => 'Menu',
411 'bao' => 'CRM_Core_DAO_Menu',
6a7e5e5d 412 'localizable' => 0,
a9d0587b 413 'add' => '2.1',
c3fc2621
CW
414 ],
415 'is_public' => [
e501603b
TO
416 'name' => 'is_public',
417 'type' => CRM_Utils_Type::T_BOOLEAN,
c3fc2621 418 'title' => ts('Public?'),
215b423e 419 'description' => ts('Is this menu accessible to the public?'),
a36434b9 420 'where' => 'civicrm_menu.is_public',
522a26c9 421 'table_name' => 'civicrm_menu',
422 'entity' => 'Menu',
423 'bao' => 'CRM_Core_DAO_Menu',
6a7e5e5d 424 'localizable' => 0,
a9d0587b 425 'add' => '2.1',
c3fc2621
CW
426 ],
427 'is_exposed' => [
e501603b
TO
428 'name' => 'is_exposed',
429 'type' => CRM_Utils_Type::T_BOOLEAN,
c3fc2621 430 'title' => ts('Exposed?'),
215b423e 431 'description' => ts('Is this menu exposed to the navigation system?'),
a36434b9 432 'where' => 'civicrm_menu.is_exposed',
522a26c9 433 'table_name' => 'civicrm_menu',
434 'entity' => 'Menu',
435 'bao' => 'CRM_Core_DAO_Menu',
6a7e5e5d 436 'localizable' => 0,
a9d0587b 437 'add' => '2.1',
c3fc2621
CW
438 ],
439 'is_ssl' => [
e501603b
TO
440 'name' => 'is_ssl',
441 'type' => CRM_Utils_Type::T_BOOLEAN,
c3fc2621 442 'title' => ts('Use SSL?'),
215b423e 443 'description' => ts('Should this menu be exposed via SSL if enabled?'),
a36434b9 444 'where' => 'civicrm_menu.is_ssl',
522a26c9 445 'table_name' => 'civicrm_menu',
446 'entity' => 'Menu',
447 'bao' => 'CRM_Core_DAO_Menu',
6a7e5e5d 448 'localizable' => 0,
a9d0587b 449 'add' => '2.1',
c3fc2621
CW
450 ],
451 'weight' => [
e501603b
TO
452 'name' => 'weight',
453 'type' => CRM_Utils_Type::T_INT,
c3fc2621 454 'title' => ts('Order'),
215b423e 455 'description' => ts('Ordering of the menu items in various blocks.'),
c3fc2621 456 'required' => TRUE,
a36434b9 457 'where' => 'civicrm_menu.weight',
e501603b 458 'default' => '1',
522a26c9 459 'table_name' => 'civicrm_menu',
460 'entity' => 'Menu',
461 'bao' => 'CRM_Core_DAO_Menu',
6a7e5e5d 462 'localizable' => 0,
a9d0587b 463 'add' => '2.1',
c3fc2621
CW
464 ],
465 'type' => [
e501603b
TO
466 'name' => 'type',
467 'type' => CRM_Utils_Type::T_INT,
c3fc2621 468 'title' => ts('Type'),
215b423e 469 'description' => ts('Drupal menu type.'),
c3fc2621 470 'required' => TRUE,
a36434b9 471 'where' => 'civicrm_menu.type',
e501603b 472 'default' => '1',
522a26c9 473 'table_name' => 'civicrm_menu',
474 'entity' => 'Menu',
475 'bao' => 'CRM_Core_DAO_Menu',
6a7e5e5d 476 'localizable' => 0,
a9d0587b 477 'add' => '2.1',
c3fc2621
CW
478 ],
479 'page_type' => [
e501603b
TO
480 'name' => 'page_type',
481 'type' => CRM_Utils_Type::T_INT,
c3fc2621 482 'title' => ts('Page Type'),
215b423e 483 'description' => ts('CiviCRM menu type.'),
c3fc2621 484 'required' => TRUE,
a36434b9 485 'where' => 'civicrm_menu.page_type',
e501603b 486 'default' => '1',
522a26c9 487 'table_name' => 'civicrm_menu',
488 'entity' => 'Menu',
489 'bao' => 'CRM_Core_DAO_Menu',
6a7e5e5d 490 'localizable' => 0,
a9d0587b 491 'add' => '2.1',
c3fc2621
CW
492 ],
493 'skipBreadcrumb' => [
e501603b
TO
494 'name' => 'skipBreadcrumb',
495 'type' => CRM_Utils_Type::T_BOOLEAN,
c3fc2621 496 'title' => ts('Hide Breadcrumb?'),
215b423e 497 'description' => ts('skip this url being exposed to breadcrumb'),
a36434b9 498 'where' => 'civicrm_menu.skipBreadcrumb',
522a26c9 499 'table_name' => 'civicrm_menu',
500 'entity' => 'Menu',
b44dc91e
TO
501 'bao' => 'CRM_Core_DAO_Menu',
502 'localizable' => 0,
a9d0587b 503 'add' => '2.2',
c3fc2621
CW
504 ],
505 'module_data' => [
b44dc91e
TO
506 'name' => 'module_data',
507 'type' => CRM_Utils_Type::T_TEXT,
c3fc2621 508 'title' => ts('Other menu data'),
215b423e 509 'description' => ts('All other menu metadata not stored in other fields'),
a36434b9 510 'where' => 'civicrm_menu.module_data',
b44dc91e
TO
511 'table_name' => 'civicrm_menu',
512 'entity' => 'Menu',
522a26c9 513 'bao' => 'CRM_Core_DAO_Menu',
6a7e5e5d 514 'localizable' => 0,
a9d0587b 515 'add' => '4.7',
c3fc2621
CW
516 ],
517 ];
346aaaba 518 CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
e501603b 519 }
346aaaba 520 return Civi::$statics[__CLASS__]['fields'];
e501603b 521 }
c3fc2621 522
e501603b 523 /**
bd8e0b14 524 * Return a mapping from field-name to the corresponding key (as used in fields()).
e501603b
TO
525 *
526 * @return array
bd8e0b14 527 * Array(string $name => string $uniqueName).
e501603b 528 */
c3fc2621 529 public static function &fieldKeys() {
bd8e0b14
TO
530 if (!isset(Civi::$statics[__CLASS__]['fieldKeys'])) {
531 Civi::$statics[__CLASS__]['fieldKeys'] = array_flip(CRM_Utils_Array::collect('name', self::fields()));
e501603b 532 }
bd8e0b14 533 return Civi::$statics[__CLASS__]['fieldKeys'];
e501603b 534 }
c3fc2621 535
e501603b
TO
536 /**
537 * Returns the names of this table
538 *
539 * @return string
540 */
c3fc2621 541 public static function getTableName() {
e501603b
TO
542 return self::$_tableName;
543 }
c3fc2621 544
e501603b
TO
545 /**
546 * Returns if this table needs to be logged
547 *
c3fc2621 548 * @return bool
e501603b 549 */
c3fc2621 550 public function getLog() {
e501603b
TO
551 return self::$_log;
552 }
c3fc2621 553
e501603b
TO
554 /**
555 * Returns the list of fields that can be imported
556 *
557 * @param bool $prefix
558 *
559 * @return array
560 */
c3fc2621
CW
561 public static function &import($prefix = FALSE) {
562 $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'menu', $prefix, []);
60808919 563 return $r;
e501603b 564 }
c3fc2621 565
e501603b
TO
566 /**
567 * Returns the list of fields that can be exported
568 *
569 * @param bool $prefix
570 *
571 * @return array
572 */
c3fc2621
CW
573 public static function &export($prefix = FALSE) {
574 $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'menu', $prefix, []);
60808919 575 return $r;
e501603b 576 }
c3fc2621 577
e7a6b91a
AS
578 /**
579 * Returns the list of indices
c3fc2621
CW
580 *
581 * @param bool $localize
582 *
583 * @return array
e7a6b91a
AS
584 */
585 public static function indices($localize = TRUE) {
c3fc2621
CW
586 $indices = [
587 'UI_path_domain_id' => [
e7a6b91a 588 'name' => 'UI_path_domain_id',
c3fc2621 589 'field' => [
e7a6b91a
AS
590 0 => 'path',
591 1 => 'domain_id',
c3fc2621
CW
592 ],
593 'localizable' => FALSE,
594 'unique' => TRUE,
e7a6b91a 595 'sig' => 'civicrm_menu::1::path::domain_id',
c3fc2621
CW
596 ],
597 ];
e7a6b91a
AS
598 return ($localize && !empty($indices)) ? CRM_Core_DAO_AllCoreTables::multilingualize(__CLASS__, $indices) : $indices;
599 }
c3fc2621 600
e501603b 601}