TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Core\FormProtection\DisabledFormProtection Class Reference
Inheritance diagram for TYPO3\CMS\Core\FormProtection\DisabledFormProtection:
TYPO3\CMS\Core\FormProtection\AbstractFormProtection t3lib_formprotection_DisabledFormProtection

Public Member Functions

 __construct ()
 
 generateToken ($formName, $action='', $formInstanceName='')
 
 validateToken ($tokenId, $formName, $action='', $formInstanceName='')
 
 persistSessionToken ()
 
- Public Member Functions inherited from TYPO3\CMS\Core\FormProtection\AbstractFormProtection
 __destruct ()
 
 clean ()
 
 generateToken ($formName, $action='', $formInstanceName='')
 
 validateToken ($tokenId, $formName, $action='', $formInstanceName='')
 
 persistSessionToken ()
 

Protected Member Functions

 createValidationErrorMessage ()
 
 retrieveSessionToken ()
 
- Protected Member Functions inherited from TYPO3\CMS\Core\FormProtection\AbstractFormProtection
 getSessionToken ()
 
 generateSessionToken ()
 
 createValidationErrorMessage ()
 
 retrieveSessionToken ()
 

Additional Inherited Members

- Protected Attributes inherited from TYPO3\CMS\Core\FormProtection\AbstractFormProtection
 $sessionToken
 

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! This class is a dummy implementation of the form protection, which is used when no authentication is used.

Author
Helmut Hummel helmu.nosp@m.t.hu.nosp@m.mmel@.nosp@m.typo.nosp@m.3.org

Definition at line 23 of file DisabledFormProtection.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Core\FormProtection\DisabledFormProtection::__construct ( )

Disable parent constructor

Definition at line 28 of file DisabledFormProtection.php.

Member Function Documentation

◆ createValidationErrorMessage()

TYPO3\CMS\Core\FormProtection\DisabledFormProtection::createValidationErrorMessage ( )
protected

Dummy implementation

Definition at line 56 of file DisabledFormProtection.php.

◆ generateToken()

TYPO3\CMS\Core\FormProtection\DisabledFormProtection::generateToken (   $formName,
  $action = '',
  $formInstanceName = '' 
)

Disable parent method

Definition at line 35 of file DisabledFormProtection.php.

◆ persistSessionToken()

TYPO3\CMS\Core\FormProtection\DisabledFormProtection::persistSessionToken ( )

Dummy implementation

Definition at line 70 of file DisabledFormProtection.php.

◆ retrieveSessionToken()

TYPO3\CMS\Core\FormProtection\DisabledFormProtection::retrieveSessionToken ( )
protected

Dummy implementation

Definition at line 63 of file DisabledFormProtection.php.

◆ validateToken()

TYPO3\CMS\Core\FormProtection\DisabledFormProtection::validateToken (   $tokenId,
  $formName,
  $action = '',
  $formInstanceName = '' 
)

Disable parent method. Always return TRUE.

Parameters
string$tokenId
string$formName
string$action
string$formInstanceName
Returns
bool

Definition at line 49 of file DisabledFormProtection.php.