/**
 * Prepare-method for URLs
 * This method is meant to validate and complete the URL parameters.
 * For example it can add the Itemid or set a language parameter.
 * This method is executed on each URL, regardless of SEF mode switched
 * on or not.
 *
 * @param   array  $query  An associative array of URL arguments
 *
 * @return  array  The URL arguments to use to assemble the subsequent URL.
 *
 * @since   3.3
 */
public function preprocess($query);