File_Fortune::add

File_Fortune::add() – Add a new fortune

Synopsis

require_once 'File/Fortune.php';

File_Fortune File_Fortune::add ( string $fortune )

Description

This package is not documented yet.

Parameter

string $fortune

Fortune string to add to fortune file. Fortune will be appended to fortune file.

If multiple files or a directory have been set, you cannot manipulate the fortune list, and this method will raise an exception.

Throws

throws File_Fortune_Exception

Note

This function can not be called statically.

Constructor (Previous) Create a new fortune file from an array of fortunes (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.