source: branches/feature-module-update/data/class/pages/admin/LC_Page_Admin_Logout.php @ 15289

Revision 15289, 875 bytes checked in by nanasess, 17 years ago (diff)

クラス化対応

  • Property svn:keywords set to Id Revision Date
Line 
1<?php
2/*
3 * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved.
4 *
5 * http://www.lockon.co.jp/
6 */
7
8// {{{ requires
9require_once(CLASS_PATH . "pages/LC_Page.php");
10
11/**
12 * ログアウト のページクラス.
13 *
14 * @package Page
15 * @author LOCKON CO.,LTD.
16 * @version $Id$
17 */
18class LC_Page_Admin_Logout extends LC_Page {
19
20    // }}}
21    // {{{ functions
22
23    /**
24     * Page を初期化する.
25     *
26     * @return void
27     */
28    function init() {
29        parent::init();
30    }
31
32    /**
33     * Page のプロセス.
34     *
35     * @return void
36     */
37    function process() {
38        $objSess = new SC_Session();
39        $objSess->logout();
40
41        $this->sendRedirect($this->getLocation(URL_DIR . "admin/index.php"));
42    }
43
44    /**
45     * デストラクタ.
46     *
47     * @return void
48     */
49    function destroy() {
50        parent::destroy();
51    }
52}
53?>
Note: See TracBrowser for help on using the repository browser.