Detailed Description

Image validates an image value.

Configuration examples:

// width exactly 200px, height less than 100px
image:{"width":[200,1],"height":[100,0]}
// arbitrary width, height exactly 300px
image:{"height":[300,0]}
Author
ingo herwig ingo@.nosp@m.wemo.nosp@m.ve.co.nosp@m.m

Definition at line 32 of file Image.php.

+ Inheritance diagram for Image:

Public Member Functions

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

Member Function Documentation

validate (   $value,
Message  $message,
  $options = null 
)
See also
ValidateType::validate $options is an associative array with keys 'width' (optional) and 'height' (optional)

Implements ValidateType.

Definition at line 38 of file Image.php.