Controller_Routing_RouteRepresents a complete route in the system. A route is comprised of one or more segments.
Located in /controller/lib/Controller/Routing/Route.php (line 10)
Controller_Routing_Route
__construct
([int $position = null], [Controller_Routing_Segment $segments = null], [array $constraints = array()], [array $defaults = array()], [string $name = null])
Constructor __construct (line 27)
Constructor
constraints (line 60)
Return this route's constraints
defaults (line 78)
Return this route's default parameters
first_segment (line 114)
Return this route's first segment
match (line 135)
Determine if this route matches the given URL
name (line 96)
Return this route's name
passes_method_constraints (line 225)
Tests if a request method matches any constraints set on this route
passes_parameter_constraints (line 250)
Tests if a request method matches any parameter constraints set on this route
position (line 42)
Return this route's position
set_constraints (line 69)
Set this route's constraints
set_defaults (line 87)
Set this route's default parameters
set_first_segment (line 123)
Set this route's first segment
set_name (line 105)
Set this route's name
set_position (line 51)
Set this route's position
url_for (line 169)
Essentially the opposite of match(), this attempts to build a URL from a set of parameters. It returns the constructed URL on success, or false on failure.
Documentation generated on Wed, 25 Apr 2012 09:46:45 -0700 by phpDocumentor 1.4.3