• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/orm/fields/relations/manytomany.php
  • Класс: BitrixMainORMFieldsRelationsManyToMany
  • Вызов: ManyToMany::configureMediatorEntity
public function configureMediatorEntity($entity)
{
	if ($entity instanceof Entity)
	{
		$this->mediatorEntity = $entity;
		$this->mediatorEntityName = $entity->getFullName();
	}
	else
	{
		// this one could be without leading backslash and/or with Table-postfix
		$this->mediatorEntityName = Entity::normalizeName($entity);
	}

	return $this;
}