Ignore:
Timestamp:
2009/06/28 19:24:15 (15 years ago)
Author:
ramrun
Message:

商品一覧ページでcategory_id、商品詳細ページでproduct_idの正当性をチェック

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/comu-ver2/data/class/util/SC_Utils.php

    r18100 r18142  
    269269    } 
    270270 
     271    /* 
     272     * 桁が0で埋められているかを判定する 
     273     *  
     274     * @param string $value 検査対象 
     275     * @return boolean 0で埋められている 
     276     */ 
     277    function sfIsZeroFilling($value) { 
     278        if (strlen($value) > 1 && $value{0} === '0') 
     279            return true; 
     280        return false; 
     281    } 
     282 
    271283    function sfCSVDownload($data, $prefix = ""){ 
    272284 
Note: See TracChangeset for help on using the changeset viewer.