function accordion_menu_boolean_option in Accordion Menu 6
Same name and namespace in other branches
- 7 includes/view.inc \accordion_menu_boolean_option()
Returns string representation of boolean option.
Parameters
string $boolean: A boolean value.
Return value
string A string representation of the boolean value.
1 call to accordion_menu_boolean_option()
- accordion_menu_js_settings in includes/
view.inc - Returns jQuery UI accordion settings.
File
- includes/
view.inc, line 132 - Provides view routines.
Code
function accordion_menu_boolean_option($boolean) {
return $boolean ? 'true' : 'false';
}