File_Fortune::getHeaderFile | File_Fortune::save |
File_Fortune | |
PEAR Manual | |
require_once 'File/Fortune.php'; |
string
File_Fortune::getRandom
(
)
getRandom() pulls a random fortune. If a fortune file has been explicitly specified, the fortune will be pulled from that file; if a directory has been specified, a random fortune file will first be selected.
throws no exceptions thrown
This function can not be called statically.
File_Fortune::getHeaderFile | File_Fortune::save |
File_Fortune | |
PEAR Manual | |