previousFile_Fortune::getHeaderFile (Previous) (Next) File_Fortune::savenext

View this page in Last updated: Sun, 18 Oct 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

File_Fortune::getRandom

File_Fortune::getRandom() – Retrieve random fortune

Synopsis

require_once 'File/Fortune.php';

string File_Fortune::getRandom ( )

Description

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

throws no exceptions thrown

Note

This function can not be called statically.

previousFile_Fortune::getHeaderFile (Previous) (Next) File_Fortune::savenext

Download Documentation Last updated: Sun, 18 Oct 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.