bool CPageOption::SetOptionInt( string module_id, string page_option_id, mixed value = "" )
The SetOptionInt method sets the numeric value of the parameter page_option_id for the module_id. Returns true on success, or false otherwise.
Parameter | Description |
---|---|
module_id | Module ID. |
page_option_id | A page parameter ID. |
value | Parameter value. Optional. Empty by default. |
<? CPageOption::SetOptionInt("main", "MY_PARAMETER", 2); ?>
© 2001-2005 Bitrix | Bitrix Site Manager - Content Management & Portal Solutions |