• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/orm/objectify/entityobject.php
  • Класс: BitrixMainORMObjectifyEntityObject
  • Вызов: EntityObject::sysResetRelation
public function sysResetRelation($fieldName)
{
	$fieldName = StringHelper::strtoupper($fieldName);

	if (isset($this->_actualValues[$fieldName]))
	{
		/** @var Collection $collection */
		$collection = $this->_actualValues[$fieldName];
		$collection->sysResetChanges(true);
	}

	return $this;
}