Toggle navigation
Hot Examples
PT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Pesquisar
Página Inicial
Jyxo
Input
Validator
InArray
PHP Class Jyxo\Input\Validator\InArray
Author:
Jakub Tománek
Inheritance:
extends
AbstractValidator
Exibir arquivo
Open project: jyxo/php
Public Methods
Method
Description
__construct
(
array
$allowed
)
Constructor.
isValid
(
mixed
$value
) :
boolean
Validates a value.
Method Details
__construct()
public
method
Constructor.
public
__construct
(
array
$allowed
)
$allowed
array
Array of allowed values
isValid()
public
method
Validates a value.
public
isValid
(
mixed
$value
) :
boolean
$value
mixed
Input value
return
boolean