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