File_Fortune::getRandom

File_Fortune::getRandom() – Retrieve random fortune

Synopsis

require_once 'File/Fortune.php';

string File_Fortune::getRandom ( )

Описание

getRandom() pulls a random fortune. If a fortune file has been explicitly specified, the fortune will be pulled from that file; if a directory has been specified, a random fortune file will first be selected.

Throws

throws no exceptions thrown

Замечание

This function can not be called statically.

    Поддержать сайт на родительском проекте КГБ