protected function getTagsFromSphinx()
    {
        if (is_array($this->searchResults) && count($this->searchResults)) {
            return array_map(
                function ($row) {
                    return $row['tags'];
                },
                $this->searchResults
            );
        } else {
            return array();
        }
    }
protected function getTagsFromSphinx()
    {
        if (is_array($this->searchResults) && count($this->searchResults)) {
            return array_map(
                function ($row) {
                    return $row['tags'];
                },
                $this->searchResults
            );
        } else {
            return array();
        }
    }
protected function getTagsFromSphinx ( ) { if ( is_array ( $ this -> searchResults ) && count ( $ this -> searchResults ) ) { return array_map ( function ( $ row ) { return $ row [ 'tags' ] ; } , $ this -> searchResults ) ; } else { return array ( ) ; } }
Determine the available tags for the search result by looking at
all the tag fields

@return array
Determine the available tags for the search result by looking at all the tag fields