‪TYPO3CMS  10.4
TYPO3\CMS\Core\DataHandling\Model\RecordStateFactory Class Reference

Public Member Functions

 __construct (string $name)
 
RecordState fromArray (array $data, $pageId=null, $recordId=null)
 

Static Public Member Functions

static static forName (string $name)
 

Protected Member Functions

array resolveAspectFieldNames ()
 
array resolveAspectFieldValues (array $data)
 
EntityPointerLink null resolveLanguageLink (array $aspectFieldNames)
 
EntityPointerLink null resolveVersionLink (array $aspectFieldNames)
 
EntityPointer createEntityPointer ($identifier, string $name=null)
 

Protected Attributes

string $name
 

Detailed Description

Factory class that creates a record state

Definition at line 25 of file RecordStateFactory.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Core\DataHandling\Model\RecordStateFactory::__construct ( string  $name)
Parameters
string$name

Definition at line 46 of file RecordStateFactory.php.

References TYPO3\CMS\Core\DataHandling\Model\RecordStateFactory\$name.

Member Function Documentation

◆ createEntityPointer()

EntityPointer TYPO3\CMS\Core\DataHandling\Model\RecordStateFactory::createEntityPointer (   $identifier,
string  $name = null 
)
protected

◆ forName()

◆ fromArray()

RecordState TYPO3\CMS\Core\DataHandling\Model\RecordStateFactory::fromArray ( array  $data,
  $pageId = null,
  $recordId = null 
)

◆ resolveAspectFieldNames()

array TYPO3\CMS\Core\DataHandling\Model\RecordStateFactory::resolveAspectFieldNames ( )
protected

◆ resolveAspectFieldValues()

array TYPO3\CMS\Core\DataHandling\Model\RecordStateFactory::resolveAspectFieldValues ( array  $data)
protected

◆ resolveLanguageLink()

EntityPointerLink null TYPO3\CMS\Core\DataHandling\Model\RecordStateFactory::resolveLanguageLink ( array  $aspectFieldNames)
protected
Parameters
array$aspectFieldNames
Returns
‪EntityPointerLink|null

Definition at line 114 of file RecordStateFactory.php.

References TYPO3\CMS\Core\DataHandling\Model\RecordStateFactory\createEntityPointer().

Referenced by TYPO3\CMS\Core\DataHandling\Model\RecordStateFactory\fromArray().

◆ resolveVersionLink()

EntityPointerLink null TYPO3\CMS\Core\DataHandling\Model\RecordStateFactory::resolveVersionLink ( array  $aspectFieldNames)
protected
Parameters
array$aspectFieldNames
Returns
‪EntityPointerLink|null

Definition at line 146 of file RecordStateFactory.php.

References TYPO3\CMS\Core\DataHandling\Model\RecordStateFactory\createEntityPointer().

Referenced by TYPO3\CMS\Core\DataHandling\Model\RecordStateFactory\fromArray().

Member Data Documentation

◆ $name