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

Public Member Functions

 __construct (ElementEntity $element, string $field)
 
 getElement ()
 
 getField ()
 
 __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 25 of file ReferenceEntity.php.

Constructor & Destructor Documentation

◆ __construct()

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

Member Function Documentation

◆ __toString()

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

Converts this object for string representation.

Definition at line 55 of file ReferenceEntity.php.

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

◆ getElement()

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

◆ getField()

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

Gets the field.

Definition at line 47 of file ReferenceEntity.php.

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

Member Data Documentation

◆ $element

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

◆ $field