Ignore:
Timestamp:
2006/09/23 17:39:27 (20 years ago)
Author:
kakinaka
Message:

blank

File:
1 edited

Legend:

Unmodified
Added
Removed
  • temp/trunk/data/lib/slib.php

    r5260 r5482  
    684684 
    685685// ÇÛÎó¤ÎÃͤò¥«¥ó¥Þ¶èÀÚ¤ê¤ÇÊÖ¤¹¡£ 
    686 function sfGetCommaList($array) { 
     686function sfGetCommaList($array, $space=true) { 
    687687    if (count($array) > 0) { 
    688688        foreach($array as $val) { 
    689             $line .= $val . ", "; 
     689            if ($space) { 
     690                $line .= $val . ", "; 
     691            }else{ 
     692                $line .= $val . ","; 
     693            } 
    690694        } 
    691695        $line = ereg_replace(", $", "", $line); 
Note: See TracChangeset for help on using the changeset viewer.