Changeset 15372


Ignore:
Timestamp:
2007/08/27 18:14:44 (13 years ago)
Author:
nanasess
Message:

グローバル配列をマスタデータへ移行

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/feature-module-update/data/class/pages/contact/LC_Page_Contact.php

    r15371 r15372  
    1717 */ 
    1818class LC_Page_Contact extends LC_Page { 
    19  
    20     // {{{ properties 
    21  
    22     /** 都道府県の配列 */ 
    23     var $arrPref; 
    2419 
    2520    // }}} 
     
    3833        $this->tpl_page_category = 'contact'; 
    3934 
    40         // FIXME 
    41         global $arrPref; 
    42         $this->arrPref = $arrPref; 
     35        $masterData = new SC_DB_MasterData_Ex(); 
     36        $this->arrPref = $masterData->getMasterData("mtb_pref", array("pref_id", "pref_name", "rank")); 
    4337    } 
    4438 
Note: See TracChangeset for help on using the changeset viewer.