GNU GPL v2+
- Since
- 3.1
- Author
- mwjames
◆ checkConstraint()
SMW\Property\Constraint\Constraints\CommonConstraint::checkConstraint |
( |
array |
$constraint, |
|
|
|
$dataValue |
|
) |
| |
- Since
- 3.1
Checks a constraint against a single value. Any error that occurred during the processing should be attached to an individual value using the ConstraintError
class.
- Since
- 3.1
- Parameters
-
array | $constraint | |
mixed | $value | |
Implements SMW\Property\Constraint\Constraint.
◆ hasViolation()
SMW\Property\Constraint\Constraints\CommonConstraint::hasViolation |
( |
| ) |
|
◆ isType()
SMW\Property\Constraint\Constraints\CommonConstraint::isType |
( |
|
$type | ) |
|
The documentation for this class was generated from the following file: