‪TYPO3CMS  10.4
TYPO3\CMS\Core\Tests\Functional\DataHandling\DataHandler\Fixtures\HookFixture Class Reference
Inheritance diagram for TYPO3\CMS\Core\Tests\Functional\DataHandling\DataHandler\Fixtures\HookFixture:
TYPO3\CMS\Core\SingletonInterface

Public Member Functions

 purge ()
 
array null findInvocationsByMethodName (string $methodName)
 
 processDatamap_beforeStart (DataHandler $dataHandler)
 
 processDatamap_preProcessFieldArray (array $fieldArray, string $table, $id, DataHandler $dataHandler)
 
 processDatamap_postProcessFieldArray (string $status, string $table, $id, array $fieldArray, DataHandler $dataHandler)
 
 processDatamap_afterDatabaseOperations (string $status, string $table, $id, array $fieldArray, DataHandler $dataHandler)
 
 processDatamap_afterAllOperations (DataHandler $dataHandler)
 
 processCmdmap_beforeStart (DataHandler $dataHandler)
 
 processCmdmap_preProcess (string $command, string $table, $id, $value, DataHandler $dataHandler, $pasteUpdate)
 
 processCmdmap (string $command, string $table, $id, $value, bool $commandIsProcessed, DataHandler $dataHandler, $pasteUpdate)
 
 processCmdmap_postProcess (string $command, string $table, $id, $value, DataHandler $dataHandler, $pasteUpdate, $pasteDatamap)
 
 processCmdmap_afterFinish (DataHandler $dataHandler)
 

Protected Attributes

array[] $invocations = array( )
 

Detailed Description

Class for testing execution of DataHandler hook invocations.

Definition at line 26 of file HookFixture.php.

Member Function Documentation

◆ findInvocationsByMethodName()

array null TYPO3\CMS\Core\Tests\Functional\DataHandling\DataHandler\Fixtures\HookFixture::findInvocationsByMethodName ( string  $methodName)
Parameters
string$methodName
Returns
‪array|null

Definition at line 44 of file HookFixture.php.

◆ processCmdmap()

TYPO3\CMS\Core\Tests\Functional\DataHandling\DataHandler\Fixtures\HookFixture::processCmdmap ( string  $command,
string  $table,
  $id,
  $value,
bool  $commandIsProcessed,
DataHandler  $dataHandler,
  $pasteUpdate 
)
Parameters
string$command
string$table
string | int$id
mixed$value
bool$commandIsProcessed
DataHandler$dataHandler
bool | string$pasteUpdate

Definition at line 150 of file HookFixture.php.

◆ processCmdmap_afterFinish()

TYPO3\CMS\Core\Tests\Functional\DataHandling\DataHandler\Fixtures\HookFixture::processCmdmap_afterFinish ( DataHandler  $dataHandler)
Parameters
DataHandler$dataHandler

Definition at line 186 of file HookFixture.php.

◆ processCmdmap_beforeStart()

TYPO3\CMS\Core\Tests\Functional\DataHandling\DataHandler\Fixtures\HookFixture::processCmdmap_beforeStart ( DataHandler  $dataHandler)
Parameters
DataHandler$dataHandler

Definition at line 117 of file HookFixture.php.

◆ processCmdmap_postProcess()

TYPO3\CMS\Core\Tests\Functional\DataHandling\DataHandler\Fixtures\HookFixture::processCmdmap_postProcess ( string  $command,
string  $table,
  $id,
  $value,
DataHandler  $dataHandler,
  $pasteUpdate,
  $pasteDatamap 
)
Parameters
string$command
string$table
string | int$id
mixed$value
DataHandler$dataHandler
bool | string$pasteUpdate
bool | string$pasteDatamap

Definition at line 171 of file HookFixture.php.

◆ processCmdmap_preProcess()

TYPO3\CMS\Core\Tests\Functional\DataHandling\DataHandler\Fixtures\HookFixture::processCmdmap_preProcess ( string  $command,
string  $table,
  $id,
  $value,
DataHandler  $dataHandler,
  $pasteUpdate 
)
Parameters
string$command
string$table
string | int$id
mixed$value
DataHandler$dataHandler
bool | string$pasteUpdate

Definition at line 130 of file HookFixture.php.

◆ processDatamap_afterAllOperations()

TYPO3\CMS\Core\Tests\Functional\DataHandling\DataHandler\Fixtures\HookFixture::processDatamap_afterAllOperations ( DataHandler  $dataHandler)
Parameters
DataHandler$dataHandler

Definition at line 109 of file HookFixture.php.

◆ processDatamap_afterDatabaseOperations()

TYPO3\CMS\Core\Tests\Functional\DataHandling\DataHandler\Fixtures\HookFixture::processDatamap_afterDatabaseOperations ( string  $status,
string  $table,
  $id,
array  $fieldArray,
DataHandler  $dataHandler 
)
Parameters
string$status
string$table
string | int$id
array$fieldArray
DataHandler$dataHandler

Definition at line 96 of file HookFixture.php.

◆ processDatamap_beforeStart()

TYPO3\CMS\Core\Tests\Functional\DataHandling\DataHandler\Fixtures\HookFixture::processDatamap_beforeStart ( DataHandler  $dataHandler)
Parameters
DataHandler$dataHandler

Definition at line 52 of file HookFixture.php.

◆ processDatamap_postProcessFieldArray()

TYPO3\CMS\Core\Tests\Functional\DataHandling\DataHandler\Fixtures\HookFixture::processDatamap_postProcessFieldArray ( string  $status,
string  $table,
  $id,
array  $fieldArray,
DataHandler  $dataHandler 
)
Parameters
string$status
string$table
string | int$id
array$fieldArray
DataHandler$dataHandler

Definition at line 79 of file HookFixture.php.

◆ processDatamap_preProcessFieldArray()

TYPO3\CMS\Core\Tests\Functional\DataHandling\DataHandler\Fixtures\HookFixture::processDatamap_preProcessFieldArray ( array  $fieldArray,
string  $table,
  $id,
DataHandler  $dataHandler 
)
Parameters
array$fieldArray
string$table
string | int$id
DataHandler$dataHandler

Definition at line 63 of file HookFixture.php.

◆ purge()

TYPO3\CMS\Core\Tests\Functional\DataHandling\DataHandler\Fixtures\HookFixture::purge ( )

Purges the state of this singleton instance

Definition at line 35 of file HookFixture.php.

Member Data Documentation

◆ $invocations

array [] TYPO3\CMS\Core\Tests\Functional\DataHandling\DataHandler\Fixtures\HookFixture::$invocations = array( )
protected

Definition at line 30 of file HookFixture.php.