File_Fortune::create | File_Fortune::getAll |
File_Fortune | |
PEAR Manual | |
require_once 'File/Fortune.php'; |
void
File_Fortune::delete
(
int
$index
)
delete() may be used to delete a fortune at a given index. However, the easier usage is to simply use unset with array notation:
|
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::create | File_Fortune::getAll |
File_Fortune | |
PEAR Manual | |