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

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 'accesskey'

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 AccesskeyAttribute.php.

Member Function Documentation

◆ getValue()

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

Gets the attribute 'accesskey'. Used with the element 'button, input, label, legend, textarea' Not subject to case changes

This attribute assigns an access key to an element. An access key is a single character from the document character set. Note. Authors should consider the input method of the expected reader when specifying an accesskey.

Pressing an access key assigned to an element gives focus to the element. The action that occurs when an element receives focus depends on the element. For example, when a user activates a link defined by the A element, the user agent generally follows the link. When a user activates a radio button, the user agent changes the value of the radio button. When the user activates a text field, it allows input, etc.

Returns
string Attribute value

Definition at line 43 of file AccesskeyAttribute.php.