Exemple #1
0
 /**
  * Get a tag cloud for an object
  *
  * @param      integer $showsizes Show tag size based on use?
  * @param      integer $admin     Show admin tags?
  * @param      integer $objectid  Object ID
  * @return     mixed Return description (if any) ...
  */
 public function get_tag_cloud($showsizes = 0, $admin = 0, $objectid = NULL)
 {
     $t = new \Components\Tags\Tables\Tag($this->_db);
     $tags = $t->getCloud($this->_tbl, $admin, $objectid);
     return $this->buildCloud($tags, 'alpha', $showsizes);
 }