function tep_sort_parameter_string($string) { $tmp_array = tep_get_string_parameters($string); ksort($tmp_array); $string = tep_params_to_string($tmp_array); return $string; }
function get_columns() { extract(tep_load('sessions')); $columns =& $cSessions->register('abstract_th', $this->columns_array); if (empty($columns)) { $columns = $this->columns_array; } $output = tep_params_to_string($columns); echo $output; $cSessions->close(); }
function convert_to_get($exclude_array = array(), $include_array = array()) { $tmp_array = $this->get_array; foreach ($exclude_array as $value) { unset($tmp_array[$value]); } foreach ($include_array as $key => $value) { $tmp_array[$key] = $value; } ksort($tmp_array); return tep_params_to_string($tmp_array); }