1 | <?php |
||
5 | class ChangeUrl extends AbstractResponder |
||
6 | { |
||
7 | const OBJECT_IDENTIFIER = 'changeurl'; |
||
8 | |||
9 | const OPTION_URL = 'url'; |
||
10 | const OPTION_METHOD = 'method'; |
||
11 | const OPTION_WAIT = 'wait'; |
||
12 | |||
13 | const PUSH = 'push'; |
||
14 | const REPLACE = 'replace'; |
||
15 | const REDIRECT = 'redirect'; |
||
16 | |||
17 | /** |
||
18 | * Constructor |
||
19 | * |
||
20 | * @param string $url The new URL |
||
21 | * @param string $method push|replace|redirect |
||
22 | * @param integer $wait How long to wait until changing URL |
||
23 | */ |
||
24 | public function __construct($url, $method, $wait = 0) |
||
34 | } |
||
35 |