Ignore:
Timestamp:
2012/02/17 02:42:21 (14 years ago)
Author:
Seasoft
Message:

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

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

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/class/helper/SC_Helper_CSV.php

    r21514 r21527  
    4444    function init() { 
    4545        $this->arrSubnavi = array( 
    46                                   1 => 'product', 
    47                                   2 => 'customer', 
    48                                   3 => 'order', 
    49                                   4 => 'review', 
    50                                   5 => 'category' 
    51                                   ); 
     46            1 => 'product', 
     47            2 => 'customer', 
     48            3 => 'order', 
     49            4 => 'review', 
     50            5 => 'category', 
     51        ); 
    5252 
    5353        $this->arrSubnaviName = array( 
    54                                       1 => '商品管理', 
    55                                       2 => '会員管理', 
    56                                       3 => '受注管理', 
    57                                       4 => 'レビュー', 
    58                                       5 => 'カテゴリ' 
    59                                       ); 
     54            1 => '商品管理', 
     55            2 => '会員管理', 
     56            3 => '受注管理', 
     57            4 => 'レビュー', 
     58            5 => 'カテゴリ', 
     59        ); 
    6060    } 
    6161 
     
    284284 
    285285            /* enclose a field that contains a delimiter, an enclosure character, or a newline */ 
    286             if ( 
    287                    is_string($field) 
     286            if (is_string($field) 
    288287                && preg_match('/[' . preg_quote($delimiter) . preg_quote($enclosure) . '\\s]/', $field) 
    289288            ) { 
Note: See TracChangeset for help on using the changeset viewer.