public function getAllTags() { $params = $this->getState('params'); return TZ_Portfolio_PlusFrontHelperTags::getTagsByCategoryId($params->get('catid')); }
public static function getTagsByCategory($params) { $catids = $params->get('catid'); if (isset($catids)) { $tags = TZ_Portfolio_PlusFrontHelperTags::getTagsByCategoryId($catids); return $tags; } else { return false; } }