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

Public Member Functions

 __construct ()
 
 validate ($value)
 
 getParameters ()
 {{}
See also
\Ubiquity\contents\validation\validators\ValidatorInterfacegetParameters()
}
 
- Public Member Functions inherited from ValidatorHasNotNull
 asUI ()
 
- Public Member Functions inherited from Validator
 validate_ ($value)
 
 setValidationParameters ($member, $params, $severity='warning', $message=null)
 
 getMember ()
 
 setMember ($member)
 

Protected Attributes

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

Additional Inherited Members

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

Detailed Description

Definition at line 7 of file TypeValidator.php.

Constructor & Destructor Documentation

◆ __construct()

__construct ( )

Definition at line 10 of file TypeValidator.php.

Member Function Documentation

◆ getParameters()

getParameters ( )

{{}

See also
\Ubiquity\contents\validation\validators\ValidatorInterfacegetParameters()
}

See also
\Ubiquity\contents\validation\validators\Validator::getParameters()

Reimplemented from Validator.

Definition at line 38 of file TypeValidator.php.

◆ validate()

validate (   $value)
Parameters
mixed$value
Returns
boolean

Reimplemented from ValidatorHasNotNull.

Definition at line 14 of file TypeValidator.php.

Field Documentation

◆ $ref

$ref
protected

Definition at line 8 of file TypeValidator.php.


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