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/tests/class/helper/SC_Helper_Purchase/SC_Helper_Purchase_TestBase.php

    r22247 r22567  
    3131 * @version $Id$ 
    3232 */ 
    33 class SC_Helper_Purchase_TestBase extends Common_TestCase { 
    34  
    35   protected function setUp() { 
     33class SC_Helper_Purchase_TestBase extends Common_TestCase 
     34{ 
     35 
     36  protected function setUp() 
     37  { 
    3638    parent::setUp(); 
    3739  } 
    3840 
    39   protected function tearDown() { 
     41  protected function tearDown() 
     42  { 
    4043    parent::tearDown(); 
    4144  } 
     
    4548   * セッションに配送情報を設定します。 
    4649   */ 
    47   protected function setUpShipping($shipping) { 
     50  protected function setUpShipping($shipping) 
     51  { 
    4852    if (!$shipping) { 
    4953      $shipping = $this->getSingleShipping();  
     
    5357  } 
    5458 
    55   protected function getSingleShipping() { 
     59  protected function getSingleShipping() 
     60  { 
    5661    return array( 
    5762      '00001' => array( 
     
    6267  } 
    6368 
    64   protected function getMultipleShipping() { 
     69  protected function getMultipleShipping() 
     70  { 
    6571    return array( 
    6672      '00001' => array( 
     
    8288   * DBに配送情報を設定します。 
    8389   */ 
    84   protected function setUpShippingOnDb() { 
     90  protected function setUpShippingOnDb() 
     91  { 
    8592    $shippings = array( 
    8693      array( 
     
    116123   * DBに配送商品情報を設定します。 
    117124   */ 
    118   protected function setUpShipmentItem() { 
     125  protected function setUpShipmentItem() 
     126  { 
    119127      $shipping_items = array( 
    120128        array( 
     
    144152   * DBに商品クラス情報を設定します. 
    145153   */ 
    146   protected function setUpProductClass() { 
     154  protected function setUpProductClass() 
     155  { 
    147156      $product_class = array( 
    148157        array( 
     
    173182 
    174183    $this->objQuery->delete('dtb_products_class'); 
    175     foreach ($product_class as $key => $item) { 
     184    foreach ($product_class as $key => $item) 
     185{ 
    176186      $this->objQuery->insert('dtb_products_class', $item); 
    177187    } 
     
    183193   * DBに製品カテゴリ情報を登録します. 
    184194   */ 
    185   protected function setUpClassCategory() { 
     195  protected function setUpClassCategory() 
     196  { 
    186197    $class_category = array( 
    187198      array( 
     
    210221   * DBに製品情報を登録します. 
    211222   */ 
    212  protected function setUpProducts() { 
     223 protected function setUpProducts() 
     224 { 
    213225   $products = array( 
    214226     array( 
     
    239251  * DBに支払方法の情報を登録します. 
    240252  */ 
    241  protected function setUpPaymentOptions() { 
     253 protected function setUpPaymentOptions() 
     254 { 
    242255   $payment_options = array( 
    243256     array( 
     
    292305  * DBに配送業者の情報を登録します. 
    293306  */ 
    294  protected function setUpDeliv() { 
     307 protected function setUpDeliv() 
     308 { 
    295309   $deliv = array( 
    296310     array(  // 削除フラグON 
     
    338352  * DBにお届け時間の情報を登録します. 
    339353  */ 
    340  protected function setUpDelivTime() { 
     354 protected function setUpDelivTime() 
     355 { 
    341356   $deliv_time = array( 
    342357     array( 
     
    366381  * DBに支払方法の情報を登録します. 
    367382  */ 
    368  protected function setUpPayment() { 
     383 protected function setUpPayment() 
     384 { 
    369385   $payment = array( 
    370386     array( 
     
    433449  * DBに受注情報を設定します. 
    434450  */ 
    435   protected function setUpOrder() { 
     451  protected function setUpOrder() 
     452  { 
    436453    $order = array( 
    437454      array( 
     
    468485  * DBに受注一時情報を設定します. 
    469486  */ 
    470   protected function setUpOrderTemp() { 
     487  protected function setUpOrderTemp() 
     488  { 
    471489    $order = array( 
    472490      array( 
     
    496514  * DBに受注詳細を設定します. 
    497515  */ 
    498  protected function setUpOrderDetail() { 
     516 protected function setUpOrderDetail() 
     517 { 
    499518   $order_detail = array( 
    500519     array( 
     
    546565  * DBに顧客情報を設定します。 
    547566  */ 
    548  protected function setUpCustomer() { 
     567 protected function setUpCustomer() 
     568 { 
    549569   $customer = array( 
    550570     array( 
Note: See TracChangeset for help on using the changeset viewer.