public function getLanguagesSelector()
    {
        $view = new View("@LanguagesManager/getLanguagesSelector");
        $view->languages = API::getInstance()->getAvailableLanguageNames();
        $view->currentLanguageCode = self::getLanguageCodeForCurrentUser();
        $view->currentLanguageName = self::getLanguageNameForCurrentUser();
        return $view->render();
    }
public function getLanguagesSelector()
    {
        $view = new View("@LanguagesManager/getLanguagesSelector");
        $view->languages = API::getInstance()->getAvailableLanguageNames();
        $view->currentLanguageCode = self::getLanguageCodeForCurrentUser();
        $view->currentLanguageName = self::getLanguageNameForCurrentUser();
        return $view->render();
    }
public function getLanguagesSelector ( ) { $ view = new View ( "@LanguagesManager/getLanguagesSelector" ) ; $ view -> languages = API :: getInstance ( ) -> getAvailableLanguageNames ( ) ; $ view -> currentLanguageCode = self :: getLanguageCodeForCurrentUser ( ) ; $ view -> currentLanguageName = self :: getLanguageNameForCurrentUser ( ) ; return $ view -> render ( ) ; }
Renders and returns the language selector HTML.

@return string
Renders and returns the language selector HTML .