yiisoft/yii2 — pull request #5656 by 6pblcb (2014-10-20 07:51:37+00:00)
Title: Added support for the array to the method hasErrors() of the \yii\base\Model

Made these changes, because is not the first time need them.
A simple example:
In the view, form is divided into blocks. If all the fields in the block are valid then the block is constricted.
```php
//view

">

```