File_Fortune::getHeaderFile (Previous) (Next) File_Fortune::save

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

File_Fortune::getRandom()

File_Fortune::getRandom()  -- ランダムに fortune を取得する

説明

getRandom() は、fortune のひとつをランダムに取り出します。 fortune ファイルを明示的に指定している場合は、そのファイルから取り出します。 ディレクトリを指定している場合は、まず最初にその中からランダムに fortune ファイルを選択します。

例外・エラー

例外はスローされません。

注意

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

File_Fortune::getHeaderFile (Previous) (Next) File_Fortune::save

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.