‪TYPO3CMS  10.4
TYPO3\CMS\Workspaces\Dependency\ReferenceEntity Class Reference

Public Member Functions

 __construct (ElementEntity $element, $field)
 
ElementEntity getElement ()
 
string getField ()
 
string __toString ()
 

Protected Attributes

ElementEntity $element
 
string $field
 

Detailed Description

Object to hold reference information of a database field and one accordant element.

Definition at line 21 of file ReferenceEntity.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Workspaces\Dependency\ReferenceEntity::__construct ( ElementEntity  $element,
  $field 
)

Creates this object.

Parameters
ElementEntity$element
string$field

Definition at line 37 of file ReferenceEntity.php.

References TYPO3\CMS\Workspaces\Dependency\ReferenceEntity\$element, and TYPO3\CMS\Workspaces\Dependency\ReferenceEntity\$field.

Member Function Documentation

◆ __toString()

string TYPO3\CMS\Workspaces\Dependency\ReferenceEntity::__toString ( )

Converts this object for string representation.

Returns
‪string

Definition at line 68 of file ReferenceEntity.php.

References TYPO3\CMS\Workspaces\Dependency\ReferenceEntity\$field.

◆ getElement()

ElementEntity TYPO3\CMS\Workspaces\Dependency\ReferenceEntity::getElement ( )

◆ getField()

string TYPO3\CMS\Workspaces\Dependency\ReferenceEntity::getField ( )

Gets the field.

Returns
‪string

Definition at line 58 of file ReferenceEntity.php.

References TYPO3\CMS\Workspaces\Dependency\ReferenceEntity\$field.

Member Data Documentation

◆ $element

ElementEntity TYPO3\CMS\Workspaces\Dependency\ReferenceEntity::$element
protected

◆ $field