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
ファイルを表示 Open project: luyadev/luya

Public Properties

Property Type Description
$message The messaged to send when an error appears.

Public Methods

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

Method Details

validateAttribute() public method

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