TYPO3CMS
9.5
Main Page
Related Pages
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
Files
File List
File Members
All
$
d
e
r
u
Functions
Variables
$
e
r
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Pages
ReferenceEntity.php
Go to the documentation of this file.
1
<?php
2
namespace
TYPO3\CMS\Workspaces\Dependency
;
3
4
/*
5
* This file is part of the TYPO3 CMS project.
6
*
7
* It is free software; you can redistribute it and/or modify it under
8
* the terms of the GNU General Public License, either version 2
9
* of the License, or any later version.
10
*
11
* For the full copyright and license information, please read the
12
* LICENSE.txt file that was distributed with this source code.
13
*
14
* The TYPO3 project - inspiring people to share!
15
*/
16
20
class
ReferenceEntity
21
{
25
protected
$element
;
26
30
protected
$field
;
31
38
public
function
__construct
(
ElementEntity
$element
,
$field
)
39
{
40
$this->element =
$element
;
41
$this->field =
$field
;
42
}
43
49
public
function
getElement
()
50
{
51
return
$this->element
;
52
}
53
59
public
function
getField
()
60
{
61
return
$this->field
;
62
}
63
69
public
function
__toString
()
70
{
71
return
$this->element .
'.'
.
$this->field
;
72
}
73
}
TYPO3\CMS\Workspaces\Dependency\ReferenceEntity\$element
ElementEntity $element
Definition:
ReferenceEntity.php:24
TYPO3\CMS\Workspaces\Dependency\ReferenceEntity
Definition:
ReferenceEntity.php:21
TYPO3\CMS\Workspaces\Dependency\ReferenceEntity\$field
string $field
Definition:
ReferenceEntity.php:28
TYPO3\CMS\Workspaces\Dependency\ReferenceEntity\getElement
ElementEntity getElement()
Definition:
ReferenceEntity.php:47
TYPO3\CMS\Workspaces\Dependency\ElementEntity
Definition:
ElementEntity.php:24
TYPO3\CMS\Workspaces\Dependency
Definition:
DependencyEntityFactory.php:2
TYPO3\CMS\Workspaces\Dependency\ReferenceEntity\getField
string getField()
Definition:
ReferenceEntity.php:57
TYPO3\CMS\Workspaces\Dependency\ReferenceEntity\__toString
string __toString()
Definition:
ReferenceEntity.php:67
TYPO3\CMS\Workspaces\Dependency\ReferenceEntity\__construct
__construct(ElementEntity $element, $field)
Definition:
ReferenceEntity.php:36
doxygen
typo3
sysext
workspaces
Classes
Dependency
ReferenceEntity.php
Generated on Tue Oct 5 2021 01:57:58 for TYPO3CMS by
1.8.18