TYPO3 CMS
TYPO3_6-2
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
r
s
t
u
v
w
+
Files
File List
+
File Members
+
All
$
(
_
a
c
d
e
f
h
i
l
o
p
r
s
t
u
x
+
Functions
_
a
c
d
e
f
i
l
o
p
r
s
u
x
+
Variables
$
(
_
a
d
e
h
i
p
r
s
t
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Pages
Dependency.php
Go to the documentation of this file.
1
<?php
2
namespace
TYPO3\CMS\Extensionmanager\Domain\Model
;
3
21
class
Dependency
extends
\TYPO3\CMS\Extbase\DomainObject\AbstractEntity
{
22
26
protected
$identifier
=
''
;
27
31
protected
$lowestVersion
=
''
;
32
36
protected
$highestVersion
=
''
;
37
41
protected
$type
=
''
;
42
46
static
protected
$dependencyTypes
= array(
47
'depends'
,
48
'conflicts'
,
49
'suggests'
50
);
51
55
static
public
$specialDependencies
= array(
56
'typo3'
,
57
'php'
58
);
59
64
public
function
setHighestVersion
(
$highestVersion
) {
65
$this->highestVersion =
$highestVersion
;
66
}
67
71
public
function
getHighestVersion
() {
72
return
$this->highestVersion
;
73
}
74
79
public
function
setIdentifier
(
$identifier
) {
80
$this->identifier =
$identifier
;
81
}
82
86
public
function
getIdentifier
() {
87
return
$this->identifier
;
88
}
89
94
public
function
setLowestVersion
(
$lowestVersion
) {
95
$this->lowestVersion =
$lowestVersion
;
96
}
97
101
public
function
getLowestVersion
() {
102
return
$this->lowestVersion
;
103
}
104
110
public
function
setType
(
$type
) {
111
if
(in_array(
$type
, self::$dependencyTypes)) {
112
$this->type =
$type
;
113
}
else
{
114
throw
new \TYPO3\CMS\Extensionmanager\Exception\ExtensionManagerException(
$type
.
' was not a valid dependency type.'
);
115
}
116
}
117
121
public
function
getType
() {
122
return
$this->type
;
123
}
124
125
}
TYPO3\CMS\Extensionmanager\Domain\Model\Dependency\getLowestVersion
getLowestVersion()
Definition:
Dependency.php:101
TYPO3\CMS\Extensionmanager\Domain\Model\Dependency
Definition:
Dependency.php:21
TYPO3\CMS\Extensionmanager\Domain\Model\Dependency\getIdentifier
getIdentifier()
Definition:
Dependency.php:86
TYPO3\CMS\Extensionmanager\Domain\Model\Dependency\$lowestVersion
$lowestVersion
Definition:
Dependency.php:31
TYPO3\CMS\Extensionmanager\Domain\Model\Dependency\getHighestVersion
getHighestVersion()
Definition:
Dependency.php:71
TYPO3\CMS\Extbase\DomainObject\AbstractEntity
Definition:
AbstractEntity.php:20
TYPO3\CMS\Extensionmanager\Domain\Model\Dependency\$type
$type
Definition:
Dependency.php:41
TYPO3\CMS\Extensionmanager\Domain\Model\Dependency\$dependencyTypes
static $dependencyTypes
Definition:
Dependency.php:46
TYPO3\CMS\Extensionmanager\Domain\Model\Dependency\setIdentifier
setIdentifier($identifier)
Definition:
Dependency.php:79
TYPO3\CMS\Extensionmanager\Domain\Model\Dependency\setLowestVersion
setLowestVersion($lowestVersion)
Definition:
Dependency.php:94
TYPO3\CMS\Extensionmanager\Domain\Model\Dependency\$identifier
$identifier
Definition:
Dependency.php:26
TYPO3\CMS\Extensionmanager\Domain\Model\Dependency\setType
setType($type)
Definition:
Dependency.php:110
TYPO3\CMS\Extensionmanager\Domain\Model\Dependency\$specialDependencies
static $specialDependencies
Definition:
Dependency.php:55
TYPO3\CMS\Extensionmanager\Domain\Model
Definition:
ConfigurationCategory.php:2
TYPO3\CMS\Extensionmanager\Domain\Model\Dependency\getType
getType()
Definition:
Dependency.php:121
TYPO3\CMS\Extensionmanager\Domain\Model\Dependency\setHighestVersion
setHighestVersion($highestVersion)
Definition:
Dependency.php:64
TYPO3\CMS\Extensionmanager\Domain\Model\Dependency\$highestVersion
$highestVersion
Definition:
Dependency.php:36
typo3
sysext
extensionmanager
Classes
Domain
Model
Dependency.php
Generated on Wed Aug 7 2019 09:52:26 for TYPO3 CMS by
1.8.13