CoreFiles by mySites.guru
interface.php61 lines, 2,057 bytes, from Joomla_3.4.0-alpha-Alpha-Full_Package.zip
Raw History Compare with 3.3.6
md5
7740ebcd12369e02b34871b43aeefad7
sha1
7f22a5d447e98b3401d32ed3d4fe60b60676aae7
sha256
fa4da1b83a431c0ff3587909f894ae73ba9bd5424b27ff18ca7625f6d3c42811
<?php
/**
 * @package     Joomla.Libraries
 * @subpackage  Component
 *
 * @copyright   Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE
 */

/**
 * JComponentRouterRules interface for Joomla
 *
 * @since  3.4
 */
interface JComponentRouterRulesInterface
{
	/**
	 * Prepares a query set to be handed over to the build() method.
	 * This should complete a partial query set to work as a complete non-SEFed
	 * URL and in general make sure that all information is present and properly
	 * formatted. For example, the Itemid should be retrieved and set here.
	 * 
	 * @param   JComponentRouterInterface  &$router  The calling router object
	 * @param   array                      &$query   The query array to process
	 * 
	 * @return  void
	 * 
	 * @since   3.4
	 */
	public function preprocess(JComponentRouterInterface &$router, &$query);

	/**
	 * Parses an URI to retrieve informations for the right route through
	 * the component.
	 * This method should retrieve all its input from its method arguments.
	 *
	 * @param   JComponentRouterInterface  &$router    The calling router object
	 * @param   array                      &$segments  The URL segments to parse
	 * @param   array                      &$vars      The vars that result from the segments
	 *
	 * @return  void
	 *
	 * @since   3.4
	 */
	public function parse(JComponentRouterInterface &$router, &$segments, &$vars);

	/**
	 * Builds URI segments from a query to encode the necessary informations
	 * for a route in a human-readable URL.
	 * This method should retrieve all its input from its method arguments.
	 *
	 * @param   JComponentRouterInterface  &$router    The calling router object
	 * @param   array                      &$query     The vars that should be converted
	 * @param   array                      &$segments  The URL segments to create
	 *
	 * @return  void
	 *
	 * @since   3.4
	 */
	public function build(JComponentRouterInterface &$router, &$query, &$segments);
}

No other release has this exact content. See every version of this file.