Changeset 20355


Ignore:
Timestamp:
2011/02/23 20:09:28 (13 years ago)
Author:
homan
Message:

#974 [管理画面]システム設定 システム情報の再リファクタリング。

File:
1 edited

Legend:

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

    r20345 r20355  
    6767     */ 
    6868    function action() { 
    69         $this->initForm(); 
     69 
     70        $objFormParam = new SC_FormParam(); 
     71 
     72        $this->initForm($objFormParam, $_GET); 
    7073        switch($this->getMode()) { 
    7174 
     
    9598     * フォームパラメータ初期化. 
    9699     * 
     100     * @pram object $objFormParam 
    97101     * @return void 
    98102     */ 
    99     function initForm() { 
    100         $objForm = new SC_FormParam(); 
     103    function initForm(&$objFormParam, &$arrParams) { 
    101104        $objForm->addParam('mode', 'mode', INT_LEN, '', array('ALPHA_CHECK', 'MAX_LENGTH_CHECK')); 
    102         $objForm->setParam($_GET); 
    103         $this->objForm = $objForm; 
     105        $objForm->setParam($arrParams); 
    104106    } 
    105107 
Note: See TracChangeset for help on using the changeset viewer.