Show
Ignore:
Timestamp:
02/23/06 20:09:13 (6 years ago)
Author:
john
Message:

added in phpDoc commenting tests docs - Walt

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/trax/config/routes.php

    r117 r138  
    11<?php                        
    2 # Add your own custom routes here. 
    3 # The priority is based upon order of creation: first created -> highest priority. 
    4  
    5 # Here's a sample route: 
    6 # $router->connect( "products/:id", array(":controller" => "catalog", ":action" => "view") ); 
    7  
    8 # You can have the root of your site routed by hooking up "". 
    9 # Just remember to delete public_html/index.html. 
    10 # $router->connect( "", array(":controller" => "welcome") ); 
    11  
    12 # Install the default route as the lowest priority. 
     2/** 
     3 *  Add your own custom routes here. 
     4 *  The priority is based upon order of creation: first created -> 
     5 *  highest priority.  
     6 * 
     7 *  Here's a sample route: 
     8 *  $router->connect( "products/:id", 
     9 *                    array(":controller" => "catalog", 
     10 "                    :action" => "view") );  
     11 * 
     12 *  You can have the root of your site routed by hooking up "". 
     13 *  Just remember to delete public_html/index.html. 
     14 *  $router->connect( "", array(":controller" => "welcome") ); 
     15 * 
     16 *  Install the default route as the lowest priority. 
     17 * 
     18 *  @package PHPonTrax 
     19 */ 
    1320$router->connect( ":controller/:action/:id" ); 
    1421