Changeset 16334


Ignore:
Timestamp:
2007/10/08 23:27:49 (17 years ago)
Author:
adachi
Message:

assignSiteInfo()のリファクタリング

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/feature-templates/data/class/SC_View.php

    r16333 r16334  
    115115        if (!defined('LOAD_SITEINFO')) { 
    116116            $this->objSiteInfo = new SC_SiteInfo(); 
    117             $arrInfo['arrSiteInfo'] = $this->objSiteInfo->data; 
     117            $arrSiteInfo = $this->objSiteInfo->data; 
    118118 
    119119            // ÅÔÆ»Éܸ©Ì¾¤òÊÑ´¹ 
    120120            global $arrPref; 
    121             $arrInfo['arrSiteInfo']['pref'] = $arrPref[$arrInfo['arrSiteInfo']['pref']]; 
     121            $arrSiteInfo['pref'] = $arrPref[$arrInfo['pref']]; 
    122122 
    123123            // ¥µ¥¤¥È¾ðÊó¤ò³ä¤êÅö¤Æ¤ë 
    124             $this->assignArray($arrInfo); 
     124            $this->assign('arrSiteInfo', $arrSiteInfo); 
    125125 
    126126            define('LOAD_SITEINFO', 1); 
Note: See TracChangeset for help on using the changeset viewer.