TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Form\Domain\Model\Attribute\LangAttribute Class Reference
Inheritance diagram for TYPO3\CMS\Form\Domain\Model\Attribute\LangAttribute:
TYPO3\CMS\Form\Domain\Model\Attribute\AbstractAttribute tx_form_Domain_Model_Attributes_Lang

Public Member Functions

 getValue ()
 
- Public Member Functions inherited from TYPO3\CMS\Form\Domain\Model\Attribute\AbstractAttribute
 setValue ($value)
 
 getValue ()
 

Additional Inherited Members

- Protected Attributes inherited from TYPO3\CMS\Form\Domain\Model\Attribute\AbstractAttribute
 $value
 
 $elementId
 
 $localCobj
 

Detailed Description

This file is part of the TYPO3 CMS project.

It is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, either version 2 of the License, or any later version.

For the full copyright and license information, please read the LICENSE.txt file that was distributed with this source code.

The TYPO3 project - inspiring people to share! Attribute 'lang'

Author
Patrick Broens patri.nosp@m.ck@p.nosp@m.atric.nosp@m.kbro.nosp@m.ens.n.nosp@m.l

Definition at line 22 of file LangAttribute.php.

Member Function Documentation

◆ getValue()

TYPO3\CMS\Form\Domain\Model\Attribute\LangAttribute::getValue ( )

Gets the attribute 'lang'. Used with all elements Case Insensitive

This attribute specifies the base language of an element's attribute values and text content. The default value of this attribute is unknown.

Briefly, language codes consist of a primary code and a possibly empty series of subcodes:

language-code = primary-code ( "-" subcode )

Here are some sample language codes: "en": English "en-US": the U.S. version of English. "en-cockney": the Cockney version of English. "i-navajo": the Navajo language spoken by some Native Americans. "x-klingon": The primary tag "x" indicates an experimental language tag

Returns
string Attribute value

Definition at line 46 of file LangAttribute.php.