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/order/LC_Page_Admin_Order_ProductSelect.php

    r22493 r22567  
    3232 * @version $Id$ 
    3333 */ 
    34 class LC_Page_Admin_Order_ProductSelect extends LC_Page_Admin_Ex { 
     34class LC_Page_Admin_Order_ProductSelect 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 = 'order/product_select.tpl'; 
     
    5961     * @return void 
    6062     */ 
    61     function process() { 
     63    function process() 
     64    { 
    6265        $this->action(); 
    6366        $this->sendResponse(); 
     
    6972     * @return void 
    7073     */ 
    71     function action() { 
     74    function action() 
     75    { 
    7276 
    7377        $objDb = new SC_Helper_DB_Ex(); 
     
    102106                $this->tpl_javascript .= $this->getTplJavascript($objProduct); 
    103107                $js_fnOnLoad = $this->getFnOnload($this->arrProducts); 
    104                 $this->tpl_javascript .= 'function fnOnLoad(){' . $js_fnOnLoad . '}'; 
     108                $this->tpl_javascript .= 'function fnOnLoad() 
     109                {' . $js_fnOnLoad . '}'; 
    105110                $this->tpl_onload .= 'fnOnLoad();'; 
    106111                // 規格1クラス名 
     
    133138     * @param SC_Product $objProduct 
    134139     */ 
    135     function getProductList($arrProductId, &$objProduct) { 
     140    function getProductList($arrProductId, &$objProduct) 
     141    { 
    136142        $objQuery =& SC_Query_Ex::getSingletonInstance(); 
    137143 
     
    147153     * @param array $arrProducts 
    148154     */ 
    149     function getFnOnload($arrProducts) { 
     155    function getFnOnload($arrProducts) 
     156    { 
    150157        foreach ($arrProducts as $arrProduct) { 
    151158            $js_fnOnLoad .= "fnSetClassCategories(document.product_form{$arrProduct['product_id']});"; 
     
    158165     * @param SC_Product $objProduct 
    159166     */ 
    160     function getTplJavascript(&$objProduct) { 
     167    function getTplJavascript(&$objProduct) 
     168    { 
    161169        return 'productsClassCategories = ' . SC_Utils_Ex::jsonEncode($objProduct->classCategories) . '; '; 
    162170    } 
     
    167175     * @param SC_Product $objProduct 
    168176     */ 
    169     function getProducts($whereAndBind,&$objProduct, $page_max, $startno) { 
     177    function getProducts($whereAndBind,&$objProduct, $page_max, $startno) 
     178    { 
    170179        $where = $whereAndBind['where']; 
    171180        $bind = $whereAndBind['bind']; 
     
    187196     * @param SC_Product $objProduct 
    188197     */ 
    189     function getLineCount($whereAndBind,&$objProduct) { 
     198    function getLineCount($whereAndBind,&$objProduct) 
     199    { 
    190200        $where = $whereAndBind['where']; 
    191201        $bind = $whereAndBind['bind']; 
     
    203213     * @param SC_FormParam $objFormParam 
    204214     */ 
    205     function createWhere(&$objFormParam,&$objDb) { 
     215    function createWhere(&$objFormParam,&$objDb) 
     216    { 
    206217        $arrForm = $objFormParam->getHashArray(); 
    207218        $where = 'alldtl.del_flg = 0'; 
     
    243254     * @param unknown_type $globalParams 
    244255     */ 
    245     function getNo($globalParams) { 
     256    function getNo($globalParams) 
     257    { 
    246258        foreach ($globalParams as $params) { 
    247259            if (isset($params['no']) && $params['no']!= '') { 
     
    256268     * @param unknown_type $globalParams 
    257269     */ 
    258     function getShippingId($globalParams) { 
     270    function getShippingId($globalParams) 
     271    { 
    259272        foreach ($globalParams as $params) { 
    260273            if (isset($params['shipping_id']) && $params['shipping_id']!= '') { 
     
    271284     * @param $productList 
    272285     */ 
    273     function sortProducts($arrProduct_id,$productList) { 
     286    function sortProducts($arrProduct_id,$productList) 
     287    { 
    274288        $products  = array(); 
    275289        foreach ($productList as $item) { 
     
    287301     * @return void 
    288302     */ 
    289     function destroy() { 
     303    function destroy() 
     304    { 
    290305        parent::destroy(); 
    291306    } 
     
    295310     * @param SC_FormParam $objFormParam 
    296311     */ 
    297     function lfInitParam(&$objFormParam) { 
     312    function lfInitParam(&$objFormParam) 
     313    { 
    298314        $objFormParam->addParam('オーダーID', 'order_id', INT_LEN, 'n', array('EXIST_CHECK', 'MAX_LENGTH_CHECK', 'NUM_CHECK')); 
    299315        $objFormParam->addParam('商品名', 'search_name', STEXT_LEN, 'KVa', array('MAX_LENGTH_CHECK')); 
Note: See TracChangeset for help on using the changeset viewer.