Ubiquity 2.5.2
php rapid development framework
Loading...
Searching...
No Matches
ValidatorMultiple Class Reference
+ Inheritance diagram for ValidatorMultiple:

Public Member Functions

 __construct ()
 
 validate ($value)
 
 asUI ()
 
- Public Member Functions inherited from Validator
 validate_ ($value)
 
 setValidationParameters ($member, $params, $severity='warning', $message=null)
 
 getMember ()
 
 setMember ($member)
 
 getParameters ()
 {}
 

Protected Member Functions

 mergeMessages ()
 
 _getMessage ()
 
 _getMessageViolation ($messages)
 
- Protected Member Functions inherited from Validator
 setParams (array $params)
 

Protected Attributes

 $violation
 
 $notNull
 
- Protected Attributes inherited from Validator
 $modifiedMessage
 
 $message
 
 $member
 
 $value
 
 $severity
 

Detailed Description

Definition at line 10 of file ValidatorMultiple.php.

Constructor & Destructor Documentation

◆ __construct()

__construct ( )

Reimplemented in PasswordValidator, IdValidator, and LengthValidator.

Definition at line 14 of file ValidatorMultiple.php.

Member Function Documentation

◆ _getMessage()

_getMessage ( )
protected

Reimplemented from Validator.

Definition at line 50 of file ValidatorMultiple.php.

◆ _getMessageViolation()

_getMessageViolation (   $messages)
protected

Definition at line 62 of file ValidatorMultiple.php.

◆ asUI()

asUI ( )

Reimplemented from Validator.

Reimplemented in IdValidator, and LengthValidator.

Definition at line 69 of file ValidatorMultiple.php.

◆ mergeMessages()

mergeMessages ( )
protected
Returns
array|string

Reimplemented from Validator.

Definition at line 38 of file ValidatorMultiple.php.

◆ validate()

validate (   $value)
Parameters
mixed$value
Returns
boolean

Implements ValidatorInterface.

Reimplemented in IdValidator, and LengthValidator.

Definition at line 19 of file ValidatorMultiple.php.

Field Documentation

◆ $notNull

$notNull
protected

Definition at line 12 of file ValidatorMultiple.php.

◆ $violation

$violation
protected

Definition at line 11 of file ValidatorMultiple.php.


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