• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/entitypropertyvaluecollection.php
  • Класс: BitrixSaleEntityPropertyValueCollection
  • Вызов: EntityPropertyValueCollection::setValuesFromPost
public function setValuesFromPost($post, $files)
{
	$post = File::getPostWithFiles($post, $files);

	$result = new Result();

	/** @var EntityPropertyValue $property */
	foreach ($this->collection as $property)
	{
		$r = $property->setValueFromPost($post);
		if (!$r->isSuccess())
		{
			$result->addErrors($r->getErrors());
		}
	}

	return $result;
}