‪TYPO3CMS  10.4
TYPO3\CMS\Form\Tests\Functional\Framework\FormHandling\FormData Class Reference

Public Member Functions

 __construct (array $formData)
 
 with (string $identifier, string $value)
 
 withNoPrefix (string $identifier, string $value)
 
 without (string $identifier)
 
 withoutNoPrefix (string $identifier)
 
 withChash (bool $withChash)
 
 toPostRequest (InternalRequest $request)
 
 toGetRequest (InternalRequest $request, bool $withPostData=true)
 
 toArray ()
 
 getFormMarkup ()
 
 getHoneypotId ()
 
 getSessionId ()
 

Private Member Functions

 getQueryStructure ()
 
 getPostStructure ()
 

Private Attributes

array $with = array( )
 
array $withNoPrefix = array( )
 
array $without = array( )
 
array $withoutNoPrefix = array( )
 
bool $withChash = true
 
array $formData
 

Detailed Description

Used to hold and prepare data for form testing purpose.

See also
‪\TYPO3\CMS\Form\Tests\Functional\RequestHandling\RequestHandlingTest

Definition at line 27 of file FormData.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Form\Tests\Functional\Framework\FormHandling\FormData::__construct ( array  $formData)

Member Function Documentation

◆ getFormMarkup()

TYPO3\CMS\Form\Tests\Functional\Framework\FormHandling\FormData::getFormMarkup ( )

Definition at line 126 of file FormData.php.

◆ getHoneypotId()

TYPO3\CMS\Form\Tests\Functional\Framework\FormHandling\FormData::getHoneypotId ( )

Definition at line 131 of file FormData.php.

◆ getPostStructure()

◆ getQueryStructure()

◆ getSessionId()

TYPO3\CMS\Form\Tests\Functional\Framework\FormHandling\FormData::getSessionId ( )

Definition at line 143 of file FormData.php.

◆ toArray()

TYPO3\CMS\Form\Tests\Functional\Framework\FormHandling\FormData::toArray ( )

◆ toGetRequest()

TYPO3\CMS\Form\Tests\Functional\Framework\FormHandling\FormData::toGetRequest ( InternalRequest  $request,
bool  $withPostData = true 
)

◆ toPostRequest()

TYPO3\CMS\Form\Tests\Functional\Framework\FormHandling\FormData::toPostRequest ( InternalRequest  $request)

◆ with()

TYPO3\CMS\Form\Tests\Functional\Framework\FormHandling\FormData::with ( string  $identifier,
string  $value 
)

◆ withChash()

TYPO3\CMS\Form\Tests\Functional\Framework\FormHandling\FormData::withChash ( bool  $withChash)

◆ withNoPrefix()

TYPO3\CMS\Form\Tests\Functional\Framework\FormHandling\FormData::withNoPrefix ( string  $identifier,
string  $value 
)

◆ without()

TYPO3\CMS\Form\Tests\Functional\Framework\FormHandling\FormData::without ( string  $identifier)

◆ withoutNoPrefix()

TYPO3\CMS\Form\Tests\Functional\Framework\FormHandling\FormData::withoutNoPrefix ( string  $identifier)

Member Data Documentation

◆ $formData

array TYPO3\CMS\Form\Tests\Functional\Framework\FormHandling\FormData::$formData
private

◆ $with

array TYPO3\CMS\Form\Tests\Functional\Framework\FormHandling\FormData::$with = array( )
private

$with

Definition at line 31 of file FormData.php.

◆ $withChash

bool TYPO3\CMS\Form\Tests\Functional\Framework\FormHandling\FormData::$withChash = true
private

◆ $withNoPrefix

array TYPO3\CMS\Form\Tests\Functional\Framework\FormHandling\FormData::$withNoPrefix = array( )
private

$withNoPrefix

Definition at line 35 of file FormData.php.

◆ $without

array TYPO3\CMS\Form\Tests\Functional\Framework\FormHandling\FormData::$without = array( )
private

$without

Definition at line 39 of file FormData.php.

◆ $withoutNoPrefix

array TYPO3\CMS\Form\Tests\Functional\Framework\FormHandling\FormData::$withoutNoPrefix = array( )
private

$without

Definition at line 43 of file FormData.php.