root/trunk/src/main/php/net/stubbles/ipo/interceptors/stubPreInterceptor.php

Revision 1281, 1.0 kB (checked in by mikey, 4 months ago)

code nazi :)

Line 
1 <?php
2 /**
3  * interface for preinterceptors
4  *
5  * @author      Frank Kleine <mikey@stubbles.net>
6  * @package     stubbles
7  * @subpackage  ipo_interceptors
8  */
9 stubClassLoader::load('net::stubbles::ipo::request::stubRequest',
10                       'net::stubbles::ipo::response::stubResponse',
11                       'net::stubbles::ipo::session::stubSession'
12 );
13 /**
14  * interface for preinterceptors
15  *
16  * Preinterceptors are called after all initializations have been done and
17  * before processing of data starts.
18  *
19  * @package     stubbles
20  * @subpackage  ipo_interceptors
21  */
22 interface stubPreInterceptor extends stubObject
23 {
24     /**
25      * does the preprocessing stuff
26      *
27      * @param  stubRequest   $request   access to request data
28      * @param  stubSession   $session   access to session data
29      * @param  stubResponse  $response  access to response data
30      */
31     public function preProcess(stubRequest $request, stubSession $session, stubResponse $response);
32 }
33 ?>
Note: See TracBrowser for help on using the browser.