class Multilanguage

Utitlity class for multilang

Methods

static  boolean
isEnabled()

Method to determine if the language filter plugin is enabled.

static  array
getSiteLangs()

Method to return a list of published site languages.

static  array
getSiteHomePages()

Method to return a list of language home page menu items.

Details

static boolean isEnabled()

Method to determine if the language filter plugin is enabled.

This works for both site and administrator.

Return Value

boolean True if site is supporting multiple languages; false otherwise.

static array getSiteLangs()

Method to return a list of published site languages.

Return Value

array of language extension objects.

static array getSiteHomePages()

Method to return a list of language home page menu items.

Return Value

array of menu objects.