HumHub Documentation (unofficial)

Constraints

Table of Contents

Namespaces

TypeCheck

Interfaces

ConstraintInterface
The Constraints Interface

Classes

BaseConstraint
A more basic constraint definition - used for the public interface to avoid exposing library internals.
CollectionConstraint
The CollectionConstraint Constraints, validates an array against a given schema
Constraint
The Base Constraints, all Validators should extend this class
EnumConstraint
The EnumConstraint Constraints, validates an element against a given set of possibilities
Factory
Factory for centralize constraint initialization.
FormatConstraint
Validates against the "format" property
NumberConstraint
The NumberConstraint Constraints, validates an number against a given schema
ObjectConstraint
The ObjectConstraint Constraints, validates an object against a given schema
SchemaConstraint
The SchemaConstraint Constraints, validates an element against a given schema
StringConstraint
The StringConstraint Constraints, validates an string against a given schema
TypeConstraint
The TypeConstraint Constraints, validates an element against a given type
UndefinedConstraint
The UndefinedConstraint Constraints

        
On this page

Search results