Bitrix Site Manager

CMain::AddChainItem

CMain::AddChainItem(
 string title,
 string url = "",
 bool convert_html_entity = true
)

The method AddChainItem adds an item to the end of the navigation chain.

Parameters

ParameterDescription
title Text of a new item in the navigation chain.
url URL to assign to the new item of the navigation chain.
convert_html_entity If set to true, the title string will have the following replacements made:
  • & with &
  • " with "
  • ' with '
  • &lt; with <
  • &gt; with >
If false, no replacements are made. Optional; true by default.

See Also

Example



<?
$APPLICATION->AddChainItem("Forum &quot;Comments&quot;", "/en/forum/list.php?FID=3");
?>