/** * Get tag cloud * * @param boolean $admin * * @return string HTML */ public function getTagCloud($admin = 0) { if (!$this->exists()) { return false; } if (!isset($this->_tagCloud)) { include_once PATH_CORE . DS . 'components' . DS . 'com_publications' . DS . 'helpers' . DS . 'tags.php'; $rt = new Helpers\Tags($this->_db); $this->_tagCloud = $rt->get_tag_cloud(0, $admin, $this->get('id')); } return $this->_tagCloud; }