Changeset 18259
- Timestamp:
- 2009/08/07 06:30:18 (15 years ago)
- Location:
- branches/comu-ver2/data
- Files:
-
- 2 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/comu-ver2/data/class/util/SC_Utils.php
r18252 r18259 2080 2080 return false; 2081 2081 } 2082 2083 /** 2084 * ランダムな文字列を取得する 2085 * 2086 * @param integer $length 文字数 2087 * @return string ランダムな文字列 2088 */ 2089 function sfGetRandomString($length = 1) { 2090 require_once(dirname(__FILE__) . '/../../module/Text/Password.php'); 2091 return Text_Password::create($length); 2092 } 2082 2093 } 2083 2094 ?>
Note: See TracChangeset
for help on using the changeset viewer.