Changeset 20539
- Timestamp:
- 2011/03/07 15:30:02 (15 years ago)
- Location:
- branches/version-2_5-dev/data/class
- Files:
-
- 6 edited
-
SC_CartSession.php (modified) (2 diffs)
-
SC_CheckError.php (modified) (1 diff)
-
SC_Fpdf.php (modified) (1 diff)
-
SC_SendMail.php (modified) (1 diff)
-
helper/SC_Helper_Purchase.php (modified) (1 diff)
-
util/SC_Utils.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_5-dev/data/class/SC_CartSession.php
r20538 r20539 95 95 $arrRet[] = $this->cartSession[$productTypeId][$key]['cart_no']; 96 96 } 97 return (max($arrRet) + 1);97 return max($arrRet) + 1; 98 98 } 99 99 … … 146 146 } 147 147 } 148 return ($max);148 return $max; 149 149 } 150 150 -
branches/version-2_5-dev/data/class/SC_CheckError.php
r20538 r20539 1106 1106 */ 1107 1107 function numelicCheck($string) { 1108 return (strlen($string) > 0 && !ctype_digit($string));1108 return strlen($string) > 0 && !ctype_digit($string); 1109 1109 } 1110 1110 } -
branches/version-2_5-dev/data/class/SC_Fpdf.php
r20538 r20539 323 323 // 文字コードSJIS変換 -> japanese.phpで使用出来る文字コードはSJIS-winのみ 324 324 function lfConvSjis($conv_str) { 325 return (mb_convert_encoding($conv_str, "SJIS-win", CHAR_CODE));325 return mb_convert_encoding($conv_str, "SJIS-win", CHAR_CODE); 326 326 } 327 327 -
branches/version-2_5-dev/data/class/SC_SendMail.php
r20538 r20539 281 281 */ 282 282 function sendHtmlMail() { 283 return ($this->sendMail(true));283 return $this->sendMail(true); 284 284 } 285 285 -
branches/version-2_5-dev/data/class/helper/SC_Helper_Purchase.php
r20507 r20539 251 251 */ 252 252 function isMultiple() { 253 return (count($this->getShippingTemp()) > 1);253 return count($this->getShippingTemp()) > 1; 254 254 } 255 255 -
branches/version-2_5-dev/data/class/util/SC_Utils.php
r20538 r20539 902 902 /* かけ算をする(Smarty用) */ 903 903 function sfMultiply($num1, $num2) { 904 return ($num1 * $num2);904 return $num1 * $num2; 905 905 } 906 906 … … 931 931 // 同一ホスト内で一意なIDを生成 932 932 $id = uniqid($head); 933 return ($id . $random);933 return $id . $random; 934 934 } 935 935 … … 2159 2159 if (is_string($microtime)) { 2160 2160 list($usec, $sec) = explode(" ", microtime()); 2161 return ( (float)$usec + (float)$sec);2161 return (float)$usec + (float)$sec; 2162 2162 } 2163 2163 return $microtime;
Note: See TracChangeset
for help on using the changeset viewer.
