validators\RangeValidator $range

$range public property

A list of valid values that the attribute value should be among or an anonymous function that returns such a list. The signature of the anonymous function should be as follows,

function($model, $attribute) {
    // compute range
    return $range;
}
doc_Yii
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.