MagicCMS Documentation

MagicLanguage Members

The MagicLanguage type exposes the following members.

Constructors


  Name Description
Public method MagicLanguage(String)
Initializes a new instance of the MagicLanguage class fetching it from the database.

Methods


  Name Description
Public method Static member GetKey
Gets language name by language id.
Public method Static member IsMultilanguage
Determines whether this application is multilanguage.
Public method Static member Reset
Resets and populate language definitions dictionary.
Public method Save
Saves the language definition.

Properties


  Name Description
Public property Active
Gets or sets the active flag.
Public property AutoHide
Gets or sets Auto hide flag.
Public property LangId
Gets or sets the language identifier.
Public property LangName
Gets or sets the name of the language.
Public property Static member Languages
Static dictionary that return all defined languages.