File_Fortune::create (Previous) (Next) File_Fortune::getAll

View this page in Last updated: Sun, 28 Sep 2008
English | French | German | Japanese | Plain HTML

File_Fortune::delete()

File_Fortune::delete()  -- Delete an existing fortune

Beschreibung

delete() may be used to delete a fortune at a given index. However, the easier usage is to simply use unset with array notation:


<?php
unset($fortunes[$index]);

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

Parameter

integer $index

Fehler-Meldungen

throws File_Fortune_Exception

Hinweise

Diese Methode kann nicht statisch aufgerufen werden.

File_Fortune::create (Previous) (Next) File_Fortune::getAll

Download Documentation Last updated: Sun, 28 Sep 2008
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.