Пример #1
0
function DemoParseRoute($segments)
{
    $router = new ContentRouter();
    return $router->parse($segments);
}
Пример #2
0
function ComponentbuilderParseRoute($segments)
{
    $router = new ContentRouter();
    return $router->parse($segments);
}
Пример #3
0
/**
 * Parse the segments of a URL.
 *
 * This function is a proxy 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.
 *
 * @since   3.3
 * @deprecated  4.0  Use Class based routers instead
 */
function contentParseRoute($segments)
{
    $app = JFactory::getApplication();
    $router = new ContentRouter($app, $app->getMenu());
    return $router->parse($segments);
}