public function getAllTranslations()
    {
        $this->loadTranslations($this->currentLanguage);

        if (!isset($this->translations[$this->currentLanguage])) {
            return array();
        }

        return $this->translations[$this->currentLanguage];
    }
public function getAllTranslations()
    {
        $this->loadTranslations($this->currentLanguage);

        if (!isset($this->translations[$this->currentLanguage])) {
            return array();
        }

        return $this->translations[$this->currentLanguage];
    }
public function getAllTranslations ( ) { $ this -> loadTranslations ( $ this -> currentLanguage ) ; if ( ! isset ( $ this -> translations [ $ this -> currentLanguage ] ) ) { return array ( ) ; } return $ this -> translations [ $ this -> currentLanguage ] ; }
Returns all the translation messages loaded.

@return array
Returns all the translation messages loaded .