Class: RandomUtil
Source Location: /pnobjlib/RandomUtil.class.php
Class OverviewRandomUtil |
Methods |
Inherited Variables
Inherited Methods
Class Details
[line 19]
RandomUtil
[ Top ]
Class Methods
method getDate [line 282]
|
Return a random date between $startDate and $endDate
Tags:
Parameters:
[ Top ]
method getInteger [line 43]
|
Return a random integer between $floor and $ceil (inclusive)
Tags:
Parameters:
[ Top ]
method getParagraphs [line 224]
|
Return a nParas paragraphs of random text based on the dictionary
Tags:
Parameters:
[ Top ]
method getRandomString [line 69]
|
Return a random string of specified length. This function uses uses md5() to generate the string.
Tags:
Parameters:
[ Top ]
method getSeed [line 26]
method getSentence [line 166]
|
Return a random sentence of nWords based on the dictionary
Tags:
Parameters:
[ Top ]
method getString [line 102]
|
Return a random string
Tags:
Parameters:
[ Top ]
