Difference between #80 and #81 of
Yii v2 snippet guide

Revision #81 has been created by rackycz on Sep 20, 2019, 3:27:43 PM with the memo:

edit
« previous (#80) next (#82) »

Changes

Title unchanged

Yii v2 for beginners

Category unchanged

Tutorials

Yii version unchanged

2.0

Tags unchanged

tutorial,beginner,yii2

Content changed

[...]
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 ...
7 0
4 followers
Viewed: 258 044 times
Version: 2.0
Category: Tutorials
Written by: rackycz
Last updated by: rackycz
Created on: Sep 19, 2019
Last updated: 6 months ago
Update Article

Revisions

View all history