• Модуль: seo
  • Путь к файлу: ~/bitrix/modules/seo/lib/engine/yandex.php
  • Класс: BitrixSeoEngineYandex
  • Вызов: Yandex::getSiteInfoGeneral
private function getSiteInfoGeneral($domain)
{
	$domain = ToLower($domain);
	$hostId = $this->getHostId($domain);
	
	$serviceUrl = $this->getServiceUrl($this->userId, $hostId);
	$queryResult = $this->query($serviceUrl, 'GET');
	
	if ($queryResult->getStatus() == self::HTTP_STATUS_OK && $queryResult->getResult() <> '')
		return Json::decode($queryResult->getResult());
	else
		throw new EngineYandexException($queryResult);
}