ValidateType Interface Reference

Detailed Description

ValidateType defines the interface for all validator classes.

Author
ingo herwig ingo@.nosp@m.wemo.nosp@m.ve.co.nosp@m.m

Definition at line 20 of file ValidateType.php.

+ Inheritance diagram for ValidateType:

Public Member Functions

 validate ($value, Message $message, $options=null)
 

Member Function Documentation

validate (   $value,
Message  $message,
  $options = null 
)

Validate a given value.

The options format is type specific.

Parameters
$valueThe value to validate
$messageThe Message instance used to provide translations
$optionsOptional implementation specific options passed as an associative array
Returns
Boolean

Implemented in Filter, Image, and RegExp.