function _owl_string_to_array in Multipurpose Corporate Profile 8
Convert a string of settings to array.
Parameters
$str:
Return value
string
1 call to _owl_string_to_array()
- _owl_format_settings in modules/
contrib/ owl/ owl.module - return formatted js array of settings
File
- modules/
contrib/ owl/ owl.module, line 195 - Contains owl.module..
Code
function _owl_string_to_array($str) {
$str = trim($str);
$str = str_replace('[', '', $str);
$str = str_replace(']', '', $str);
$str = explode(',', $str);
return $str;
}