Documentation

SetDirProperty

CMain::SetDirProperty(
 string property_id,
 string property_value, 
 string path=false
)

The method sets the value of the property for the current section. Non-static method.

Parameters

ParameterDescription Available from version
property_id Property ID.
property_value Property value.
path Path to the page. Optional parameter. By default the value is false, meaning the current value.

See Also

Examples of use

<?
$APPLICATION->SetDirProperty("keywords", "design, web, site");
?>


© «Bitrix24», 2001-2022
Up