[ Index ]
 

Code source de CakePHP 1.1.13.4450

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/cake/libs/ -> router.php (sommaire)

Parses the request URL into controller, action, and parameters. PHP versions 4 and 5

Copyright: Copyright 2005-2007, Cake Software Foundation, Inc.
License: http://www.opensource.org/licenses/mit-license.php The MIT License
Version: $Revision: 4409 $
Poids: 206 lignes (6 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

Router:: (3 méthodes):
  __construct()
  connect()
  parse()


Classe: Router  - X-Ref

Parses the request URL into controller, action, and parameters.

__construct()   X-Ref
Constructor


connect($route, $default = null)   X-Ref
Returns this object's routes array. Returns false if there are no routes available.

param: string $route    An empty string, or a route string "/"
param: array $default NULL or an array describing the default route
return: array Array of routes

parse($url)   X-Ref
Parses given URL and returns an array of controllers, action and parameters
taken from that URL.

param: string $url URL to be parsed
return: array



Généré le : Sun Feb 25 19:27:47 2007 par Balluche grâce à PHPXref 0.7