Back to Language class

Method getTag

public string
getTag
()
Getter for the language tag (as defined in RFC 3066)
Returns
  • string The language tag.
Since
  • 1.7.0
Class: Language
Project: Joomla

Method getTag - Source code

/**
 * Getter for the language tag (as defined in RFC 3066)
 *
 * @return  string  The language tag.
 *
 * @since   1.7.0
 */
public function getTag()
{
    return $this->metadata['tag'];
}