File_Fortune::add

File_Fortune::add() – 新しい fortune を追加する

Synopsis

require_once 'File/Fortune.php';

File_Fortune File_Fortune::add ( string $fortune )

Description

This package is not documented yet.

Parameter

string $fortune

fortune ファイルに追加する文字列。指定した内容が fortune ファイルに追記されます。

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

Throws

File_Fortune_Exception をスローします。

Note

This function can not be called statically.