public function getTerms($taxonomy = null)
    {
        if ($taxonomy) {
            return (array_key_exists($taxonomy, $this->_terms))
                ? $this->_terms[$taxonomy]
                : array();
        }

        return $this->_terms;
    }
public function getTerms($taxonomy = null)
    {
        if ($taxonomy) {
            return (array_key_exists($taxonomy, $this->_terms))
                ? $this->_terms[$taxonomy]
                : array();
        }

        return $this->_terms;
    }
public function getTerms ( $ taxonomy = null ) { if ( $ taxonomy ) { return ( array_key_exists ( $ taxonomy , $ this -> _terms ) ) ? $ this -> _terms [ $ taxonomy ] : array ( ) ; } return $ this -> _terms ; }
Get the terms
@param string $taxonomy
@return array
Get the terms