File_Fortune::create() – Create a new fortune file from an array of fortunes


require_once 'File/Fortune.php';

void File_Fortune::create ( $fortunes , string $file = null )


This package is not documented yet.



Array of fortunes to use to seed the new fortune file.

string $file

Optional file name to use when creating new fortune file. If not provided, attempts to use the file set via setFile()


throws File_Fortune_Exception


This function can not be called statically.

Add a new fortune (Previous) Delete an existing fortune (Next)
Last updated: Sun, 19 Dec 2010 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.