ReferenceEntity
Object to hold reference information of a database field and one accordant element.
Table of Contents
Properties
- $element : ElementEntity
- $field : string
Methods
- __construct() : mixed
- Creates this object.
- __toString() : string
- Converts this object for string representation.
- getElement() : ElementEntity
- Gets the elements.
- getField() : string
- Gets the field.
Properties
$element
protected
ElementEntity
$element
$field
protected
string
$field
Methods
__construct()
Creates this object.
public
__construct(ElementEntity $element, string $field) : mixed
Parameters
- $element : ElementEntity
- $field : string
__toString()
Converts this object for string representation.
public
__toString() : string
Return values
stringgetElement()
Gets the elements.
public
getElement() : ElementEntity
Return values
ElementEntitygetField()
Gets the field.
public
getField() : string