Ignore:
Timestamp:
2011/01/05 23:00:33 (13 years ago)
Author:
Seasoft
Message:

#714(パス指定によるリダイレクトの記述を簡潔にする) 共通処理実装、個別処理の一部を実装
#869(create_date, update_date 列の定義が、表やDBによるバラツキがある)

  • NOT NULL 制約により実装漏れに気づいたので修正

#893(SC_Response#reload を使うべきであろう箇所で SC_Response#sendRedirect を利用している)
#628(未使用処理・定義などの削除)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_5-dev/data/class/pages/admin/design/LC_Page_Admin_Design_Bloc.php

    r19807 r19832  
    165165 
    166166                $bloc_id = $arrBlocData[0]['bloc_id']; 
    167                 $this->objDisplay->redirect($this->getLocation("./bloc.php", 
    168                                             array("bloc_id" => $bloc_id, 
    169                                                   "device_type_id" => $device_type_id, 
    170                                                   "msg" => "on"))); 
     167                $arrQueryString = array( 
     168                    'bloc_id' => $bloc_id, 
     169                    'device_type_id' => $device_type_id, 
     170                    'msg' => 'on', 
     171                ); 
     172                $this->objDisplay->reload($arrQueryString, true); 
    171173                exit; 
    172174            }else{ 
     
    203205                } 
    204206            } 
    205             $this->objDisplay->redirect($this->getLocation("./bloc.php", 
    206                                                            array("device_type_id" => $device_type_id))); 
     207            $this->objDisplay->reload(array("device_type_id" => $device_type_id), true); 
    207208            exit; 
    208209            break; 
     
    269270            $arrUpdData['bloc_id'] = $objQuery->nextVal('dtb_bloc_bloc_id'); 
    270271            $arrUpdData['device_type_id'] = $device_type_id; 
    271             $arrUpdData['create_date'] = "now()"; 
     272            $arrUpdData['update_date'] = "now()"; 
    272273            $ret = $objQuery->insert('dtb_bloc', $arrUpdData); 
    273274        } else { 
Note: See TracChangeset for help on using the changeset viewer.