base\Model getFirstErrors()

getFirstErrors() public method

Returns the first error of every attribute in the model.

See also:

public array getFirstErrors ( )
return array

The first errors. The array keys are the attribute names, and the array values are the corresponding error messages. An empty array will be returned if there is no error.

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

Please login to continue.