Documentation

AddChainItem

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

The method adds an item to the end of the navigation chain. Non-static method.

Parameters

ParameterDescription
title Title of the added item in the navigation chain.
link URL to assign to the new item of the navigation chain.
convert_html_entity If 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

Examples of use

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


© «Bitrix24», 2001-2024
Up