wCMF 4.1
Guides
Getting started
Architecture
Model
Persistence
Presentation
Configuration
Security
I18n & l10n
Tests
Versions
4.1.x
4.0.x
API
Classes
Hierarchy
Code
Support
home
travis
build
iherwig
wcmf
src
wcmf
lib
validation
ValidateType.php
1
<?php
2
/**
3
* wCMF - wemove Content Management Framework
4
* Copyright (C) 2005-2020 wemove digital solutions GmbH
5
*
6
* Licensed under the terms of the MIT License.
7
*
8
* See the LICENSE file distributed with this work for
9
* additional information.
10
*/
11
namespace
wcmf\lib\validation
;
12
13
/**
14
* ValidateType defines the interface for all validator classes.
15
*
16
* @author ingo herwig <ingo@wemove.com>
17
*/
18
interface
ValidateType
{
19
20
/**
21
* Validate a given value. The options format is type specific.
22
* @param $value The value to validate
23
* @param $options Optional implementation specific options passed as an associative array
24
* @param $context An associative array describing the validation context (optional)
25
* @return Boolean
26
*/
27
public
function
validate
($value, $options=
null
, $context=
null
);
28
}
29
?>
wcmf\lib\validation\ValidateType\validate
validate($value, $options=null, $context=null)
Validate a given value.
wcmf\lib\validation
 
Definition:
namespaces.php:54
wcmf\lib\validation\ValidateType
ValidateType defines the interface for all validator classes.
Definition:
ValidateType.php:18