File_Fortune::setFile

File_Fortune::setFile() – Set fortune file

Synopsis

require_once 'File/Fortune.php';

File_Fortune File_Fortune::setFile ( string $file , string $headerFile = null )

Description

setFile() may be used to explicitly set a fortune file to use or create.

Parameter

string $file

string $headerFile

Throws

throws no exceptions thrown

Note

This function can not be called statically.

Set directory from which to randomly select a fortune file (Previous) Set multiple fortune files (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.