PHP Classes

Classes of Lotsofcode

Recommend this page to a friend!
  All class groups  >  All authors  >  Classes of Lotsofcode (1)  >  Mission progress status  >  Reputation  
Picture of Lotsofcode
Name: Lotsofcode <contact>
Classes: 1
Country: United Kingdom
Age: ???
All time rank: 138463 in United Kingdom
Week rank: 215 Up12 in United Kingdom Up
All time users: 2213
Week users: 0
 
  A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z  
  Files folder image PHP Tag Cloud  
Display a tag cloud from a list of weighted words
This class can be used to generate a tag cloud from a list of words.

It builds a list of words from an associative array with multiple words that is passed to the class constructor. It may also add individual words later.

Each word is associated to a weight. The weight defines the relative size of the words in the tag cloud.

The class may shuffle the words to make the tag cloud return the words in a random order.

The class may return the tag cloud as an HTML string with the words rendered with CSS styles associated to each size, or as an array of words and associated sizes so the words can be rendered in a customized way by the application.
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: 83% 75% - 83% - - 57% 1634
Month: Not yet rated by the users


  A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z