• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/compatible/internals/entitycompatibility.php
  • Класс: BitrixSaleCompatibleInternalsEntityCompatibility
  • Вызов: EntityCompatibility::setGroup
public function setGroup($group = null)
{
	if (is_array($group))
	{
		if (empty($group))
		{
			$this->select = array();
			$this->group = $group;
		}
		else
		{
			foreach($group as $fieldName => $fieldValue)
			{
				if ($propKey = $this->parseField($fieldName))
				{
					$this->group[$propKey] = $fieldValue;
				}
				else
				{
					$this->group[$fieldName] = $fieldValue;
				}
			}
		}
	}
}