Changeset 23457 for branches/version-2_13-dev/data/class/util/SC_Utils.php
- Timestamp:
- 2014/05/29 13:02:27 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_13-dev/data/class/util/SC_Utils.php
r23447 r23457 306 306 * @return bool 307 307 */ 308 // 309 public function sfIsInt($value) 308 public static function sfIsInt($value) 310 309 { 311 310 if (strlen($value) >= 1 && strlen($value) <= INT_LEN && is_numeric($value)) { … … 316 315 } 317 316 318 /* 317 /** 319 318 * 桁が0で埋められているかを判定する 320 319 * … … 322 321 * @return boolean 0で埋められている 323 322 */ 324 public function sfIsZeroFilling($value)323 public static function sfIsZeroFilling($value) 325 324 { 326 325 if (strlen($value) > 1 && $value{0} === '0') … … 1442 1441 * @return string 1443 1442 */ 1444 public function sfNoImageMain($filename = '')1443 public static function sfNoImageMain($filename = '') 1445 1444 { 1446 1445 if (strlen($filename) == 0 || substr($filename, -1, 1) == '/') { … … 1749 1748 * @see Services_JSON::encode() 1750 1749 */ 1751 public function jsonEncode($value)1750 public static function jsonEncode($value) 1752 1751 { 1753 1752 if (function_exists('json_encode')) {
Note: See TracChangeset
for help on using the changeset viewer.