previousFile_Fortune::add (Previous) (Next) File_Fortune::deletenext

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::create

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

Synopsis

require_once 'File/Fortune.php';

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

Description

This package is not documented yet.

Parameter

$fortunes

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

throws File_Fortune_Exception

Note

This function can not be called statically.

previousFile_Fortune::add (Previous) (Next) File_Fortune::deletenext

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.