class Doctrine_Validator_Exception extends Doctrine_Exception implements Countable, IteratorAggregate (View source)

Doctrine_Validator_Exception

Properties

static protected array $_errorMessages from Doctrine_Exception

Methods

string
errorMessage(int|array $value = null)

Return a textual error message for a Doctrine error code

__construct(array $invalid)

No description

getInvalidRecords()

No description

getIterator()

No description

count()

No description

inspect(mixed $function)

This method will apply the value of the $function variable as a user_func to tall errorstack objects in the exception

Details

string errorMessage(int|array $value = null)

Return a textual error message for a Doctrine error code

Parameters

int|array $value integer error code, null to get the current error code-message map, or an array with a new error code-message map

Return Value

string error message

__construct(array $invalid)

Parameters

array $invalid

getInvalidRecords()

getIterator()

count()

inspect(mixed $function)

This method will apply the value of the $function variable as a user_func to tall errorstack objects in the exception

Parameters

mixed $function Either string with function name or array with object, functionname. See call_user_func in php manual for more inforamtion