Your IP : 216.73.216.86


Current Path : /var/www/homesaver/www/bitrix/modules/conversion/lib/
Upload File :
Current File : /var/www/homesaver/www/bitrix/modules/conversion/lib/attributemanager.php

<?php

namespace Bitrix\Conversion;

final class AttributeManager extends Internals\TypeManager
{
	static protected $event = 'OnGetAttributeTypes';
	static protected $types = array();
	static protected $ready = false;
	static protected $checkModule = true;

	static public function getGroupedTypes()
	{
		static $groupedTypes = array();

		if (! $groupedTypes)
		{
			foreach (self::getTypes() as $name => $type)
			{
				if (isset($type['GROUP']))
				{
					$groupedTypes[$type['GROUP']][$name] = $type;
				}
			}
		}

		return $groupedTypes;
	}
}