Recommend this page to a friend! |
Download .zip |
Info | View files (3) | Download .zip | Reputation | Support forum | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2006-12-13 (9 years ago) | Not enough user ratings | Total: 926 This week: 1 | All time: 3,718 This week: 1,047 |
Version | License | PHP version | Categories | |||
cal_tagcloud 1.2 | GNU General Publi... | 5.0 | PHP 5, Content management |
Description | Author | |||||||||||||
This class can be used to generate a tag cloud from an array of tags. |
|
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= |
Files |
File | Role | Description |
---|---|---|
README.TXT | Doc. | Basic instructions |
TagCloud.php | Class | The main class |
testTagCloud.php | Example | Self contained test file |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
0% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.
Related pages |
Project Home Page The TagCloudMaker Project Home |
Pages that reference this package |
Fluent Interfaces in PHP Fluent Interfaces are not a new programming construct... |