src/Mouf/Utils/I18n/Fine/Translate/FinePHPArrayTranslationService.php
public function getAllMessages($language = null) {
	
		$this->loadAllMessages();

		// The array of messages by message, then by language:
		// array(message_key => array(language => message))
		$msgs = array();
	
		$keys = $this->getAllKeys();
	
		$languages = $this->getSupportedLanguages();
	
		foreach ($keys as $key) {
			$msgs[$key] = $this->getMessageForAllLanguages($key, $language);
		}
	
		ksort($msgs);
		$response = array("languages"=>$languages, "msgs"=>$msgs);
		return $response;
	}
public function getAllMessages($language = null) {
	
		$this->loadAllMessages();

		// The array of messages by message, then by language:
		// array(message_key => array(language => message))
		$msgs = array();
	
		$keys = $this->getAllKeys();
	
		$languages = $this->getSupportedLanguages();
	
		foreach ($keys as $key) {
			$msgs[$key] = $this->getMessageForAllLanguages($key, $language);
		}
	
		ksort($msgs);
		$response = array("languages"=>$languages, "msgs"=>$msgs);
		return $response;
	}
public function getAllMessages ( $ language = null ) { $ this -> loadAllMessages ( ) ; // The array of messages by message, then by language:
 // array(message_key => array(language => message))
 $ msgs = array ( ) ; $ keys = $ this -> getAllKeys ( ) ; $ languages = $ this -> getSupportedLanguages ( ) ; foreach ( $ keys as $ key ) { $ msgs [ $ key ] = $ this -> getMessageForAllLanguages ( $ key , $ language ) ; } ksort ( $ msgs ) ; $ response = array ( "languages" => $ languages , "msgs" => $ msgs ) ; return $ response ; }
Loads and returns all the messages with languages, in a big array.
Loads and returns all the messages with languages in a big array .