summaryrefslogblamecommitdiffstats
path: root/dictionary.php
blob: 00834a49a6b48cb42c9f760d95ae0cdd28af2df9 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11


                 

                                   
        




                                                                                           

         

                                          
         
        
 
<?php

class Dictionary{
	private static $dictionary;
	private static $langArray;
	
	function build(){
		self::$dictionary = json_decode(file_get_contents("dictionary.json"),true);
		foreach(self::$dictionary as $key => $text){
			self::$langArray[$key] = $text[LANG];
		}
	}

	public static function getArray(){
		return self::$langArray;
	}
	
}