CoreFiles by mySites.guru
router.php48 lines, 883 bytes, from Joomla_3.2.2-Stable-Full_Package.zip
Raw History Compare with 3.2.1
md5
ab186f51c83ffc46487b70fdd0013d73
sha1
9f50d20ec06b30fa7b9456baea4b25de7e86a364
sha256
d515f75eea5e94fe0cbcf7d352cddeac6979cc9ac8b8eebd05de8575910f869f
<?php
/**
 * @package    Joomla.Installation
 *
 * @copyright  Copyright (C) 2005 - 2014 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 13 releases, Joomla 3.2.2 to 3.3.6. See them all, or every version of this file.