• Модуль: conversion
  • Путь к файлу: ~/bitrix/modules/conversion/lib/generatorcontext.php
  • Класс: BitrixConversionGeneratorContext
  • Вызов: GeneratorContext::appendCounters
static function appendCounters(array & $one, array $two)
{
	foreach ($two as $name => $value)
	{
		if ($counter =& $one[$name])
		{
			$counter += $value;
		}
		else
		{
			$counter = $value;
		}
	}
}