Semantic MediaWiki and related extensions
Public Member Functions | List of all members
SMW\Property\Constraint\ConstraintCheckRunner Class Reference

Public Member Functions

 __construct (ConstraintRegistry $constraintRegistry)
 
 hasViolation ()
 
 hasDeferrableConstraint ()
 
 load ( $key, $schema)
 
 getConstraints ()
 
 check ( $dataValue)
 

Detailed Description

GNU GPL v2+

Since
3.1
Author
mwjames

Constructor & Destructor Documentation

◆ __construct()

SMW\Property\Constraint\ConstraintCheckRunner::__construct ( ConstraintRegistry  $constraintRegistry)
Since
3.1
Parameters
ConstraintRegistry$constraintRegistry

Member Function Documentation

◆ check()

SMW\Property\Constraint\ConstraintCheckRunner::check (   $dataValue)
Since
3.1
Parameters
mixed$dataValue

◆ getConstraints()

SMW\Property\Constraint\ConstraintCheckRunner::getConstraints ( )
Since
3.1
Returns
[]

◆ hasDeferrableConstraint()

SMW\Property\Constraint\ConstraintCheckRunner::hasDeferrableConstraint ( )
Since
3.1
Returns
boolean

◆ hasViolation()

SMW\Property\Constraint\ConstraintCheckRunner::hasViolation ( )
Since
3.1
Returns
boolean

◆ load()

SMW\Property\Constraint\ConstraintCheckRunner::load (   $key,
  $schema 
)
Since
3.1
Parameters
string$key
Schema | SchemaList$schema

The documentation for this class was generated from the following file:

About | General disclaimer | Privacy policy