Development

Changeset 12146

You must first sign up to be able to contribute.

Changeset 12146

Show
Ignore:
Timestamp:
10/11/08 17:53:58 (6 years ago)
Author:
fabien
Message:

[1.2] changed sfPatternRouting connect method collection to accept a sfRoute or sfRouteCollection as an argument

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.2/lib/routing/sfPatternRouting.class.php

    r11806 r12146  
    170170   * @see connect 
    171171   */ 
    172   public function prependRoute($name, sfRoute $route) 
     172  public function prependRoute($name, $route) 
    173173  { 
    174174    $routes = $this->routes; 
     
    187187   * @see connect 
    188188   */ 
    189   public function appendRoute($name, sfRoute $route) 
     189  public function appendRoute($name, $route) 
    190190  { 
    191191    return $this->connect($name, $route); 
     
    197197   * @see connect 
    198198   */ 
    199   public function insertRouteBefore($pivot, $name, sfRoute $route) 
     199  public function insertRouteBefore($pivot, $name, $route) 
    200200  { 
    201201    if (!isset($this->routes[$pivot]))