n2n Page Rocket 1 API

n2n\l10n

­N2n­Locale

N2nLocale implements UrlableElement

All Implemented Interfaces:

Methods summary

Modifier and Type Method
public __construct ( string n2nLocaleId )
public string getId ( )
public string getName ( string displayN2nLocale = null )
public string getLanguageId ( )
public Language getLanguage ( )
public string getRegionId ( )
public Region getRegion ( )
public boolean equals ( string o )
public string toWebId ( bool ignoreAliases = false )
public string toHttpId ( )
public string toPrettyId ( )
public string urlify ( )
public string __toString ( )
public static string parseHttpN2nLocaleId ( string httpN2nLocaleShort )
public static string parseWebId ( string webId , bool ignoreAliases = false )
public static acceptFromHttp ( unknown httpAcceptLanguage )
public static setDefault ( N2nLocale defaultN2nLocale )
public static getDefault ( )
public static setFallback ( N2nLocale fallbackN2nLocale )
public static getFallback ( )
public static getAdmin ( )
public static setAdmin ( N2nLocale adminN2nLocale )
public static N2nLocale [] getWebAliases ( )
public static setWebAliases ( N2nLocale webAliases )
public static bool containsWebAlias ( string webAlias )
public static string getWebAliasForN2nLocale ( N2nLocale n2nLocale )
public static N2nLocale create ( mixed expression )
public static N2nLocale|null build ( mixed expression )
public static N2nLocale fromWebId ( string webId , bool ignoreAliases = false , bool lenient = false )

Methods in detail