Actions

API16

JLanguage/getInstance

< API16:JLanguage

The "API16" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Description

Returns a language object


<! removed transcluded page call, red link never existed >

Syntax

static getInstance($lang)
Parameter Name Default Value Description
$lang $lang The language to use.

Returns

The Language object. 

Defined in

libraries/joomla/language/language.php

Importing

jimport( 'joomla.language.language' );

Source Body

public static function getInstance($lang)
{
        return new JLanguage($lang);
}


<! removed transcluded page call, red link never existed >

Examples

Code Examples


Advertisement