Changeset 15428


Ignore:
Timestamp:
2007/08/29 19:03:21 (13 years ago)
Author:
nanasess
Message:

PHP4 & PHP5 対応(暫定)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/feature-module-update/data/class/pages/order/LC_Page_Order.php

    r15090 r15428  
    4141        // レイアウトデザインを取得 
    4242        $layout = new SC_Helper_PageLayout_Ex(); 
    43         $this = $layout->sfGetPageLayout($this, false, DEF_LAYOUT); 
    44  
    45         $arrRet = $objQuery->getall("SELECT * FROM dtb_baseinfo",array()); 
    46         $this->arrRet = $arrRet[0]; 
    47         $this->arrPref = $arrPref; 
     43        $layout->sfGetPageLayout($this, false, DEF_LAYOUT); 
     44        // FIXME 
     45        //$arrRet = $objQuery->getall("SELECT * FROM dtb_baseinfo",array()); 
     46        //$this->arrRet = $arrRet[0]; 
     47        $objDb = new SC_Helper_DB_Ex(); 
     48        $this->arrRet = $objDb->sf_getBasisData(); 
     49        $masterData = new SC_DB_MasterData_Ex(); 
     50        $this->arrPref = $masterData->getMasterData("mtb_pref", 
     51                                 array("pref_id", "pref_name", "rank")); 
    4852 
    4953        $objView->assignobj($this); 
Note: See TracChangeset for help on using the changeset viewer.