blob: 89a2294f6d3c5201604b9030961114a1c80972b0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
<?php
/**
* AccountPortlet class file
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @link http://www.pradosoft.com/
* @copyright Copyright © 2006 PradoSoft
* @license http://www.pradosoft.com/license/
* @version $Id: AccountPortlet.php 3189 2012-07-12 12:16:21Z ctrlaltca $
*/
Prado::using('Application.Portlets.Portlet');
/**
* AccountPortlet class
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @link http://www.pradosoft.com/
* @copyright Copyright © 2006 PradoSoft
* @license http://www.pradosoft.com/license/
*/
class AccountPortlet extends Portlet
{
public function logout($sender,$param)
{
$this->Application->getModule('auth')->logout();
$this->Response->reload();
}
}
|