• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/internals/input.php
  • Класс: BitrixSaleInternalsInputFile
  • Вызов: File::getPostWithFilesRecursive
static function getPostWithFilesRecursive(array &$root, array $values, $property)
{
	foreach ($values as $key => $value)
	{
		if (! is_array($root[$key]))
			$root[$key] = array();

		if (is_array($value))
			self::getPostWithFilesRecursive($root[$key], $value, $property);
		else
			$root[$key][$property] = $value;
	}
}