File_Fortune::create

File_Fortune::create() – 配列の内容をもとにして、新しい fortune ファイルを作成する

Synopsis

require_once 'File/Fortune.php';

void File_Fortune::create ( $fortunes , string $file = = null )

Description

This package is not documented yet.

Parameter

$fortunes

新しい fortune ファイルの初期データとして使用する fortune メッセージの配列。

string $file

オプションで、新たに作成する fortune ファイルの名前を指定します。 省略した場合は、setFile() で設定したものを使用します。

Throws

File_Fortune_Exception をスローします。

Note

This function can not be called statically.