TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Version\Dependency\ReferenceEntity Class Reference
Inheritance diagram for TYPO3\CMS\Version\Dependency\ReferenceEntity:
t3lib_utility_Dependency_Reference

Public Member Functions

 __construct (\TYPO3\CMS\Version\Dependency\ElementEntity $element, $field)
 
 getElement ()
 
 getField ()
 
 __toString ()
 

Protected Attributes

 $element
 
 $field
 

Detailed Description

This file is part of the TYPO3 CMS project.

It is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, either version 2 of the License, or any later version.

For the full copyright and license information, please read the LICENSE.txt file that was distributed with this source code.

The TYPO3 project - inspiring people to share! Object to hold reference information of a database field and one accordant element.

Definition at line 20 of file ReferenceEntity.php.

Constructor & Destructor Documentation

◆ __construct()

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

Creates this object.

Parameters
\TYPO3\CMS\Version\Dependency\ElementEntity$element
string$field

Definition at line 38 of file ReferenceEntity.php.

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

Member Function Documentation

◆ __toString()

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

Converts this object for string representation.

Returns
string

Definition at line 66 of file ReferenceEntity.php.

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

◆ getElement()

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

Gets the elements.

Returns

Definition at line 48 of file ReferenceEntity.php.

References TYPO3\CMS\Version\Dependency\ReferenceEntity\$element.

◆ getField()

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

Gets the field.

Returns
string

Definition at line 57 of file ReferenceEntity.php.

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

Member Data Documentation

◆ $element

TYPO3\CMS\Version\Dependency\ReferenceEntity::$element
protected

◆ $field