Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
Fuel
Validation
ValidatableInterface
PHP Interface Fuel\Validation\ValidatableInterface
Afficher le fichier
Open project: fuelphp/validation
Méthodes publiques
Méthode
Description
run
(
array
$data
,
Fuel\Validation\ResultInterface
$result
= null ) :
Fuel\Validation\ResultInterface
Takes an array of data and validates that against the assigned rules.
Method Details
run()
public
méthode
The array is expected to have keys named after fields. This function will call reset() before it runs.
Since:
2.0
public
run
(
array
$data
,
Fuel\Validation\ResultInterface
$result
= null ) :
Fuel\Validation\ResultInterface
$data
array
$result
Fuel\Validation\ResultInterface
Résultat
Fuel\Validation\ResultInterface