Location: PHPKode > projects > PHP on Trax > johnpipi-trax-f599562/trax/test/config/routes.php
<?php
/**
 *  Test routes table
 *
 *  @package PHPonTraxTest
 *  @license http://opensource.org/licenses/gpl-license.php GNU Public License
 *  @copyright (c) Walter O. Haas 2006
 *  @version $Id$
 *  @author Walt Haas <hide@address.com>
 */
$router->connect( "products/:id",
                   array(":controller" => "catalog",
                         ":action"     => "view") ); 
$router->connect( ":controller/:action/:id" );

// -- set Emacs parameters --
// Local variables:
// tab-width: 4
// c-basic-offset: 4
// c-hanging-comment-ender-p: nil
// indent-tabs-mode: nil
// End:
?>
Return current item: PHP on Trax