uiswitch
Available since Exponential 6.0.15 (in development, not in a release yet).
Summary
The uiswitch module (doc/eng-us/features/6.0/ui-switch.md): the administration interface's switchable preferences, the display language first.
Description
The uiswitch module (doc/eng-us/features/6.0/ui-switch.md): the administration interface's switchable preferences, the display language first. uiswitch/set (POST) changes one, uiswitch/state (GET) answers with JSON what the user may choose.
Policies: one function per provider of uiswitch.ini [UISwitchSettings] ProviderList[] (uiswitch/language, and what an extension adds), so a provider gets its policy without a change here. Administrator holds them through its policy on every module; new installations give uiswitch/language to Editor.
Views
| Name | Summary |
|---|---|
| set | |
| state |
Policy functions
| Function | Limitations |
|---|---|
| language | - |
| design | - |
Fetch functions
| Name | Summary |
|---|---|
| front_designs | fetch( 'uiswitch', 'front_designs' ): the designs a front siteaccess lets every visitor switch between (site.ini [DesignSettings] SwitchableDesigns[]), with ... |
| toolbar | expUISwitch::fetchToolbar() |
Source
kernel/uiswitch/module.php
See also
Help: features/6.0/ui-switch.md
Generated examples: the views of uiswitch
Generated examples: the policies of uiswitch
Added to the reference for Exponential 6.0.15: the 4.x reference had no page for this module.
In this section
Contributors
- Graham Brookins Updated
Comments
Add a comment