Development

Changeset 6510

You must first sign up to be able to contribute.

Changeset 6510

Show
Ignore:
Timestamp:
12/15/07 17:19:27 (9 months ago)
Author:
fabien
Message:

renamed event request.load_parameters to request.filter_parameters (all filter events are prefixed with filter_)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib/request/sfWebRequest.class.php

    r5494 r6510  
    798798    try 
    799799    { 
    800       $parameters = $this->dispatcher->filter(new sfEvent($this, 'request.load_parameters', array('path_info' => $this->getPathInfo())), $parameters)->getReturnValue(); 
     800      $parameters = $this->dispatcher->filter(new sfEvent($this, 'request.filter_parameters', array('path_info' => $this->getPathInfo())), $parameters)->getReturnValue(); 
    801801    } 
    802802    catch (sfError404Exception $e) 
  • trunk/lib/routing/sfRouting.class.php

    r6490 r6510  
    6767 
    6868    $this->dispatcher->connect('user.change_culture', array($this, 'listenToChangeCultureEvent')); 
    69     $this->dispatcher->connect('request.load_parameters', array($this, 'listenToLoadParametersInfoEvent')); 
     69    $this->dispatcher->connect('request.filter_parameters', array($this, 'filterParametersEvent')); 
    7070  } 
    7171 
     
    166166 
    167167  /** 
    168    * Listens to the request.load_parameters event. 
     168   * Listens to the request.filter_parameters event. 
    169169   * 
    170170   * @param sfEvent An sfEvent instance 
    171171   * 
    172172   */ 
    173   public function listenToLoadParametersInfoEvent(sfEvent $event, $parameters) 
     173  public function filterParametersEvent(sfEvent $event, $parameters) 
    174174  { 
    175175    return array_merge($parameters, $this->parse($event['path_info']));