void
File_Fortune::delete
(
int
$index
)
delete() は、指定した位置にある fortune を削除します。 しかし、これを使用するよりも配列記法で unset を使用したほうが簡単です。
<?php
unset($fortunes[$index]);
複数のファイルやディレクトリを操作している場合は fortune の一覧を操作することができません。 そのため、このメソッドは例外を発生させます。
$index
File_Fortune_Exception をスローします。
This function can not be called statically.