validators\RequiredValidator $strict

$strict public property

Whether the comparison between the attribute value and $requiredValue is strict. When this is true, both the values and types must match. Defaults to false, meaning only the values need to match. Note that when $requiredValue is null, if this property is true, the validator will check if the attribute value is null; If this property is false, the validator will call isEmpty() to check if the attribute value is empty.

public boolean $strict = false
doc_Yii
2016-10-30 17:14:04
Comments
Leave a Comment

Please login to continue.