and::getConnectorDataByEntityType

  1. Bitrix24 API (v. 23.675.0)
  2. vote
  3. and
  4. getConnectorDataByEntityType
  • Модуль: vote
  • Путь к файлу: ~/bitrix/modules/vote/lib/uf/manager.php
  • Класс: BitrixVoteUfand
  • Вызов: and::getConnectorDataByEntityType
public function getConnectorDataByEntityType($entityType)
{
	$defaultConnectors = $this->getDefaultConnectors();
	$entityType = mb_strtolower($entityType);

	if(isset($defaultConnectors[$entityType]))
		return $defaultConnectors[$entityType];
	if (($connector = $this->getAdditionalConnector($entityType)) !== null)
		return $connector;
	return array(DefaultConnector::className(), 'vote');
}

Добавить комментарий