[ Index ] |
|
Code source de PHPonTrax 2.6.6-svn |
1 <?php 2 /** 3 * Configuration file to define URL to action mapping 4 * 5 * This file contains one or more PHP statements that call 6 * {@link Router::connect() $router->connect()} to add routes to the 7 * route table stored in the {@link Router} object pointed to by 8 * $router. 9 * 10 * Add your own custom routes here. 11 * The priority is based upon order of creation: first created -> 12 * highest priority. 13 * 14 * Here's a sample route: 15 * $router->connect( "products/:id", 16 * array(":controller" => "catalog", 17 " :action" => "view") ); 18 * 19 * You can have the root of your site routed by hooking up "". 20 * Just remember to delete public_html/index.html. 21 * $router->connect( "", array(":controller" => "welcome") ); 22 * 23 * Install the default route as the lowest priority. 24 * 25 * @package PHPonTrax 26 * $Id: routes.php 199 2006-05-05 01:52:43Z haas $ 27 */ 28 $router->connect( ":controller/:action/:id" ); 29 30 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sun Feb 25 20:04:38 2007 | par Balluche grâce à PHPXref 0.7 |