Ignore:
Timestamp:
2011/02/19 18:38:11 (15 years ago)
Author:
fukuda
Message:

・SC_Helper_Mail::sfGetMailTemplateの引数を簡潔に
・SC_Utils_Ex::sfCheckNumLength()をSC_Utils_Ex::sfIsInt()に統合
・ガイドラインに合わない $this->list_data を修正

File:
1 edited

Legend:

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

    r20133 r20203  
    671671    } 
    672672 
    673     /* DBに渡す数値のチェック 
    674      * 10桁以上はオーバーフローエラーを起こすので。 
    675      */ 
    676     function sfCheckNumLength( $value ){ 
    677         if ( ! is_numeric($value)  ){ 
    678             return false; 
    679         } 
    680  
    681         if ( strlen($value) > 9 ) { 
    682             return false; 
    683         } 
    684  
    685         return true; 
    686     } 
    687  
    688673    // 一致した値のキー名を取得 
    689674    function sfSearchKey($array, $word, $default) { 
Note: See TracChangeset for help on using the changeset viewer.