base\Model createValidators()

createValidators() public method

Creates validator objects based on the validation rules specified in rules().

Unlike getValidators(), each time this method is called, a new list of validators will be returned.

public ArrayObject createValidators ( )
return ArrayObject

Validators

throws yii\base\InvalidConfigException

if any validation rule configuration is invalid

doc_Yii
2016-10-30 16:51:47
Comments
Leave a Comment

Please login to continue.