Yii Extension: validate date value and ensure the value must be between min and max date