Home PHP Libraries Other libraries validation-masterPHP data validation library
validation-masterPHP data validation library
<?php
/**
 * CakePHP(tm) : Rapid Development Framework (https://cakephp.org)
 * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
 *
 * Licensed under The MIT License
 * For full copyright and license information, please see the LICENSE.txt
 * Redistributions of files must retain the above copyright notice.
 *
 * @copyright     Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
 * @link          https://cakephp.org CakePHP(tm) Project
 * @since         3.0.0
 * @license       https://opensource.org/licenses/mit-license.php MIT License
 */
namespace Cake\Validation;
/**
 * Describes objects that can be validated by passing a Validator object.
 */
interface ValidatableInterface
{
    /**
     * Validates the internal properties using a validator object and returns any
     * validation errors found.
     *
     * @param \Cake\Validation\Validator $validator The validator to use when validating the entity.
     * @return array
     */
    public function validate(Validator $validator);
}

Verification is an informational term, part of the compilation process in which the code is checked for compliance with a specific set of defined rules to allow verification of certain security requirements.

The common language runtime can verify Microsoft Intermediate Language (MSIL).

Server-side verification means that after the form is submitted, the server-side uses JAVA and waits for the server-side code to verify the customer's input.


Disclaimer

All resources on this site are contributed by netizens or reprinted by major download sites. Please check the integrity of the software yourself! All resources on this site are for learning reference only. Please do not use them for commercial purposes. Otherwise, you will be responsible for all consequences! If there is any infringement, please contact us to delete it. Contact information: admin@php.cn

Related Article

[Data Validation Class Library] Share 10 useful PHP data validation classes [Data Validation Class Library] Share 10 useful PHP data validation classes

06 Jun 2017

When friends learn the PHP language, they will definitely pay attention to security issues in the actual development process. So, today we will introduce to you the primary measure to ensure PHP security-verification data. Validation of data is the most important habit you can adopt. And when it comes to input, it's very simple: don't trust the user.

Data validation library in PHP8.0: Respect Data validation library in PHP8.0: Respect

14 May 2023

With the popularity of the PHP language and the expansion of its application scope, data verification has become more and more important. Data validation is an important link in a web application, responsible for verifying and filtering user-submitted data and ensuring its integrity and validity. Without a strong data validation system to ensure data security and reliability, a simple input error can lead to catastrophic consequences. In PHP8.0, Respect is a good solution. What is Respect? Respect is a lightweight

Which PHP Library Best Fits Your Email Address Validation Needs? Which PHP Library Best Fits Your Email Address Validation Needs?

18 Nov 2024

PHP Email Address Validation Libraries UncoveredEmail address validation plays a crucial role in data validation, but creating a...

PHP form validation: commonly used data type validation functions PHP form validation: commonly used data type validation functions

08 Aug 2023

PHP form validation: Commonly used data type validation functions When developing web applications, forms are one of the essential components. User-entered data needs to be verified to ensure data integrity and accuracy. PHP provides a series of functions to validate various data types. This article will introduce some commonly used data type validation functions and how to use them to validate form data. Validation String String validation is one of the most commonly used validations. In forms, we often need to verify the username, password, email and other string types entered by the user.

ThinkPHP6 data validation and form validation: ensuring data security ThinkPHP6 data validation and form validation: ensuring data security

25 Aug 2023

ThinkPHP6 data validation and form validation: ensuring data security With the rapid development of web applications, data security has become a crucial task. When developing web applications, we often need to verify the data submitted by users to ensure the validity and legality of the data. As a powerful PHP framework, ThinkPHP6 provides rich data validation and form validation functions, which can help developers easily achieve data security. 1. Data verification basics 1.1 Rule verification

Universal validation library for front-end data based on jQuery_jquery Universal validation library for front-end data based on jQuery_jquery

16 May 2016

After doing development for such a long time, I have been very troubled by verification issues. I keep writing a lot of repetitive code, which is quite painful for me who wants to be lazy.

See all articles