Contains class core_tag\output\tagindex
Copyright: | 2015 Marina Glancy |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 121 lines (4 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
tagcloud:: (3 methods):
__construct()
get_count()
export_for_template()
__construct($tagset, $totalcount = 0, $fromctx = 0, $ctx = 0, $rec = 1) X-Ref |
Constructor param: array $tagset array of core_tag or stdClass elements, each of them must have attributes: param: int $totalcount total count of tags (for example to indicate that there are more tags than the count of tagset) param: int $fromctx context id where this tag cloud is displayed param: int $ctx context id for tag view link param: int $rec recursive argument for tag view link |
get_count() X-Ref |
Returns number of tags in the cloud return: int |
export_for_template(renderer_base $output) X-Ref |
Export this data so it can be used as the context for a mustache template. param: renderer_base $output return: stdClass |