public function getKeyword($language = null)
    {
        if (empty($language)) {
            $language = $this->mainLanguageCode;
        }

        if (!is_array($this->keywords) || !array_key_exists($language, $this->keywords)) {
            return null;
        }

        return $this->keywords[$language];
    }
public function getKeyword($language = null)
    {
        if (empty($language)) {
            $language = $this->mainLanguageCode;
        }

        if (!is_array($this->keywords) || !array_key_exists($language, $this->keywords)) {
            return null;
        }

        return $this->keywords[$language];
    }
public function getKeyword ( $ language = null ) { if ( empty ( $ language ) ) { $ language = $ this -> mainLanguageCode ; } if ( ! is_array ( $ this -> keywords ) || ! array_key_exists ( $ language , $ this -> keywords ) ) { return null ; } return $ this -> keywords [ $ language ] ; }
Gets a keyword from keyword collection.

@param string $language If not given, the main language is used

@return string
Gets a keyword from keyword collection .