File_Fortune::getRandom | File_Fortune::setDirectory |
File_Fortune | |
PEAR Manual | |
require_once 'File/Fortune.php'; |
void
File_Fortune::save
(
)
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 File_Fortune_Exception
This function can not be called statically.
File_Fortune::getRandom | File_Fortune::setDirectory |
File_Fortune | |
PEAR Manual | |