コード例 #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
ファイル: router.php プロジェクト: eshiol/joomla-cms
/**
 * 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);
}