| 1 | <?php namespace Datium\Tools; |
||
| 12 | class Lang { |
||
| 13 | |||
| 14 | /** |
||
| 15 | * Store language table |
||
| 16 | * @var array |
||
| 17 | */ |
||
| 18 | protected static $langTable; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * Language translated words |
||
| 22 | * @var array |
||
| 23 | */ |
||
| 24 | protected static $config; |
||
| 25 | |||
| 26 | protected static $obj; |
||
| 27 | |||
| 28 | /************************************************************ |
||
| 29 | * Return translated expression |
||
| 30 | ************************************************************ |
||
| 31 | * |
||
| 32 | * @since Aug, 21 2015 |
||
| 33 | * @param text string |
||
| 34 | * @return mixed |
||
| 35 | * |
||
| 36 | *\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ |
||
| 37 | */ |
||
| 38 | public static function setConfig( $language ) { |
||
| 65 | |||
| 66 | public static function getConfig() { |
||
| 71 | |||
| 72 | } |
||
| 73 |