public function setWordCount($wordCount)
    {
        $parameters = $this->request->getParameters();
        if (is_numeric($wordCount)
            && (int)$wordCount == (float)$wordCount // Is integer?
            && $wordCount > 0
        ) {
            $parameters['wordCount'] = $wordCount;
        }
        else
        {
            unset($parameters['wordCount']);
        }
        // Make sure that the tag cloud is fetched again. In theory, we only
        // have to do this when wordCount increases.
        $this->tagCloud = null;
    }
public function setWordCount($wordCount)
    {
        $parameters = $this->request->getParameters();
        if (is_numeric($wordCount)
            && (int)$wordCount == (float)$wordCount // Is integer?
            && $wordCount > 0
        ) {
            $parameters['wordCount'] = $wordCount;
        }
        else
        {
            unset($parameters['wordCount']);
        }
        // Make sure that the tag cloud is fetched again. In theory, we only
        // have to do this when wordCount increases.
        $this->tagCloud = null;
    }
public function setWordCount ( $ wordCount ) { $ parameters = $ this -> request -> getParameters ( ) ; if ( is_numeric ( $ wordCount ) && ( int ) $ wordCount == ( float ) $ wordCount // Is integer? && $ wordCount > 0 ) { $ parameters [ 'wordCount' ] = $ wordCount ; } else { unset ( $ parameters [ 'wordCount' ] ) ; } // Make sure that the tag cloud is fetched again. In theory, we only // have to do this when wordCount increases. $ this -> tagCloud = null ; }
Set the maximum amount of tag queries to be fetched.

@param int $wordCount The number of tag queries to be fetched. Something
else than a positive integer is passed, the word count will be
unlimited (or determined by FACT-Finder).
Set the maximum amount of tag queries to be fetched .