CakePHP
  • Documentation
    • Book
    • API
    • Videos
    • Reporting Security Issues
    • Privacy Policy
    • Logos & Trademarks
  • Business Solutions
  • Swag
  • Road Trip
  • Team
  • Community
    • Community
    • Get Involved
    • Issues (Github)
    • Bakery
    • Featured Resources
    • Training
    • Meetups
    • My CakePHP
    • CakeFest
    • Newsletter
    • Linkedin
    • YouTube
    • Facebook
    • Twitter
    • Mastodon
    • Help & Support
    • Forum
    • Stack Overflow
    • IRC
    • Slack
    • Paid Support
CakePHP

C CakePHP 3.8 Red Velvet API

  • Project:
    • CakePHP
      • CakePHP
      • Authentication
      • Authorization
      • Chronos
      • Elastic Search
      • Queue
  • Version:
    • 3.8
      • 6.0
      • 5.4
      • 5.3
      • 5.2
      • 5.1
      • 5.0
      • 4.6
      • 4.5
      • 4.4
      • 4.3
      • 4.2
      • 4.1
      • 4.0
      • 3.10
      • 3.9
      • 3.8
      • 3.7
      • 3.6
      • 3.5
      • 3.4
      • 3.3
      • 3.2
      • 3.1
      • 3.0
      • 2.10
      • 2.9
      • 2.8
      • 2.7
      • 2.6
      • 2.5
      • 2.4
      • 2.3
      • 2.2
      • 2.1
      • 2.0
      • 1.3
      • 1.2

Namespaces

  • Global
  • Cake
    • Auth
    • Cache
    • Collection
    • Command
    • Console
    • Controller
    • Core
    • Database
    • Datasource
    • Error
    • Event
    • Filesystem
    • Form
    • Http
    • I18n
    • Log
    • Mailer
    • Network
    • ORM
    • Routing
    • Shell
    • TestSuite
    • Utility
    • Validation
    • View

Namespace Validation

Interfaces

  • ValidatableInterface

    Describes objects that can be validated by passing a Validator object.

  • ValidatorAwareInterface

    Provides methods for managing multiple validators.

Classes

  • 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

    Offers different validation methods.

  • 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.

    Implements ArrayAccess to easily modify rules in the set

Traits

  • ValidatorAwareTrait

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

    This trait is useful when building ORM like features where the implementing class wants to build and customize a variety of validator instances.

    This trait expects that classes including it define three constants:

    • DEFAULT_VALIDATOR - The default validator name.
    • VALIDATOR_PROVIDER_NAME - The provider name the including class is assigned in validators.
    • BUILD_VALIDATOR_EVENT - The name of the event to be triggred when validators are built.

    If the including class also implements events the Model.buildValidator event will be triggered when validators are created.

OpenHub
Pingping
Linode
  • Business Solutions
  • Showcase
  • Documentation
  • Book
  • API
  • Videos
  • Reporting Security Issues
  • Privacy Policy
  • Logos & Trademarks
  • Community
  • Get Involved
  • Issues (Github)
  • Bakery
  • Featured Resources
  • Training
  • Meetups
  • My CakePHP
  • CakeFest
  • Newsletter
  • Linkedin
  • YouTube
  • Facebook
  • Twitter
  • Mastodon
  • Help & Support
  • Forum
  • Stack Overflow
  • IRC
  • Slack
  • Paid Support

Generated using CakePHP API Docs