public function getTagsFromSearchResult()
    {
        $tags = $tagsForResult = array();
        $tagChar = $this->pObj->extConf['prePostTagChar'];
        $tagDivider = $tagChar . ',' . $tagChar;

        if ($this->sphinxSearchEnabled()) {
            $tagsForResult = $this->getTagsFromSphinx();
        } else {
            $tagsForResult = $this->getTagsFromMySQL();
        }
        foreach ($tagsForResult as $tagSet) {
            $tagSet = explode($tagDivider, trim($tagSet, $tagChar));
            foreach ($tagSet as $tag) {
                $tags[$tag] += 1;
            }
        }
        return $tags;
    }
public function getTagsFromSearchResult()
    {
        $tags = $tagsForResult = array();
        $tagChar = $this->pObj->extConf['prePostTagChar'];
        $tagDivider = $tagChar . ',' . $tagChar;

        if ($this->sphinxSearchEnabled()) {
            $tagsForResult = $this->getTagsFromSphinx();
        } else {
            $tagsForResult = $this->getTagsFromMySQL();
        }
        foreach ($tagsForResult as $tagSet) {
            $tagSet = explode($tagDivider, trim($tagSet, $tagChar));
            foreach ($tagSet as $tag) {
                $tags[$tag] += 1;
            }
        }
        return $tags;
    }
public function getTagsFromSearchResult ( ) { $ tags = $ tagsForResult = array ( ) ; $ tagChar = $ this -> pObj -> extConf [ 'prePostTagChar' ] ; $ tagDivider = $ tagChar . ',' . $ tagChar ; if ( $ this -> sphinxSearchEnabled ( ) ) { $ tagsForResult = $ this -> getTagsFromSphinx ( ) ; } else { $ tagsForResult = $ this -> getTagsFromMySQL ( ) ; } foreach ( $ tagsForResult as $ tagSet ) { $ tagSet = explode ( $ tagDivider , trim ( $ tagSet , $ tagChar ) ) ; foreach ( $ tagSet as $ tag ) { $ tags [ $ tag ] += 1 ; } } return $ tags ; }
get all tags which are found in search result
additional the tags are counted

@return array Array containing the tags as key and the sum as value
get all tags which are found in search result additional the tags are counted