CoreFiles by mySites.guru
router.php48 lines, 883 bytes, from Joomla_3.2.0-Stable-Full_Package.zip
Raw History Compare with 3.1.6
md5
3175bc4818d9e3921e3284095559b1fd
sha1
739840f944e5c9978c3c94a640d5aef51be19037
sha256
9917516b241a9607674a9e8dc70ea17623ad9a5078251a58f4546c47941407dd
<?php
/**
 * @package    Joomla.Installation
 *
 * @copyright  Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
 * @license    GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

/**
 * Class to create and parse routes
 *
 * @package  Joomla.Installation
 * @since    1.5
 */
class JRouterInstallation extends JRouter
{
	/**
	 * Function to convert a route to an internal URI
	 *
	 * @param   JUri  $url  The uri.
	 *
	 * @return  boolean
	 *
	 * @since   1.5
	 */
	public function parse($url)
	{
		return true;
	}

	/**
	 * Function to convert an internal URI to a route
	 *
	 * @param   string  $url  The internal URL
	 *
	 * @return  string  The absolute search engine friendly URL
	 *
	 * @since   1.5
	 */
	public function build($url)
	{
		$url = str_replace('&amp;', '&', $url);

		return new JUri($url);
	}
}

The same content is in 2 releases, Joomla 3.2.0 to 3.2.1. See them all, or every version of this file.