Login   Register  
PHP Classes
elePHPant
Icontem

floMessages: Generate random texts from multiple message lists

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2005-08-19 (9 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 302 All time: 6,512 This week: 2,126Up
Version License Categories  
flomessages 1.0Free for non-commercial...Text processing
Description Author  

This is a simple class that can be used to generate random text messages.

It provides means to build multiple lists of text messages. Then it can pick a random message from on of the lists that was built.

It could be useful in an Adlib type application or in an environment requiring numerous random textual responses.

It can also be used to store a combination of random and single response aliases for use in a language file.

The language files could be saved to a file by serializing an object of this class.

Picture of Joshua hatfield
Name: Joshua hatfield <contact>
Classes: 10 packages by
Country: United States United States
Age: 36
All time rank: 20923 in United States United States
Week rank: 228 Down18 in United States United States Up
Innovation award
Innovation award
Nominee: 4x

Winner: 1x

  Files folder image Files  
File Role Description
Plain text file floMessages.php Class Random message class file.
Accessible without login Plain text file sample.php Example An example file showing how to use floMessages.
Accessible without login Plain text file serial.txt Data serialized instance of floMessage
Accessible without login Plain text file serial_sample.php Example Example using a serial input

 Version Control Unique User Downloads Download Rankings  
 0%Total:302All time:6,512
 This week:0This week:2,126Up