📚 Looking for current Exponential documentation? This site contains legacy SDK & API reference docs (eZ Publish era). For up-to-date 2026 product documentation, visit doc.exponential.earth.

  class / eZRegExpValidator  

eZRegExpValidator Class Reference

Input validation using regexps. More...

Inheritance diagram for eZRegExpValidator:

TODO — Image not available in archive

Title:   eZRegExpValidator Class Inheritance Diagram (Doxygen)
File:    /doc/generated/html/classeZRegExpValidator.png

What this image shows:
Doxygen-generated class inheritance diagram for the eZRegExpValidator PHP class. Shows the inheritance hierarchy: which classes eZRegExpValidator extends and which classes inherit from it, with links to parent and child class documentation. This diagram was auto-generated from the Exponential 3.1 PHP source code using Doxygen circa 2003.

Replacement instructions:
Run Doxygen on the Exponential 3.1 PHP source and locate the generated classeZRegExpValidator.png in the output. Or draw the inheritance tree manually from the API reference. Save as /doc/generated/html/classeZRegExpValidator.png

See /sdk/missing.html for the full list of missing images.
eZInputValidator eZFloatValidator eZIntegerValidator List of all members.

Public Methods

 validate ($text)

Public Attributes

 RegExpRule
 \privatesection


Detailed Description

Input validation using regexps.

Definition at line ezregexpvalidator.php.


Member Function Documentation

eZRegExpValidator::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 eZInputValidator.

Reimplemented in eZIntegerValidator.

Definition at line ezregexpvalidator.php.

References RegExpRule.

Referenced by eZIntegerValidator::validate(), and eZFloatValidator::validate().


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

Exponential Copyright © 1998 - 2026 7x