• Модуль: report
  • Путь к файлу: ~/bitrix/modules/report/lib/visualconstructor/helper/row.php
  • Класс: BitrixReportVisualConstructorHelperRow
  • Вызов: Row::getRowDefaultEntity
static function getRowDefaultEntity($params)
{
	if (!isset($params['cellIds']))
	{
		$parameter = 'cellIds';
		throw new ArgumentException($parameter);
	}

	$cellsIds = $params['cellIds'];
	$weight = isset($params['weight']) ? $params['weight'] : 0;
	$row = new DashboardRow();
	$layoutMap = self::getDefaultRowLayoutMap($cellsIds);
	$row->setLayoutMap($layoutMap);
	$row->setGId(Util::generateUserUniqueId());
	$row->setWeight($weight);

	return $row;
}