• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/orm/query/chainelement.php
  • Класс: BitrixMainORMQueryChainElement
  • Вызов: ChainElement::isBackReference
public function isBackReference()
{
	if ($this->type === 3 || $this->value instanceof OneToMany || $this->value instanceof ManyToMany)
	{
		return true;
	}

	if ($this->value instanceof ExpressionField)
	{
		foreach ($this->value->getBuildFromChains() as $bfChain)
		{
			if ($bfChain->hasBackReference())
			{
				return true;
			}
		}
	}

	return false;
}