Documentation

COption Class

COption class is used to handle the module parameters, stored in the database.

Usually, module settings can be customized in the administrative interface (in the settings of the corresponding modules).

Class methods

Method Description Available from version
GetOptionString Returns string value of the parameter.
SetOptionString Sets string value of the parameter.
GetOptionInt Returns numeric value of the parameter.
SetOptionInt Sets numeric value of the parameter.
RemoveOption Removes parameter from the database.

See Also



© «Bitrix24», 2001-2024
Up