• Модуль: seo
  • Путь к файлу: ~/bitrix/modules/seo/lib/robotsfile.php
  • Класс: BitrixSeoRobotsFile
  • Вызов: RobotsFile::getSection
protected function getSection($section)
{
	$section = ToUpper($section);
	foreach($this->contents as $currentAgent => $arRules)
	{
		if(ToUpper($currentAgent) == $section)
		{
			return $arRules;
		}
	}

	return array();
}