Ignore:
Timestamp:
2012/02/06 11:05:15 (12 years ago)
Author:
Seasoft
Message:

#1613 (ソース整形・ソースコメントの改善)

  • Zend Framework PHP 標準コーディング規約への準拠を高めた
File:
1 edited

Legend:

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

    r21420 r21441  
    7878        $arrForm = array(); 
    7979 
    80         switch($this->getMode()) { 
     80        switch ($this->getMode()) { 
    8181        case 'new': 
    8282            // パラメーターの初期化 
     
    8787            $this->arrForm = $objFormParam->getHashArray(); 
    8888 
    89             if(SC_Utils_Ex::isBlank($arrErr)) { 
     89            if (SC_Utils_Ex::isBlank($arrErr)) { 
    9090 
    9191                $this->insertMemberData($this->arrForm); 
     
    115115            $this->arrForm = $objFormParam->getHashArray(); 
    116116 
    117             if(SC_Utils_Ex::isBlank($arrErr)) { 
     117            if (SC_Utils_Ex::isBlank($arrErr)) { 
    118118 
    119119                $this->updateMemberData($this->arrForm['member_id'], $this->arrForm); 
     
    150150            } 
    151151 
    152             switch($clean_mode_flg) { 
     152            switch ($clean_mode_flg) { 
    153153            case 'edit': 
    154154                $this->tpl_mode      = $clean_mode_flg; 
     
    221221        // ログインID・パスワードの文字数チェック 
    222222        $objErr = new SC_CheckError_Ex(); 
    223         if($mode == 'new') { 
     223        if ($mode == 'new') { 
    224224            $objErr->doFunc(array("パスワード", 'password', ID_MIN_LEN, ID_MAX_LEN), array("NUM_RANGE_CHECK")); 
    225225            $objErr->doFunc(array("ログインID", 'login_id', ID_MIN_LEN, ID_MAX_LEN), array("NUM_RANGE_CHECK")); 
    226         } elseif($mode == 'edit') { 
     226        } elseif ($mode == 'edit') { 
    227227            $objErr->doFunc(array("パスワード", 'password', ID_MIN_LEN, ID_MAX_LEN), array("SPTAB_CHECK" ,"NUM_RANGE_CHECK")); 
    228228            $objErr->doFunc(array("ログインID", 'login_id', ID_MIN_LEN, ID_MAX_LEN), array("SPTAB_CHECK" ,"NUM_RANGE_CHECK")); 
     
    231231        $arrErr = $objErr->arrErr; 
    232232 
    233         switch($mode) { 
     233        switch ($mode) { 
    234234        case 'new':  
    235235            // 管理者名が登録済みでないか 
     
    299299 
    300300        // $pagenoが0以上の整数かチェック 
    301         if(SC_Utils_Ex::sfIsInt($pageno) && $pageno > 0) { 
     301        if (SC_Utils_Ex::sfIsInt($pageno) && $pageno > 0) { 
    302302            $clean_pageno = $pageno; 
    303303        } 
     
    358358        $sqlVal['work']   = $arrMemberData['work']; 
    359359        $sqlVal['update_date'] = 'CURRENT_TIMESTAMP'; 
    360         if($arrMemberData['password'] != DEFAULT_PASSWORD) { 
     360        if ($arrMemberData['password'] != DEFAULT_PASSWORD) { 
    361361            $salt = SC_Utils_Ex::sfGetRandomString(10); 
    362362            $sqlVal['salt']     = $salt; 
Note: See TracChangeset for help on using the changeset viewer.