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
Parameter | Description | 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
- CMain::ShowProperty
- CMain::GetProperty
- CMain::GetPageProperty
- CMain::GetDirProperty
- CMain::GetPagePropertyList
- CMain::GetDirPropertyList
- CMain::SetPageProperty
Examples of use
<? $APPLICATION->SetDirProperty("keywords", "design, web, site"); ?>
© «Bitrix24», 2001-2024