Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
attributemanager.php
1<?php
2
3namespace Bitrix\Conversion;
4
6{
7 static protected $event = 'OnGetAttributeTypes';
8 static protected $types = array();
9 static protected $ready = false;
10 static protected $checkModule = true;
11
12 static public function getGroupedTypes()
13 {
14 static $groupedTypes = array();
15
16 if (! $groupedTypes)
17 {
18 foreach (self::getTypes() as $name => $type)
19 {
20 $groupedTypes[$type['GROUP']][$name] = $type;
21 }
22 }
23
24 return $groupedTypes;
25 }
26}