Login   Register  
PHP Classes
elePHPant
Icontem

cal_TagCloud: Display a tag cloud from an array of tags

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 (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2006-12-13 (7 years ago) RSS 2.0 feedNot enough user ratingsTotal: 913 All time: 3,609 This week: 1,578Up
Version License PHP version Categories  
cal_tagcloud 1.2GNU General Public Lice...5.0PHP 5, Content management
Description Author  

This class can be used to generate a tag cloud from an array of tags.

It takes an array with a list of tags and generate the cloud considering the number of times each tag appears in the list.

The class outputs a piece of HTML with links with the tag names pointing to pages with more detail about each tag.

The presentation of each tag is defined using CSS styles. The name of the CSS style of a tag is defined by a configurable prefix followed by the score of the tag.

The maximum number of tags to show in the cloud and the format of the tag link URL are also configurable details.

Picture of Cal Evans
Name: Cal Evans <contact>
Classes: 1 package by
Country: United States United States
Age: ???
All time rank: Not yet ranked
Week rank: 1763201 in United States United States

  Files folder image Files  
File Role Description
Accessible without login Plain text file README.TXT Doc. Basic instructions
Plain text file TagCloud.php Class The main class
Plain text file testTagCloud.php Example Self contained test file

 Version Control Unique User Downloads Download Rankings  
 0%Total:913All time:3,609
 This week:0This week:1,578Up