Ignore:
Timestamp:
2013/06/08 16:35:27 (13 years ago)
Author:
Seasoft
Message:

#2043 (typo修正・ソース整形・ソースコメントの改善 for 2.13.0)

  • 主に空白・空白行の調整。もう少し整えたいが、一旦現状コミット。
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_13-dev/data/class/SC_UploadFile.php

    r22567 r22856  
    2323 
    2424/* アップロードファイル管理クラス */ 
    25 class SC_UploadFile  
     25class SC_UploadFile 
    2626{ 
    2727    var $temp_dir; 
    … …  
    138138            } 
    139139        } 
     140 
    140141        return $objErr->arrErr[$keyname]; 
    141142    } 
    … …  
    170171            } 
    171172        } 
     173 
    172174        return $objErr->arrErr[$keyname]; 
    173175    } 
    … …  
    222224            $cnt++; 
    223225        } 
     226 
    224227        return $filepath; 
    225228    } 
    … …  
    232235        for ($cnt = 0; $cnt < count($this->keyname); $cnt++) { 
    233236            if (isset($this->temp_file[$cnt]) && $this->temp_file[$cnt] != '') { 
    234  
    235237                $objImage->moveTempImage($this->temp_file[$cnt], $this->save_dir); 
    236238 
    … …  
    240242                    && !preg_match('|^sub/|', $this->save_file[$cnt]) 
    241243                ) { 
    242  
    243244                    $objImage->deleteImage($this->save_file[$cnt], $this->save_dir); 
    244245                } 
    … …  
    279280            $cnt++; 
    280281        } 
     282 
    281283        return $arrRet; 
    282284    } 
    … …  
    352354            $cnt++; 
    353355        } 
     356 
    354357        return $arrRet; 
    355358    } 
    … …  
    366369            } 
    367370        } 
     371 
    368372        return $arrRet; 
    369373    } 
    … …  
    380384            $cnt++; 
    381385        } 
     386 
    382387        return $arrRet; 
    383388    } 
    … …  
    396401            $cnt++; 
    397402        } 
     403 
    398404        return $dbFileList; 
    399405    } 
    … …  
    488494            $cnt++; 
    489495        } 
     496 
    490497        return $arrRet; 
    491498    } 
    … …  
    516523    function lfGetTmpImageName($rename, $keyname = '', $uploadfile = '') 
    517524    { 
    518  
    519525        if ($rename === true) { 
    520526            // 一意なIDを取得し、画像名をリネームし保存 
    … …  
    526532        } 
    527533        $dst_file = $this->temp_dir . $uniqname; 
     534 
    528535        return $dst_file; 
    529536    } 
Note: See TracChangeset for help on using the changeset viewer.