JLanguage/1.5

From Joomla! Documentation
< JLanguage
Revision as of 16:03, 13 February 2013 by JoomlaWikiBot (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Joomla 1.5 JLanguage

Description

Description:JLanguage [Edit Descripton]

Methods

Visibility Method name Description
public _ Translate function, mimics the php gettext (alias _) function.
public __construct Constructor activating the default information of the language.
public _getCallerInfo Determine who called or .
public _load Loads a language file.
public _parseLanguageFiles Searches for language directories within a certain base dir.
public _parseXMLLanguageFile Parse XML file for language information.
public _parseXMLLanguageFiles Parses XML files for language information.
public exists Check if a language exists.
public get Get a matadata language property.
public getBackwardLang Getter for backward compatible language name.
public getDebug Get the Debug property.
public getDefault Get the default language code.
public getInstance Returns a reference to a language object.
public getKnownLanguages Returns a list of known languages for an area.
public getLanguagePath Get the path to a language.
public getLocale Get locale property.
public getMetadata Returns a associative array holding the metadata.
public getName Getter for Name.
public getOrphans Get the list of orphaned strings if being tracked.
public getPaths Get a list of language files that have been loaded.
public getPdfFontName Getter for PDF Font Name.
public getTag Get for the language tag (as defined in RFC 3066).
public getUsed Get the list of used strings.
public getWinCP Getter for Windows locale code page.
public hasKey Determines is a key exists.
public isRTL Get the RTL property.
public load Loads a single language file and appends the results to the existing strings.
public setDebug Set the Debug property.
public setDefault Set the default language code.
public setLanguage Set the language attributes to the given language.
public transliterate Transliterate function.
  • Defined in libraries/joomla/language/language.php
  • Extends JObject

Importing

jimport( 'joomla.language.language' );

See also

SeeAlso:JLanguage [Edit See Also]

User contributed notes

<CodeExamplesForm />


Personal tools
Namespaces

Variants
Actions
Navigation
Joomla! Sites
Toolbox