Ubiquity 2.5.2
php rapid development framework
Loading...
Searching...
No Matches
IdValidator Class Reference

Validate int identifiers (notNull positive integer). More...

+ Inheritance diagram for IdValidator:

Public Member Functions

 __construct ()
 
 validate ($value)
 
 getParameters ()
 {}
See also
\Ubiquity\contents\validation\validators\ValidatorInterfacegetParameters()

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

Protected Member Functions

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

Protected Attributes

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

Detailed Description

Validate int identifiers (notNull positive integer).

Author
jc

Definition at line 9 of file IdValidator.php.

Constructor & Destructor Documentation

◆ __construct()

__construct ( )

Reimplemented from ValidatorMultiple.

Definition at line 11 of file IdValidator.php.

Member Function Documentation

◆ asUI()

asUI ( )

{}

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

Reimplemented from ValidatorMultiple.

Definition at line 57 of file IdValidator.php.

◆ 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 IdValidator.php.

◆ setParams()

setParams ( array  $params)
protected

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

Reimplemented from Validator.

Definition at line 45 of file IdValidator.php.

◆ validate()

validate (   $value)
Parameters
mixed$value
Returns
boolean

Reimplemented from ValidatorMultiple.

Definition at line 19 of file IdValidator.php.

Field Documentation

◆ $autoinc

$autoinc
protected

Definition at line 10 of file IdValidator.php.


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