1 | <?php |
||
14 | class LogoutAction extends Action |
||
15 | { |
||
16 | |||
17 | const EVENT_BEFORE_LOGOUT = 'beforeLogout'; |
||
18 | const EVENT_AFTER_LOGOUT = 'afterLogout'; |
||
19 | |||
20 | public $view = ''; |
||
21 | |||
22 | /** |
||
23 | * Logs out the current user and redirect to homepage. |
||
24 | */ |
||
25 | public function run() |
||
35 | |||
36 | public function trigger($name, Event $event = null) |
||
41 | } |
||
42 |