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
2016-10-30 17:14:01
Comments
Leave a Comment

Please login to continue.