| alpha--view--widgets

# Class: TagCloud Source Location: /view/widgets/TagCloud.inc ## Class TagCloud Class Overview
A widget for rendering a tag cloud, based off the TagObject instances in the database. Located in /view/widgets/TagCloud.inc [line 17]
Author(s): John Collins <dev@alphaframework.org> Information Tags:
Version: | $Id: TagCloud.inc 1315 2011-03-09 18:09:22Z johnc $
Copyright: | 2010 John Collins
| Methods __construct render
[ Top ] Method Summary
TagCloud | __construct() | Constructor
string | render() | Render the tag cloud and return all of the HTML links in a single paragraph.
[ Top ] Methods Constructor __construct [line 36]
`TagCloud __construct( $limit )`
Constructor Parameters:
| $limit: |
API Tags:
Access: | public
[ Top ] render [line 48]
`string render( [$minLinkSize $minLinkSize = 8], [$maxLinkSize $maxLinkSize = 20], [$target $target = ''] )`
Render the tag cloud and return all of the HTML links in a single paragraph. Parameters:
$minLinkSize | $minLinkSize: | The minimum font size for any tag link, in points.
$maxLinkSize | $maxLinkSize: | The maximum font size for any tag link, in points.
$target | $target: | The target attribute for the links
API Tags:
Access: | public
[ Top ] Documentation generated on Thu, 17 Mar 2011 16:44:54 +0000 by phpDocumentor 1.4.3