A display mode: a way the application looks for whoever turns it on. It never gives a right -- what a user may do is their scopes' (mmo.oauth) -- it only decides what is shown: pages and menu entries, parts of a page, tools.
final class MMO\client\classes\Mode
Espace de noms
MMO\client\classes
Voir
Modes (modes). A mode with a scope is only offered to whoever holds it (mmo.oauth answers, ModeAccess); one without is offered to everybody.
Two kinds, which combine:
- a **level** ([`LEVEL`](https://mmoframework.fr/fr/documentation/mmo.client/php/classes/Mode.md#mode-level)): how dense the application is, one at a time -- `simple`, `standard`, `expert`. A level
has a `rank`: what a content asks of a level is shown from that level up.
- a **layer** ([`LAYER`](https://mmoframework.fr/fr/documentation/mmo.client/php/classes/Mode.md#mode-layer)): tools and cues drawn over whatever level is shown, any number at once -- `dev` (mmo.admin's
developer mode), `writer`, `translator`...
Declared by a library or an application through [`ModesList`](https://mmoframework.fr/fr/documentation/mmo.client/php/events/ModesList.md#modeslist), or in the configuration of