ここの情報は古いです。ご理解頂いた上でお取り扱いください。
Line | |
---|
1 | <?php |
---|
2 | /** |
---|
3 | * @copyright 2005-2006 OpenPNE Project |
---|
4 | * @license http://www.php.net/license/3_01.txt PHP License 3.01 |
---|
5 | */ |
---|
6 | |
---|
7 | class ktai_biz_do_fh_biz_todo_delete extends OpenPNE_Action |
---|
8 | { |
---|
9 | function execute($requests) |
---|
10 | { |
---|
11 | $u = $GLOBALS['KTAI_C_MEMBER_ID']; |
---|
12 | $tail = $GLOBALS['KTAI_URL_TAIL']; |
---|
13 | |
---|
14 | // --- リクエスト変数 |
---|
15 | $target_biz_todo_id = $requests['target_biz_todo_id']; |
---|
16 | $target_c_member_id = $requests['target_c_member_id']; |
---|
17 | // ---------- |
---|
18 | |
---|
19 | if (is_null($target_c_member_id)) { |
---|
20 | $target_c_member_id = $u; |
---|
21 | } |
---|
22 | |
---|
23 | if (!biz_isPermissionTodo($u, $target_biz_todo_id)) { |
---|
24 | handle_kengen_error(); |
---|
25 | } |
---|
26 | biz_deleteTodo($target_biz_todo_id); |
---|
27 | |
---|
28 | $p = array('target_c_member_id' => $target_c_member_id, |
---|
29 | 'is_checked' => $is_checked); |
---|
30 | ktai_biz_openpne_redirect('ktai_biz', 'page_fh_biz_todo_list', $p); |
---|
31 | } |
---|
32 | } |
---|
33 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.
Download in other formats: