Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
Fuel
Validation
Rule
Required
PHP Class Fuel\Validation\Rule\Required
Since:
2.0
Author:
Fuel Development Team
Inheritance:
extends
Fuel\Validation\AbstractRule
Datei anzeigen
Open project: fuelphp/validation
Protected Properties
Property
Type
Description
$alwaysRun
$message
string
Contains the rule failure message
Public Methods
Method
Description
validate
(
mixed
$value
,
null
$field
= null,
null
$allFields
= null ) :
boolean
Method Details
validate()
public
method
Since:
2.0
public
validate
(
mixed
$value
,
null
$field
= null,
null
$allFields
= null ) :
boolean
$value
mixed
$field
null
$allFields
null
return
boolean
Property Details
$alwaysRun
protected_oe property
protected
$alwaysRun
$message
protected_oe property
Contains the rule failure message
protected
string
$message
return
string