public function init() { if (!$this->initialized) { foreach ($this->getDefinedLanguageTypes() as $type) { $this->getCurrentLanguage($type); } $this->initialized = TRUE; } }