int CPageOption::GetOptionInt( string module_id, string page_option_id, mixed default_value = false )
The GetOptionInt method returns the numeric value of the parameter page_option_id, belonging to module_id.
Parameter | Description |
---|---|
module_id | Module ID. |
page_option_id | A page parameter ID. |
default_value | Default value. |
<? $my_parameter = CPageOption::GetOptionInt("main", "MY_PARAMETER", 21); ?>
© 2001-2005 Bitrix | Bitrix Site Manager - Content Management & Portal Solutions |