Ignore:
Timestamp:
2012/02/11 05:48:00 (12 years ago)
Author:
Seasoft
Message:

#1613 (ソース整形・ソースコメントの改善)

  • Zend Framework PHP 標準コーディング規約への準拠を高めた
File:
1 edited

Legend:

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

    r21441 r21481  
    9090        $objCustomer    = new SC_Customer_Ex(); 
    9191        //customer_idを検証 
    92         $customer_id    = $objCustomer->getValue("customer_id"); 
    93         $order_count    = $objQuery->count("dtb_order", "order_id = ? and customer_id = ?", array($order_id, $customer_id)); 
     92        $customer_id    = $objCustomer->getValue('customer_id'); 
     93        $order_count    = $objQuery->count('dtb_order', "order_id = ? and customer_id = ?", array($order_id, $customer_id)); 
    9494        if ($order_count != 1) return array(); 
    9595 
     
    9797        $table  = "dtb_order_detail LEFT JOIN dtb_products_class USING(product_class_id)"; 
    9898        $where  = "order_id = ?"; 
    99         $objQuery->setOrder("order_detail_id"); 
     99        $objQuery->setOrder('order_detail_id'); 
    100100        $arrOrderDetail = $objQuery->select($col, $table, $where, array($order_id)); 
    101101        return $arrOrderDetail; 
Note: See TracChangeset for help on using the changeset viewer.