• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/orm/fields/relations/relation.php
  • Класс: BitrixMainORMFieldsRelationsRelation
  • Вызов: Relation::configureJoinType
public function configureJoinType($type)
{
	$type = strtoupper($type);

	if (!in_array($type, Join::getTypes(), true))
	{
		throw new ArgumentException(sprintf(
			'Unknown join type `%s` in reference `%s` of `%s` entity',
			$type, $this->name, $this->entity->getDataClass()
		));
	}

	$this->joinType = $type;

	return $this;
}