File_Fortune::setFiles() – Set multiple fortune files


require_once 'File/Fortune.php';

File_Fortune File_Fortune::setFiles ( )


setFiles() may be used to define a list of files from which to pull fortunes. You may pass either a string single argument, an array single argument, or multiple string arguments. As examples:

// single file:

// array of files:

// multiple individual files:


throws no exceptions thrown


This function can not be called statically.

Set fortune file (Previous) Set header file name (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.