PHP Classes

File: README.TXT

Recommend this page to a friend!
  Classes of Cal Evans   cal_TagCloud   README.TXT   Download  
File: README.TXT
Role: Documentation
Content type: text/plain
Description: Basic instructions
Class: cal_TagCloud
Display a tag cloud from an array of tags
Author: By
Last change: added the project homepage.
Date: 17 years ago
Size: 816 bytes
 

Contents

Class file image Download
Cal Evans <cal@calevans.com> My Homepage: http://www.calevans.com Project Homepage: http://www.calevans.com/view.php/page/tagcloud (c) 2006 Cal Evans, All Rights Reserved Licensed under the GPL 2.0 --- 1: Create a directory cal somewhere in your include_path. 2: Place TagCloud.php in it. 3: In your code use: require 'cal/TagCloud.php'; $cloudMaker = new cal_TagCloud($yourArrayOfTags); // Set options here. $cloudMaker->buildCloud(); echo $cloudMaker->cloudOutput; In the above example, $yourArrayOfTags is a single dimensional array of tags. The more a tag is in the array, the higher it's weight and score. See tagCloydTest.php for a working example. You can see a working example on the project homage: http://www.calevans.com/tagCloud/ Email me if you have questions. =C=