validateAttributes() public method
Validates the specified object.
public void validateAttributes ( $model, $attributes = null ) | ||
---|---|---|
$model | yii\base\Model |
The data model being validated |
$attributes | array|null |
The list of attributes to be validated. Note that if an attribute is not associated with the validator, or is is prefixed with |
Please login to continue.