/** * Contact router functions * * These functions are proxys for the new router interface * for old SEF extensions. * * @param array &$segments The segments of the URL to parse. * * @return array The URL attributes to be used by the application. * * @deprecated 4.0 Use Class based routers instead */ function ContactParseRoute($segments) { $router = new ContactRouter(); return $router->parse($segments); }
/** * Contact router functions * * These functions are proxys for the new router interface * for old SEF extensions. * * @param array $segments The segments of the URL to parse. * * @return array The URL attributes to be used by the application. * * @deprecated 4.0 Use Class based routers instead */ function ContactParseRoute($segments) { $app = JFactory::getApplication(); $router = new ContactRouter($app, $app->getMenu()); return $router->parse($segments); }