文件名称:validation-masterPHP数据验证库.zip
文件大小:34KB
文件格式:ZIP
更新时间:2022-07-31 04:51:31
类库下载-validation-masterPHP数据验证库
<?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)是信息术语,编译过程的一部分,在该过程中,对代码进行检查,看是否与定义的特定规则集相一致,以允许检验某些安全要求。公共语言运行库可以验证Microsoft中间语言(MSIL)。服务器端验证就是当表单提交后,在服务器端通过JAVA,等服务器端代码对客户输入进行验证。
【文件预览】:
validation-masterPHP数据验证库
----validation-master()
--------ValidationSet.php(5KB)
--------ValidatorAwareTrait.php(9KB)
--------LICENSE.txt(1KB)
--------ValidatableInterface.php(1KB)
--------ValidatorAwareInterface.php(2KB)
--------Validator.php(68KB)
--------RulesProvider.php(2KB)
--------README.md(1KB)
--------ValidationRule.php(6KB)
--------Validation.php(52KB)
--------composer.json(997B)
----php中文网下载站.url(114B)
----php中文网免费下载站.txt(219B)