Yii v2 snippet guide

Comparing #59 with #60

Revision #60 was created by rackycz rackycz on Sep 20, 2019, 1:46:11 PM.

edit

Content

[...]
$model->scenario = User::SCENARIO_CREATE; // the new scenario!
// ...
```


i18n translations
 + Session
---
Translations are fairly simple, but I probably didnt read manuals carefully so it took me some time.
[...]
- "C:\xampp\htdocs\basic\messages\de-DE\app.php"

Now
hgo to file config/web.php, find section "components" and paste this code:

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

You surely saw that I views and Access rights --- ... text ...