Changeset 6510
- Timestamp:
- 12/15/07 17:19:27 (9 months ago)
- Files:
-
- trunk/lib/request/sfWebRequest.class.php (modified) (1 diff)
- trunk/lib/routing/sfRouting.class.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lib/request/sfWebRequest.class.php
r5494 r6510 798 798 try 799 799 { 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(); 801 801 } 802 802 catch (sfError404Exception $e) trunk/lib/routing/sfRouting.class.php
r6490 r6510 67 67 68 68 $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')); 70 70 } 71 71 … … 166 166 167 167 /** 168 * Listens to the request. load_parameters event.168 * Listens to the request.filter_parameters event. 169 169 * 170 170 * @param sfEvent An sfEvent instance 171 171 * 172 172 */ 173 public function listenToLoadParametersInfoEvent(sfEvent $event, $parameters)173 public function filterParametersEvent(sfEvent $event, $parameters) 174 174 { 175 175 return array_merge($parameters, $this->parse($event['path_info']));