Свойство | Тип | Описание | |
---|---|---|---|
$falseValue | the value representing false status. Defaults to '0'. | ||
$strict | whether the comparison to [[trueValue]] and [[falseValue]] is strict. When this is true, the attribute value and type must both match those of [[trueValue]] or [[falseValue]]. Defaults to false, meaning only the value needs to be matched. | ||
$trueValue | the value representing true status. Defaults to '1'. |
Метод | Описание | |
---|---|---|
clientValidateAttribute ( $model, $attribute, $view ) | ||
init ( ) |
Метод | Описание | |
---|---|---|
validateValue ( $value ) |
public clientValidateAttribute ( $model, $attribute, $view ) |
public $falseValue |
public $strict |