PHP Classes

floMessages: Generate random texts from multiple message lists

Recommend this page to a friend!
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 306 This week: 1All time: 7,358 This week: 560Up
Version License Categories
flomessages 1.0Free for non-comm...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: 45
All time rank: 20223 in United States United States
Week rank: 106 Up12 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:306
This week:1
All time:7,358
This week:560Up