Examples | File_Fortune::add |
File_Fortune | |
PEAR Manual | |
require_once 'File/Fortune.php'; |
File_Fortune
File_Fortune::__construct
(
string|array
$file = NULL
,
string
$headerFile = NULL
)
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.
Fortune file name, or name of a directory containing fortune files.
If passing an array, array of fortune files names.
Optional location of binary header file to associate with file passed to $file; see setHeader() for more information.
throws no exceptions thrown
This function can not be called statically.
Examples | File_Fortune::add |
File_Fortune | |
PEAR Manual | |