File_Fortune::setHeaderFile
Synopsis
File_Fortune
File_Fortune::setHeaderFile
(
string
$headerFile
)
Description
Fortune files consist of an ASCII file containing fortunes separated by a delimiter, and a binary header file that contains meta information such as the delimter used, number of fortunes, minimum and maximum length of fortunes contained in the file, and the offsets where each fortune exist in the file.
In most cases, this file is simply the name of the fortune file plus the extension 'dat', and File_Fortune will automatically detect this. If this is not the case, however, you may explicitly set the header file name using this method.
Parameter
-
string
$headerFile
Throws
throws no exceptions thrown
Note
This function can not be called statically.