validators\RequiredValidator $requiredValue

$requiredValue public property

The desired value that the attribute must have. If this is null, the validator will validate that the specified attribute is not empty. If this is set as a value that is not null, the validator will validate that the attribute has a value that is the same as this property value. Defaults to null.

See also $strict.

public mixed $requiredValue = null
doc_Yii
2016-10-30 17:14:04
Comments
Leave a Comment

Please login to continue.