Merge pull request #3097 from Skullcrasher/master

updated appd-advanced.md
Fixes #3091: Fixed inconsistent treatment of `Widget::run()` when a widget is used as a container and as a self-contained object
Update ActiveRelationTrait.php
Update gii.md

fixes for https://github.com/yiisoft/yii2/issues/951#issuecomment-25934549
upd image
Hide debug toolbar when media = print

fix https://github.com/yiisoft/yii2/issues/3050
Update model.md

Add `whenClient` description
Update model.md
Merge pull request #3105 from githubjeka/patch-4

Update model.md
Merge pull request #3103 from githubjeka/patch-3

Hide debug toolbar when media = print
Updated changelog
Merge pull request #3102 from githubjeka/origin/patch-2

Update gii guide.
Merge pull request #3099 from thiagotalma/patch-1

Update ActiveRelationTrait.php
Implement new RBAC PhpManager
Merge pull request #3110 from tof06/rbac-php-manager

Implement new RBAC PhpManager
Fixes #3108: Added `yii\debug\Module::enableDebugLogs` to disable logging debug logs by default
log fixes [skip ci]
Refactored `yii\rbac\PhpManager`
Replaced `clearAll()` and `clearAllAssignments()` in `yii\rbac\ManagerInterface` with `removeAll()`, `removeAllRoles()`, `removeAllPermissions()`, `removeAllRules()` and `removeAllAssignments()`
Update ActiveQuery.php

PHPDoc comment does not match function or method signature
Update PHPDoc Comment

Adjust code standard
Merge pull request #3114 from thiagotalma/patch-1

Update ActiveQuery.php