function init() { parent::init(); $this->api->addHook('buildURL', $this); $this->getLanguage(); }
function init() { parent::init(); $this->switchLanguageIfRequired(); $this->getLanguage(); }