TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Form\ElementCounter Class Reference
Inheritance diagram for TYPO3\CMS\Form\ElementCounter:
TYPO3\CMS\Core\SingletonInterface tx_form_System_Elementcounter

Public Member Functions

 getElementId ()
 

Protected Attributes

 $elementCounter = 1
 

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! Element counter for model

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

Member Function Documentation

◆ getElementId()

TYPO3\CMS\Form\ElementCounter::getElementId ( )

Raise the element counter by one

Returns
integer

Definition at line 36 of file ElementCounter.php.

References TYPO3\CMS\Form\ElementCounter\$elementCounter.

Member Data Documentation

◆ $elementCounter

TYPO3\CMS\Form\ElementCounter::$elementCounter = 1
protected

Definition at line 29 of file ElementCounter.php.

Referenced by TYPO3\CMS\Form\ElementCounter\getElementId().