Changeset 32663 for plugins/sfPinbaPlugin
- Timestamp:
- 06/21/11 20:19:48 (2 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
plugins/sfPinbaPlugin/trunk/lib/filter/sfPinbaStartFilter.class.php
r32021 r32663 3 3 * Symfony Filter Class sfPinbaStopFilter 4 4 * This class will START the pinba timer for the request 5 * @author cedric LOMBARDOT 5 6 */ 6 7 class sfPinbaStartFilter extends sfFilter … … 12 13 public function execute($filterChain) 13 14 { 14 15 15 // Filters don't have direct access to the request and user objects. 16 16 // You will need to use the context object to get them … … 20 20 //start pinba 21 21 sfPinbaContext::getInstance()->startTimerForRequest(); 22 23 22 24 23 // Execute next filter 25 $filterChain->execute(); 24 $filterChain->execute(); 26 25 } 27 26 }