File_Fortune::getRandom (Previous) (Next) File_Fortune::setDirectory

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

File_Fortune::save()

File_Fortune::save()  -- 変更を保存する

説明

ほとんどの場合は、変更をわざわざ保存する必要はありません。というのも、 オブジェクトがそのスコープから外れるときに __destruct() で自動的に変更を保存するからです。 とはいえ、もし明示的に変更を保存しておきたいのなら save() をコールするといいでしょう。

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

例外・エラー

File_Fortune_Exception をスローします。

注意

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

File_Fortune::getRandom (Previous) (Next) File_Fortune::setDirectory

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.