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
PropertyError.php
Go to the documentation of this file.
1
<?php
2
namespace
TYPO3\CMS\Extbase\Validation
;
3
22
class
PropertyError
extends
\TYPO3\CMS\Extbase\Validation\Error
{
23
27
protected
$message
=
'Validation errors for property "%s"'
;
28
32
protected
$code
= 1242859509;
33
37
protected
$propertyName
;
38
42
protected
$errors
= array();
43
49
public
function
__construct
(
$propertyName
) {
50
$this->propertyName =
$propertyName
;
51
$this->message = sprintf($this->message,
$propertyName
);
52
}
53
60
public
function
addErrors
(
$errors
) {
61
$this->errors = array_merge($this->errors,
$errors
);
62
}
63
69
public
function
getErrors
() {
70
return
$this->errors
;
71
}
72
78
public
function
getPropertyName
() {
79
return
$this->propertyName
;
80
}
81
}
TYPO3\CMS\Extbase\Validation\Error
Definition:
Error.php:21
TYPO3\CMS\Extbase\Validation\PropertyError\getErrors
getErrors()
Definition:
PropertyError.php:69
TYPO3\CMS\Extbase\Validation\PropertyError\getPropertyName
getPropertyName()
Definition:
PropertyError.php:78
TYPO3\CMS\Extbase\Validation\PropertyError\addErrors
addErrors($errors)
Definition:
PropertyError.php:60
TYPO3\CMS\Extbase\Validation
Definition:
Error.php:2
TYPO3\CMS\Extbase\Validation\PropertyError\$propertyName
$propertyName
Definition:
PropertyError.php:37
TYPO3\CMS\Extbase\Validation\PropertyError\$code
$code
Definition:
PropertyError.php:32
TYPO3\CMS\Extbase\Validation\PropertyError
Definition:
PropertyError.php:22
TYPO3\CMS\Extbase\Validation\PropertyError\$message
$message
Definition:
PropertyError.php:27
TYPO3\CMS\Extbase\Validation\PropertyError\__construct
__construct($propertyName)
Definition:
PropertyError.php:49
TYPO3\CMS\Extbase\Validation\PropertyError\$errors
$errors
Definition:
PropertyError.php:42
typo3
sysext
extbase
Classes
Validation
PropertyError.php
Generated on Wed Aug 7 2019 09:52:25 for TYPO3 CMS by
1.8.13