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_ProductClass.php

    r22298 r22567  
    3232 * @version $Id$ 
    3333 */ 
    34 class LC_Page_Admin_Products_ProductClass extends LC_Page_Admin_Ex { 
     34class LC_Page_Admin_Products_ProductClass 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_class.tpl'; 
     
    6062     * @return void 
    6163     */ 
    62     function process() { 
     64    function process() 
     65    { 
    6366        $this->action(); 
    6467        $this->sendResponse(); 
     
    7073     * @return void 
    7174     */ 
    72     function action() { 
     75    function action() 
     76    { 
    7377 
    7478        // 商品マスターの検索条件パラメーターを初期化 
     
    165169     * @return void 
    166170     */ 
    167     function destroy() { 
     171    function destroy() 
     172    { 
    168173        parent::destroy(); 
    169174    } 
     
    175180     * @return void 
    176181     */ 
    177     function initParam(&$objFormParam) { 
     182    function initParam(&$objFormParam) 
     183    { 
    178184        // 商品マスター検索パラメーター引き継ぎ 
    179185        $objFormParam->addParam('商品ID', 'product_id', INT_LEN, 'n', array('NUM_CHECK', 'MAX_LENGTH_CHECK')); 
     
    225231     * @param integer $product_id 登録を行う商品ID 
    226232     */ 
    227     function registerProductClass($arrList, $product_id, $total) { 
     233    function registerProductClass($arrList, $product_id, $total) 
     234    { 
    228235        $objQuery =& SC_Query_Ex::getSingletonInstance(); 
    229236        $objDb = new SC_Helper_DB_Ex(); 
     
    308315     * @return array エラーの配列 
    309316     */ 
    310     function lfCheckSelectClass() { 
     317    function lfCheckSelectClass() 
     318    { 
    311319        $objErr = new SC_CheckError_Ex(); 
    312320        $objErr->doFunc(array('規格1', 'class_id1'), array('EXIST_CHECK')); 
     
    322330     * @return array エラー結果の配列 
    323331     */ 
    324     function lfCheckProductsClass(&$objFormParam) { 
     332    function lfCheckProductsClass(&$objFormParam) 
     333    { 
    325334        $arrValues = $objFormParam->getHashArray(); 
    326335        $arrErr = $objFormParam->checkError(); 
     
    395404     * @return void 
    396405     */ 
    397     function doDisp(&$objFormParam) { 
     406    function doDisp(&$objFormParam) 
     407    { 
    398408        $product_id = $objFormParam->getValue('product_id'); 
    399409        $class_id1 = $objFormParam->getValue('class_id1'); 
     
    431441     * @return void 
    432442     */ 
    433     function initDispParam(&$objFormParam) { 
     443    function initDispParam(&$objFormParam) 
     444    { 
    434445        // 登録チェックボックス初期化(すべてチェックを外す) 
    435446        $objFormParam->setValue('check', ''); 
     
    449460     * @param bool $usepostValue 
    450461     */ 
    451     function doPreEdit(&$objFormParam) { 
     462    function doPreEdit(&$objFormParam) 
     463    { 
    452464        $product_id = $objFormParam->getValue('product_id'); 
    453465        $objProduct = new SC_Product_Ex(); 
     
    526538     * @return void 
    527539     */ 
    528     function doDelete($product_id) { 
     540    function doDelete($product_id) 
     541    { 
    529542        $objQuery =& SC_Query_Ex::getSingletonInstance(); 
    530543 
     
    563576     * @return void 
    564577     */ 
    565     function doFileUpload(&$objFormParam) { 
     578    function doFileUpload(&$objFormParam) 
     579    { 
    566580        $index   = $objFormParam->getValue('upload_index'); 
    567581        $arrDownRealFiles = $objFormParam->getValue('down_realfilename'); 
     
    625639     * @return void 
    626640     */ 
    627     function doFileDelete(&$objFormParam) { 
     641    function doFileDelete(&$objFormParam) 
     642    { 
    628643        $objImage = new SC_Image_Ex(DOWN_TEMP_REALDIR); 
    629644        $arrRealFileName = $objFormParam->getValue('down_realfilename'); 
     
    640655     * @return void 
    641656     */ 
    642     function doUploadComplete(&$objFormParam) { 
     657    function doUploadComplete(&$objFormParam) 
     658    { 
    643659        $objImage = new SC_Image_Ex(DOWN_TEMP_REALDIR); 
    644660        $arrRealFileName = $objFormParam->getValue('down_realfilename'); 
     
    657673     * @return array 規格と規格分類の配列 
    658674     */ 
    659     function getAllClassCategory($class_id1, $class_id2 = null) { 
     675    function getAllClassCategory($class_id1, $class_id2 = null) 
     676    { 
    660677        $objQuery =& SC_Query_Ex::getSingletonInstance(); 
    661678 
     
    697714     * @return string 商品名の文字列 
    698715     */ 
    699     function getProductName($product_id) { 
     716    function getProductName($product_id) 
     717    { 
    700718        $objQuery =& SC_Query_Ex::getSingletonInstance(); 
    701719        return $objQuery->get('name', 'dtb_products', 'product_id = ?', array($product_id)); 
     
    708726     * @return array 規格分類の登録された, すべての規格 
    709727     */ 
    710     function getAllClass() { 
     728    function getAllClass() 
     729    { 
    711730        $arrClass = SC_Helper_DB_Ex::sfGetIDValueList('dtb_class', 'class_id', 'name'); 
    712731 
     
    733752     * @return array 商品規格の配列 
    734753     */ 
    735     function getProductsClass($product_id) { 
     754    function getProductsClass($product_id) 
     755    { 
    736756        $objQuery =& SC_Query_Ex::getSingletonInstance(); 
    737757        $col = 'product_code, price01, price02, stock, stock_unlimited, sale_limit, deliv_fee, point_rate'; 
     
    751771     * @return void 
    752772     */ 
    753     function fillCheckboxesValue($key, $size) { 
     773    function fillCheckboxesValue($key, $size) 
     774    { 
    754775        if (empty($_POST[$key])) { 
    755776            $_POST[$key] = array_pad(array(), $size, ''); 
Note: See TracChangeset for help on using the changeset viewer.