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
Parameter | Description |
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 '
- < with <
- > with >
If false, no replacements are made. Optional; true by default. |
See Also
Example
<?
$APPLICATION->AddChainItem("Forum "Comments"", "/en/forum/list.php?FID=3");
?>