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

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

File_Fortune::delete()

File_Fortune::delete()  -- 既存の fortune を削除する

説明

delete() は、指定した位置にある fortune を削除します。 しかし、これを使用するよりも配列記法で unset を使用したほうが簡単です。


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

複数のファイルやディレクトリを操作している場合は fortune の一覧を操作することができません。 そのため、このメソッドは例外を発生させます。

パラメータ

integer $index

例外・エラー

File_Fortune_Exception をスローします。

注意

この関数は、スタティックにコールする ことはできません。

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

Download Documentation Last updated: Sun, 05 Oct 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.