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/admin/products/LC_Page_Admin_Products_ProductRank.php

    r22206 r22567  
    3232 * @version $Id$ 
    3333 */ 
    34 class LC_Page_Admin_Products_ProductRank extends LC_Page_Admin_Ex { 
     34class LC_Page_Admin_Products_ProductRank extends LC_Page_Admin_Ex  
     35{ 
    3536 
    3637    // }}} 
     
    4243     * @return void 
    4344     */ 
    44     function init() { 
     45    function init() 
     46    { 
    4547        parent::init(); 
    4648        $this->tpl_mainpage = 'products/product_rank.tpl'; 
     
    5658     * @return void 
    5759     */ 
    58     function process() { 
     60    function process() 
     61    { 
    5962        $this->action(); 
    6063        $this->sendResponse(); 
     
    6669     * @return void 
    6770     */ 
    68     function action() { 
     71    function action() 
     72    { 
    6973 
    7074        $objQuery =& SC_Query_Ex::getSingletonInstance(); 
     
    113117     * @return void 
    114118     */ 
    115     function destroy() { 
     119    function destroy() 
     120    { 
    116121        parent::destroy(); 
    117122    } 
    118123 
    119124    /* 商品読み込み */ 
    120     function lfGetProduct($category_id) { 
     125    function lfGetProduct($category_id) 
     126    { 
    121127        // FIXME SC_Product クラスを使用した実装 
    122128        $objQuery =& SC_Query_Ex::getSingletonInstance(); 
     
    151157     * 商品の数値指定での並び替え実行 
    152158     */ 
    153     function lfRenumber($parent_category_id) { 
     159    function lfRenumber($parent_category_id) 
     160    { 
    154161        $objQuery =& SC_Query_Ex::getSingletonInstance(); 
    155162 
     
    176183    } 
    177184 
    178     function lfRankUp(&$objDb, $parent_category_id, $product_id) { 
     185    function lfRankUp(&$objDb, $parent_category_id, $product_id) 
     186    { 
    179187        $where = 'category_id = ' . SC_Utils_Ex::sfQuoteSmart($parent_category_id); 
    180188        $objDb->sfRankUp('dtb_product_categories', 'product_id', $product_id, $where); 
    181189    } 
    182190 
    183     function lfRankDown(&$objDb, $parent_category_id, $product_id) { 
     191    function lfRankDown(&$objDb, $parent_category_id, $product_id) 
     192    { 
    184193        $where = 'category_id = ' . SC_Utils_Ex::sfQuoteSmart($parent_category_id); 
    185194        $objDb->sfRankDown('dtb_product_categories', 'product_id', $product_id, $where); 
    186195    } 
    187196 
    188     function lfRankMove(&$objDb, $parent_category_id, $product_id) { 
     197    function lfRankMove(&$objDb, $parent_category_id, $product_id) 
     198    { 
    189199        $key = 'pos-'.$product_id; 
    190200        $input_pos = mb_convert_kana($_POST[$key], 'n'); 
Note: See TracChangeset for help on using the changeset viewer.