API15

JLanguage/getTag

From Joomla! Documentation

< API15:JLanguage
Revision as of 17:23, 22 March 2010 by Doxiki (talk | contribs) (New page: ===Description=== Get for the language tag (as defined in RFC 3066) <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>[[Description:JLanguage/getTag|Edit Descripton]...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The "API15" 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[edit]

Get for the language tag (as defined in RFC 3066)

[Edit Descripton]

Template:Description:JLanguage/getTag

Syntax[edit]

getTag()


Returns[edit]

string The language tag

Defined in[edit]

libraries/joomla/language/language.php

Importing[edit]

jimport( 'joomla.language.language' );

Source Body[edit]

function getTag() {
        return $this->_metadata['tag'];
}

[Edit See Also] Template:SeeAlso:JLanguage/getTag

Examples[edit]

<CodeExamplesForm />