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. |
Please login to continue.