Line | |
---|
1 | <?php |
---|
2 | /** |
---|
3 | * @copyright 2005-2008 OpenPNE Project |
---|
4 | * @license http://www.php.net/license/3_01.txt PHP License 3.01 |
---|
5 | */ |
---|
6 | |
---|
7 | class biz_do_h_home_edit_nickname extends OpenPNE_Action |
---|
8 | { |
---|
9 | function handleError($errors) |
---|
10 | { |
---|
11 | $p['msg'] = array_shift($errors); |
---|
12 | openpne_redirect('pc', 'page_h_home', $p); |
---|
13 | } |
---|
14 | |
---|
15 | function execute($requests) |
---|
16 | { |
---|
17 | $u = $GLOBALS['AUTH']->uid(); |
---|
18 | |
---|
19 | // --- リクエスト変数 |
---|
20 | $nickname = $requests['nickname']; |
---|
21 | // ---------- |
---|
22 | |
---|
23 | biz_changeNickname($u, $nickname); |
---|
24 | |
---|
25 | openpne_redirect('pc', 'page_h_home'); |
---|
26 | } |
---|
27 | } |
---|
28 | |
---|
29 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.