eZIntegerValidator Class Reference

The class eZIntegerValidator does. More...

Inheritance diagram for eZIntegerValidator:

eZRegExpValidator eZInputValidator List of all members.

Public Methods

 eZIntegerValidator ($min=false,$max=false)
 validate ($text)
fixup ($text)

Public Attributes

 MinValue
 \privatesection


Detailed Description

The class eZIntegerValidator does.

Definition at line ezintegervalidator.php.


Constructor & Destructor Documentation

eZIntegerValidator::eZIntegerValidator   min = false,
  max = false
 

Constructor

Definition at line ezintegervalidator.php.

References MinValue.


Member Function Documentation

eZIntegerValidator::validate   text
 

Tries to validate to the text $text and returns one of the validator states EZ_INPUT_VALIDATOR_STATE_ACCEPTED, EZ_INPUT_VALIDATOR_STATE_INTERMEDIATE or EZ_INPUT_VALIDATOR_STATE_INVALID. This returns EZ_INPUT_VALIDATOR_STATE_ACCEPTED as default and must be reimplemented in real valiators.

Reimplemented from eZRegExpValidator.

Definition at line ezintegervalidator.php.

References eZRegExpValidator::validate().


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

Exponential