Yii v2 snippet guide

Comparing #80 with #81

Revision #81 was created by rackycz rackycz on Sep 20, 2019, 3:27:43 PM.

edit

Content

[...]
return true;
}
```

.. or you can create one parent-controller named for example BaseController. All other controllers will extend it.
 

```php
[...]
```

As you can see in the snippet above, other controllers must contain row "use app\controllers\BaseController"
 
 
 
Access rights --- ... text ...