| 1 | <?php |
||
| 10 | class TranslationService implements TranslationServiceInterface |
||
| 11 | { |
||
| 12 | /** @var \PDO|\Enlight_Components_Db_Adapter_Pdo_Mysql */ |
||
| 13 | protected $db; |
||
| 14 | protected $countryCode; |
||
| 15 | |||
| 16 | protected $translations = []; |
||
| 17 | |||
| 18 | public function __construct($db, $language) |
||
| 23 | |||
| 24 | public function get($topic, $value) |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Translate the iso3 country name to either an english or a german string |
||
| 36 | * |
||
| 37 | * @param $countries |
||
| 38 | * @return mixed |
||
| 39 | */ |
||
| 40 | private function getTranslatedCountryNames($countries) |
||
| 61 | } |
||
| 62 |