PHP Class luya\validators\FloatValidator

Since: 1.0.0-beta8
Author: Basil Suter ([email protected])
Author: Martin Petrasch ([email protected])
Inheritance: extends yii\validators\Validator
Afficher le fichier Open project: luyadev/luya

Méthodes publiques

Свойство Type Description
$message The messaged to send when an error appears.

Méthodes publiques

Méthode Description
validateAttribute ( $model, $attribute ) Validate the value if is_numeric or if not is_float.

Method Details

validateAttribute() public méthode

Validate the value if is_numeric or if not is_float.
See also: yii\validators\Validator::validateAttribute()
public validateAttribute ( $model, $attribute )

Property Details

$message public_oe property

The messaged to send when an error appears.
public $message