• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/classes/general/main.php
  • Класс: CAllMain
  • Вызов: CAllMain::GetLink
public function GetLink($id, $rel = null, $bXhtmlStyle = true)
{
	if($rel === null)
	{
		$rel = $id;
	}
	$href = $this->GetProperty($id);
	if($href <> '')
	{
		return ''."n";
	}
	return '';
}