extends abstract class Phalcon\Di\Injectable
implements Phalcon\Events\EventsAwareInterface, Phalcon\Di\InjectionAwareInterface, Phalcon\ValidationInterface
Allows to validate data using custom or built-in validators
...
Phalcon\Validation constructor
Validate a set of data according to a set of rules
Adds a validator to a field
Alias of add method
Adds the validators to a field
Adds filters to the field
Returns all the filters or a specific one
Returns the validators added to the validation
Sets the bound entity
Returns the bound entity
Adds default messages to validators
Get default message for validator type
Returns the registered validators
Adds labels for fields
Get label for field
Appends a message to the messages list
Assigns the data to an entity The entity is used to obtain the validation values
Gets the a value to validate in the array/object data source
Internal validations, if it returns true, then skip the current validator
Sets the dependency injector
Returns the internal dependency injector
Sets the event manager
Returns the internal event manager
Magic method __get
© 2011–2016 Phalcon Framework Team
Licensed under the Creative Commons Attribution License 3.0.
https://docs.phalconphp.com/en/latest/api/Phalcon_Validation.html