Class

TypeValidator

class TypeValidator implements BasicValidator

A validator for validating the (PHP) type of the value submitted.

Methods

boolean isValid(ValidatorMap $map, mixed $value)

Details

at line 38
public boolean isValid(ValidatorMap $map, mixed $value)

Parameters

ValidatorMap $map A column map object for the column to be validated.
mixed $value

Return Value

boolean TRUE if valid, error message otherwise

Exceptions

PropelException

See also

BasicValidator::isValid()