Пример #1
0
function NewsfeedsParseRoute($segments)
{
    $router = new NewsfeedsRouter();
    return $router->parse($segments);
}
Пример #2
0
/**
 * newsfeedsParseRoute
 *
 * @param   array  $segments  The segments of the URL to parse.
 *
 * @return array
 *
 * @deprecated  4.0  Use Class based routers instead
 */
function newsfeedsParseRoute($segments)
{
    $app = JFactory::getApplication();
    $router = new NewsfeedsRouter($app, $app->getMenu());
    return $router->parse($segments);
}