예제 #1
0
파일: router.php 프로젝트: adjaika/J3Base
/**
 * Users router functions
 *
 * These functions are proxys for the new router interface
 * for old SEF extensions.
 *
 * @param   array  &$query  REQUEST query
 *
 * @return  array  Segments of the SEF url
 *
 * @deprecated  4.0  Use Class based routers instead
 */
function usersBuildRoute(&$query)
{
    $router = new UsersRouter();
    return $router->build($query);
}
예제 #2
0
/**
 * Users router functions
 *
 * These functions are proxys for the new router interface
 * for old SEF extensions.
 *
 * @param   array  &$query  REQUEST query
 *
 * @return  array  Segments of the SEF url
 *
 * @deprecated  4.0  Use Class based routers instead
 */
function usersBuildRoute(&$query)
{
    $app = JFactory::getApplication();
    $router = new UsersRouter($app, $app->getMenu());
    return $router->build($query);
}