public function getMessage($key) {
        if (!$this->_loaded) $this->load();
        if (!isset($this->messages[$key])) return "[$key]";
        return $this->messages[$key];
    }
public function getMessage($key) {
        if (!$this->_loaded) $this->load();
        if (!isset($this->messages[$key])) return "[$key]";
        return $this->messages[$key];
    }
public function getMessage ( $ key ) { if ( ! $ this -> _loaded ) $ this -> load ( ) ; if ( ! isset ( $ this -> messages [ $ key ] ) ) return "[$key]" ; return $ this -> messages [ $ key ] ; }
Retrieves a localised message.
@param $key string identifier of message
@return string localised message
Retrieves a localised message .