<?php
/**
* @package Joomla.Administrator
* @subpackage Application
* @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// No direct access
defined('JPATH_BASE') or die;
/**
* Class to create and parse routes
*
* @package Joomla.Administrator
* @since 1.5
*/
class JRouterAdministrator extends JRouter
{
/**
* Function to convert a route to an internal URI
*/
public function parse(&$uri)
{
return array();
}
/**
* Function to convert an internal URI to a route
*
* @param string $uri The internal URL
*
* @return string The absolute search engine friendly URL
* @since 1.5
*/
function build($url)
{
// Create the URI object
$uri = parent::build($url);
// Get the path data
$route = $uri->getPath();
//Add basepath to the uri
$uri->setPath(JURI::base(true).'/'.$route);
return $uri;
}
}
| nama | waktu | ukuran | owner | perm | aksi |
|---|---|---|---|---|---|
| .. | |||||
| application.php | 2014-04-14 19:50 | 8.42 KB | 76129f60960:kunden | -xw-x----- | |
| defines.php | 2014-04-14 19:50 | 963 B | 76129f60960:kunden | -xw-x----- | |
| framework.php | 2014-04-14 19:50 | 2.24 KB | 76129f60960:kunden | -xw-x----- | |
| helper.php | 2014-04-14 19:50 | 880 B | 76129f60960:kunden | -xw-x----- | |
| index.html | 2014-04-14 19:50 | 31 B | 76129f60960:kunden | -xw-x----- | |
| menu.php | 2014-04-14 19:50 | 373 B | 76129f60960:kunden | -xw-x----- | |
| router.php | 2014-04-14 19:50 | 960 B | 76129f60960:kunden | -xw-x----- | |
| toolbar.php | 2014-04-14 19:50 | 17.2 KB | 76129f60960:kunden | -xw-x----- | |