previousFile_Fortune::getRandom (Previous) (Next) File_Fortune::setDirectorynext

View this page in Last updated: Sun, 18 Oct 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

File_Fortune::save

File_Fortune::save() – Save changes

Synopsis

require_once 'File/Fortune.php';

void File_Fortune::save ( )

Description

In most cases, it will not be necessary to save changes; __destruct() will save changes when the object goes out of scope. However, if you wish to manually ensure that changes are set, you may call save().

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.

previousFile_Fortune::getRandom (Previous) (Next) File_Fortune::setDirectorynext

Download Documentation Last updated: Sun, 18 Oct 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.