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/test/util/Test_Utils.php

    r22206 r22567  
    2929 * @version $Id$ 
    3030 */ 
    31 class Test_Utils { 
     31class Test_Utils 
     32{ 
    3233 
    3334  /** 
     
    4041   * @return 指定したキーのみを持つ連想配列 
    4142   */ 
    42   public static function mapArray($input_array, $map_keys) { 
     43  public static function mapArray($input_array, $map_keys) 
     44  { 
    4345    $output_array = array(); 
    4446    foreach ($map_keys as $index => $map_key) { 
     
    5860   * @return 指定のキーだけを抜き出した配列 
    5961   */ 
    60   public static function mapCols($input_array, $key) { 
     62  public static function mapCols($input_array, $key) 
     63  { 
    6164    $output_array = array(); 
    6265    foreach ($input_array as $data) { 
     
    7578   * @param new_array 追加要素を持つ配列 
    7679   */ 
    77   public static function array_append(&$orig_array, $new_array) { 
     80  public static function array_append(&$orig_array, $new_array) 
     81  { 
    7882    foreach ($new_array as $element) { 
    7983      $orig_array[] = $element; 
Note: See TracChangeset for help on using the changeset viewer.