Examples (Previous) (Next) File_Fortune::add

View this page in Last updated: Sun, 28 Sep 2008
English | French | German | Japanese | Plain HTML

File_Fortune::__construct()

File_Fortune::__construct()  -- Constructor

Synopsis

require_once 'File/Fortune.php';

File_Fortune File_Fortune::__construct (string|array [$file = NULL], string [$headerFile = NULL])

Beschreibung

Optionally pass a filename or directory name to set the fortune file or directory, and, if passing a fortune file name, optionally pass the name of the header file.

Parameter

string|array $file

Fortune file name, or name of a directory containing fortune files.

If passing an array, array of fortune files names.

string $headerFile

Optional location of binary header file to associate with file passed to $file; see setHeader() for more information.

Fehler-Meldungen

throws no exceptions thrown

Hinweise

Diese Methode kann nicht statisch aufgerufen werden.

Examples (Previous) (Next) File_Fortune::add

Download Documentation Last updated: Sun, 28 Sep 2008
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.