function query_parameters_to_url_encoded_query_parameter_values_string_is_array in Query Parameters To URL 7
Checks if an encoded query parameter values string is an array.
1 call to query_parameters_to_url_encoded_query_parameter_values_string_is_array()
- query_parameters_to_url_decode_query_parameter_values in ./
query_parameters_to_url.module - Decodes a query parameter values string into its array form.
File
- ./
query_parameters_to_url.module, line 361 - Query Arguments To URL module.
Code
function query_parameters_to_url_encoded_query_parameter_values_string_is_array($string) {
// Simple check if delimiters are present.
$nested_values_delimiter = query_parameters_to_url_nested_values_delimiter();
$nested_key_delimiter = query_parameters_to_url_nested_key();
if (strpos($string, $nested_values_delimiter) !== FALSE || strpos($string, $nested_key_delimiter) !== FALSE) {
return TRUE;
}
return FALSE;
}