GetTitle
string CMain::GetTitle( mixed property_name = false, bool strip_tags = false )
The method returns the page title. Non-static method.
Parameters
Parameter | Description | Available from version |
---|---|---|
property_name | If false: title page is returned, defined via the SetTitle method. Otherwise, the page property ID is passed in the parameter, which value will be printed as the title (effective, for example, if this value is specified via the CMain::SetPageProperty method). Optional parameter; false by default. | |
strip_tags | If true, then all HTML tag will be deleted from the page title. Optional parameter; false by default. |
See Also
© «Bitrix24», 2001-2024