Namespace Cake\Validation

Class summary

  • RulesProvider

    A Proxy class used to remove any extra arguments when the user intended to call a method in another class that is not aware of validation providers signature

  • Validation

    Validation Class. Used for validation of model data

  • ValidationRule

    ValidationRule object. Represents a validation method, error message and rules for applying such method to a field.

  • ValidationSet

    ValidationSet object. Holds all validation rules for a field and exposes methods to dynamically add or remove validation rules

  • Validator

    Validator object encapsulates all methods related to data validations for a model It also provides an API to dynamically change validation rules for each model field.

Interface summary

Traits summary

  • ValidatorAwareTrait

    A trait that provides methods for building and interacting with Validators.

© 2005–2016 The Cake Software Foundation, Inc.
Licensed under the MIT License.
CakePHP is a registered trademark of Cake Software Foundation, Inc.
We are not endorsed by or affiliated with CakePHP.
http://api.cakephp.org/3.1/namespace-Cake.Validation.html