Class humhub\components\validators\PastDateValidator

Inheritancehumhub\components\validators\PastDateValidator » yii\validators\DbDateValidator
Deprecated since version since version 1.1.2

PastDateValidator ensurs the date is in the past

Method Details

init() public method

public void init ( )
validateAttribute() public method

public void validateAttribute ( $model, $attribute )
$model
$attribute