Ignore:
Timestamp:
2013/02/18 19:09:54 (11 years ago)
Author:
shutta
Message:

#2043 (typo修正・ソース整形・ソースコメントの改善 for 2.12.4)
Zend Framework PHP 標準コーディング規約のコーディングスタイルへ準拠。
classおよびfunctionの開始波括弧「{」のスタイルを修正。

File:
1 edited

Legend:

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

    r22206 r22567  
    3232 * @version $Id$ 
    3333 */ 
    34 class LC_Page_ResizeImage extends LC_Page_Ex { 
     34class LC_Page_ResizeImage extends LC_Page_Ex  
     35{ 
    3536 
    3637    // }}} 
     
    4243     * @return void 
    4344     */ 
    44     function init() { 
     45    function init() 
     46    { 
    4547        parent::init(); 
    4648    } 
     
    5153     * @return void 
    5254     */ 
    53     function process() { 
     55    function process() 
     56    { 
    5457        parent::process(); 
    5558        $this->action(); 
     
    6164     * @return void 
    6265     */ 
    63     function action() { 
     66    function action() 
     67    { 
    6468        $objFormParam = new SC_FormParam_Ex(); 
    6569        $this->lfInitParam($objFormParam); 
     
    9094     * @return void 
    9195     */ 
    92     function destroy() { 
     96    function destroy() 
     97    { 
    9398        parent::destroy(); 
    9499    } 
    95100 
    96     function lfInitParam(&$objFormParam) { 
     101    function lfInitParam(&$objFormParam) 
     102    { 
    97103        $objFormParam->addParam('画像ファイル名', 'image', STEXT_LEN, 'a',  array('MAX_LENGTH_CHECK')); 
    98104        $objFormParam->addParam('画像の幅', 'width', STEXT_LEN, 'n',  array('NUM_CHECK')); 
     
    105111     * @return boolean 正常な形式:true 不正な形式:false 
    106112     */ 
    107     function lfCheckFileName() { 
     113    function lfCheckFileName() 
     114    { 
    108115        //$pattern = '|^[0-9]+_[0-9a-z]+\.[a-z]{3}$|'; 
    109116        $pattern = '|\./|'; 
     
    125132     * @return void 
    126133     */ 
    127     function lfOutputImage($file, $width, $height) { 
     134    function lfOutputImage($file, $width, $height) 
     135    { 
    128136        $objThumb = new gdthumb(); 
    129137        $objThumb->Main($file, $width, $height, '', true); 
Note: See TracChangeset for help on using the changeset viewer.