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
SystemConstraint.php
Go to the documentation of this file.
1
<?php
2
namespace
TYPO3\Flow\Package\MetaData
;
3
4
/* *
5
* This script belongs to the TYPO3 Flow framework. *
6
* *
7
* It is free software; you can redistribute it and/or modify it under *
8
* the terms of the GNU Lesser General Public License, either version 3 *
9
* of the License, or (at your option) any later version. *
10
* *
11
* The TYPO3 project - inspiring people to share! *
12
* */
13
14
19
class
SystemConstraint
extends
\TYPO3\Flow\Package\MetaData\AbstractConstraint {
20
26
protected
$type
;
27
37
public
function
__construct
(
$constraintType
,
$type
,
$value
= NULL, $minVersion = NULL, $maxVersion = NULL) {
38
if
(!strlen(
$value
)) {
39
$value
= NULL;
40
}
41
parent::__construct(
$constraintType
,
$value
, $minVersion, $maxVersion);
42
$this->type =
$type
;
43
}
44
48
public
function
getType
() {
49
return
$this->type
;
50
}
51
56
public
function
getConstraintScope
() {
57
return \TYPO3\Flow\Package\MetaDataInterface::CONSTRAINT_SCOPE_SYSTEM;
58
}
59
}
60
?>
TYPO3\Flow\Package\MetaData\SystemConstraint
Definition:
SystemConstraint.php:19
TYPO3\Flow\Package\MetaData\AbstractConstraint\$value
$value
Definition:
AbstractConstraint.php:30
TYPO3\Flow\Package\MetaData\SystemConstraint\getConstraintScope
getConstraintScope()
Definition:
SystemConstraint.php:56
TYPO3\Flow\Package\MetaData
Definition:
AbstractConstraint.php:2
TYPO3\Flow\Package\MetaData\AbstractConstraint\$constraintType
$constraintType
Definition:
AbstractConstraint.php:24
TYPO3\Flow\Package\MetaData\SystemConstraint\__construct
__construct($constraintType, $type, $value=NULL, $minVersion=NULL, $maxVersion=NULL)
Definition:
SystemConstraint.php:37
TYPO3\Flow\Package\MetaData\SystemConstraint\getType
getType()
Definition:
SystemConstraint.php:48
TYPO3\Flow\Package\MetaData\SystemConstraint\$type
$type
Definition:
SystemConstraint.php:26
typo3
sysext
core
Resources
PHP
TYPO3.Flow
Classes
TYPO3
Flow
Package
MetaData
SystemConstraint.php
Generated on Wed Aug 7 2019 09:52:22 for TYPO3 CMS by
1.8.13