Alex

Results 30 comments of Alex

In this case there is need to use the validator string instead of safe

@cebe, not in plain Model, an instance of the class ActiveDataProvider I just checked and I have everything working perfectly ``` php ```

@cebe ![image](https://cloud.githubusercontent.com/assets/675367/8371879/2f5f4f8e-1be6-11e5-83bb-3bf11590d363.png) ``` php class UserSearch extends Model { // ... public $email; public function rules() { return [ // ... [['email'], 'string'], ]; } public function search($params) { $query...

@lynicidn I think you better create a new issue

@Faryshta, Scenarios only need to edit data, and search nothing should be written, that it is proposed to inherit the Search model from the parent class, and Model. Thus the...

@Faryshta, I understand you about this [login form](https://github.com/yiisoft/yii2-app-advanced/blob/master/common/models/LoginForm.php) is now trying to tell, but there are no scenarios.

@Faryshta SCENARIO is a good tool for small tasks. But we are talking about [Composite pattern](https://en.wikipedia.org/wiki/Composite_pattern)

For php7, this library no longer makes sense https://github.com/tony2001/php-judy/pull/3#issuecomment-193511739