• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/basketitembase.php
  • Класс: BitrixSaleBasketItemBase
  • Вызов: BasketItemBase::addInternal
protected function addInternal(array $fields);

/**
 * @param $primary
 * @param array $fields
 * @return MainEntityUpdateResult
 */
abstract protected function updateInternal($primary, array $fields);

/**
 * @return bool
 * @throws MainArgumentException
 * @throws MainArgumentNullException
 * @throws MainArgumentTypeException
 * @throws MainNotImplementedException
 * @throws MainObjectNotFoundException
 * @throws MainSystemException
 */
public function isChanged()
{
	$isChanged = parent::isChanged();

	if ($isChanged === false)
	{
		$propertyCollection = $this->getPropertyCollection();
		$isChanged = $propertyCollection->isChanged();
	}

	return $isChanged;
}