[ANNOUNCEMENT] File_Fortune-0.9.0 (beta) Released.
| From: | PEAR Announce | Date: | Thu, 14 Jul 2005 18:15:11 +0000 |
| Subject: | [ANNOUNCEMENT] File_Fortune-0.9.0 (beta) Released. | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-20011@lists.php.net to get a copy of this message | ||
The new PEAR package File_Fortune-0.9.0 (beta) has been released at http://pear.php.net/.
Release notes
-------------
2005-07-13: 0.9.0
================
* Initial PEAR release:
* Fixed typo in File_Fortune_Writer when throwing an exception
* Renamed exception classes to conform to PEAR CS
* Created tutorial documentation (slightly expanded version of what was in API
docs)
* Trimmed down the API docs to omit examples
* Added getRandomFromSet() method and corresponding unit test; allows grabbing
a random fortune from a list of files
* Updates to phpFortune example to use getRandomFromSet()
Package Info
-------------
File_Fortune provides a PHP interface to reading fortune files. With it, you may
retrieve a single fortune, a random fortune, or all fortunes in the file.
File_Fortune_Writer provides an interface for manipulating the contents of a
fortune file. It allows you to write a complete fortune file and the associated
binary header file from an array of fortunes. You may also add fortunes, delete
fortunes, or update individual fortunes in a fortune file. All write operations
will produce a binary header file to allow for greater compatability with the
fortune and fortune-mod programs (as well as other fortune interfaces).
Related Links
-------------
Package home: http://pear.php.net/package/File_Fortune
Changelog: http://pear.php.net/package/File_Fortune/download/0.9.0
Download: http://pear.php.net/get/File_Fortune-0.9.0.tgz
Authors
-------------
Matthew Weier O'Phinney (lead)