- Publicity: Public Only All
tagcloud-procs.tcl
Procs to generate a tag cloud for a given category tree.
- Location:
- packages/categories/tcl/tagcloud-procs.tcl
- Created:
- Sun Oct 2 16:58:34 2005
- Author:
- Matthew Burke <matt-oacs@bluedino.net>
- CVS Identification:
$Id: tagcloud-procs.tcl,v 1.8.2.1 2019/03/15 13:28:50 antoniop Exp $
Procedures in this file
- category::tagcloud::get_tags (public)
- category::tagcloud::tagcloud (public)
Detailed information
category::tagcloud::get_tags (public)
category::tagcloud::get_tags -tree_id tree_id
Returns a list of categories and their weights (number of objects mapped to each category) for a give category tree. This is a memoized function which caches for two hours.
- Switches:
- -tree_id (required)
- Author:
- Matthew Burke <matt-oacs@bluedino.net>
- Created:
- Oct 1, 2005
- See Also:
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- category_object_mapping
category::tagcloud::tagcloud (public)
category::tagcloud::tagcloud -tree_id tree_id
Generate a tag cloud for the categories in the given category tree.
- Switches:
- Options:
- -tree_id (required)
- -tree_id
- tree_id of the tree for which to generate the cloud.
- Returns:
- HTML fragment for the tag cloud.
- Author:
- Matthew Burke <matt-oacs@bluedino.net>
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- category_object_mapping