string CPageOption::GetOptionString( string module_id, string page_option_id, mixed default_value = false )
The GetOptionString method returns the string 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::GetOptionString("main", "MY_PARAMETER", "Y"); ?>
© 2001-2005 Bitrix | Bitrix Site Manager - Content Management & Portal Solutions |