• R/O
  • SSH
  • HTTPS

raproject: Commit


Commit MetaInfo

Revisão40 (tree)
Hora2011-11-17 15:58:27
Autorossi

Mensagem de Log

ossi commit

Mudança Sumário

Diff

--- ralite/ra_core/system/RaUtil.php (revision 39)
+++ ralite/ra_core/system/RaUtil.php (revision 40)
@@ -59,7 +59,8 @@
5959
6060 /**
6161 * convertKana
62- * @param string $value Value * @param string $option Option
62+ * @param string $value Value
63+ * @param string $option Option
6364 * @param string $encoding Encoding
6465 * @return string $result Result
6566 */
@@ -70,7 +71,8 @@
7071
7172 /**
7273 * strLen
73- * @param string $value Value * @param string $encoding Encoding
74+ * @param string $value Value
75+ * @param string $encoding Encoding
7476 * @return int $result Result
7577 */
7678 public static function strLen($value, $encoding=null) {
@@ -80,7 +82,10 @@
8082
8183 /**
8284 * subStr
83- * @param string $value Value * @param int $start Start * @param int $length Length * @param string $encoding Encoding
85+ * @param string $value Value
86+ * @param int $start Start
87+ * @param int $length Length
88+ * @param string $encoding Encoding
8489 * @return string $result Result
8590 */
8691 public static function subStr($value, $start, $length, $encoding=null) {
@@ -90,7 +95,8 @@
9095
9196 /**
9297 * strToLower
93- * @param string $value Value * @param string $encoding Encoding
98+ * @param string $value Value
99+ * @param string $encoding Encoding
94100 * @return string $result Result
95101 */
96102 public static function strToLower($value, $encoding=null) {
@@ -101,8 +107,11 @@
101107 /**
102108 * setCookie
103109 * @param string $key Key
104- * @param string $value Value * @param int $enableDays Cookie Enable Days
105- * @param string $path Path * @param string $domain Domain */
110+ * @param string $value Value
111+ * @param int $enableDays Cookie Enable Days
112+ * @param string $path Path
113+ * @param string $domain Domain
114+ */
106115 public static function setCookie($key, $value, $enableDays, $path=null, $domain=null) {
107116 if ($enableDays == 0) {
108117 $enableDays = mktime(0, 0, 0, 1, 1, 1970);
@@ -153,14 +162,17 @@
153162
154163 /**
155164 * isWindows
156- * @result boolean CheckResult */
165+ * @result boolean CheckResult
166+ */
157167 public static function isWindows() {
158168 return (PHP_OS=='WINNT'||PHP_OS=='WIN32'||PHP_OS=='Windows') ? true : false;
159169 }
160170
161- /** * checkDoubleStr
171+ /**
172+ * checkDoubleStr
162173 * @param string $value Value
163- * @result boolean CheckResult */
174+ * @result boolean CheckResult
175+ */
164176 public static function checkDoubleStr($value){
165177 return preg_match('/^[ -~。-゚]*$/', $value) ? false : true;
166178 }
Show on old repository browser