Bitrix Site Manager

CMain::GetPageProperty

string
CMain::GetPageProperty(
 string property_id,
 mixed default_value = false
)

The method GetPageProperty returns the value of a property of the current page .

Parameters

ParameterDescription
property_id Property identifier.
default_value Default value of the property.
Optional; the default value is false which means no default value is assigned.

See Also

Example



<?
$APPLICATION->GetPageProperty("keywords");
?>