Interface LanguageProviderInterface

Interface LanguageProviderInterface

Direct known implementers

LanguageProvider

Methods summary

public getIds( void ) : IdCollection

Returns the language IDs.

public getCodes( void ) : KeyValueCollection

Returns the language codes.

public getCodeById( IdType $id ) : LanguageCode

Returns the language code from a specific language, selected by the language ID.

public getDirectoryById( IdType $id ) : string

Returns the directory from the a specific language, selected by the language ID.

public getCharsetById( IdType $id ) : string

Returns the charset from the a specific language, selected by the language ID.

public getIdByCode( LanguageCode $code ) : integer

Returns the ID from the a specific language, selected by the language code.

public getDirectoryByCode( LanguageCode $code ) : string

Returns the directory from the a specific language, selected by the language code.

public getCharsetByCode( LanguageCode $code ) : string

Returns the charset from the a specific language, selected by the language code.

public getActiveCodes( void ) : KeyValueCollection

Returns the active language codes.

public getIconFilenameByCode( LanguageCode $code ) : string

Returns the icon for a specific language by a given language code.

public getDefaultLanguageCode( void ) : string

Returns the default language code.

public getDefaultLanguageId( void ) : integer

Returns the default language ID.