Ignore:
Timestamp:
2014/05/29 13:02:27 (10 years ago)
Author:
pineray
Message:

#2448 typo修正・ソース整形・ソースコメントの改善 for 2.13.3

LC_Page_Products_Detail および関連するファイルのソース改善.
お気に入り登録のエラーチェックが動作していない不具合を修正.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_13-dev/data/class/util/SC_Utils.php

    r23447 r23457  
    306306     *  @return bool 
    307307     */ 
    308     // 
    309     public function sfIsInt($value) 
     308    public static function sfIsInt($value) 
    310309    { 
    311310        if (strlen($value) >= 1 && strlen($value) <= INT_LEN && is_numeric($value)) { 
     
    316315    } 
    317316 
    318     /* 
     317    /** 
    319318     * 桁が0で埋められているかを判定する 
    320319     * 
     
    322321     * @return boolean 0で埋められている 
    323322     */ 
    324     public function sfIsZeroFilling($value) 
     323    public static function sfIsZeroFilling($value) 
    325324    { 
    326325        if (strlen($value) > 1 && $value{0} === '0') 
     
    14421441     * @return string 
    14431442     */ 
    1444     public function sfNoImageMain($filename = '') 
     1443    public static function sfNoImageMain($filename = '') 
    14451444    { 
    14461445        if (strlen($filename) == 0 || substr($filename, -1, 1) == '/') { 
     
    17491748     * @see Services_JSON::encode() 
    17501749     */ 
    1751     public function jsonEncode($value) 
     1750    public static function jsonEncode($value) 
    17521751    { 
    17531752        if (function_exists('json_encode')) { 
Note: See TracChangeset for help on using the changeset viewer.