CMS Made Simple API

CmsLanguageDetector
in package

AbstractYes

An abstract class that is used to determine a suitable language for display This may be used by CMSMS on frontend requests to detect a suitable language.

modules may supply a language detector to read from preferences etc.

Tags
see
CmsNlsOperations::set_language_detector()
author

Robert Campbell

license

GPL

since
1.11

Table of Contents

Methods

find_language()  : string
Abstract function to determine a language.

Methods

find_language()

Abstract function to determine a language.

public abstract find_language() : string

This method may use cookies, session data, user preferences, values from the url or from the browser to determine a language. The returned language must exist within the CMSMS Install.

Return values
string

language name


        
On this page

Search results