/** * Contact router functions * * These functions are proxys for the new router interface * for old SEF extensions. * * @param array &$query An array of URL arguments * * @return array The URL arguments to use to assemble the subsequent URL. * * @deprecated 4.0 Use Class based routers instead */ function ContactBuildRoute(&$query) { $router = new ContactRouter(); return $router->build($query); }
/** * Contact router functions * * These functions are proxys for the new router interface * for old SEF extensions. * * @param array &$query An array of URL arguments * * @return array The URL arguments to use to assemble the subsequent URL. * * @deprecated 4.0 Use Class based routers instead */ function ContactBuildRoute(&$query) { $app = JFactory::getApplication(); $router = new ContactRouter($app, $app->getMenu()); return $router->build($query); }