validators\IpValidator validateAttribute()

validateAttribute() public method

Validates a single attribute.

Child classes must implement this method to provide the actual validation logic.

public void validateAttribute ( $model, $attribute )
$model yii\base\Model

The data model to be validated

$attribute string

The name of the attribute to be validated.

doc_Yii
2016-10-30 17:13:56
Comments
Leave a Comment

Please login to continue.