Development

Changeset 7457

You must first sign up to be able to contribute.

Changeset 7457

Show
Ignore:
Timestamp:
02/11/08 08:11:29 (8 months ago)
Author:
fabien
Message:

added a routing.load_configuration event

Files:

Legend:

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

    r7426 r7457  
    4848 
    4949  /** 
    50    * Loads routing configuration. 
     50   * @see sfRouting 
    5151   */ 
    5252  public function loadConfiguration() 
     
    5656      include($config); 
    5757    } 
     58 
     59    parent::loadConfiguration(); 
    5860  } 
    5961 
  • branches/1.1/lib/routing/sfRouting.class.php

    r6663 r7457  
    7575 
    7676  /** 
     77   * Loads routing configuration. 
     78   * 
     79   * This methods notifies a routing.load_configuration event. 
     80   */ 
     81  public function loadConfiguration() 
     82  { 
     83    $this->dispatcher->notify(new sfEvent($this, 'routing.load_configuration')); 
     84  } 
     85 
     86  /** 
    7787   * Gets the internal URI for the current request. 
    7888   *