- Publicity: Public Only All
xowiki-mode-procs.tcl
XoWiki - Mode procs
This file defines the following Objects and Classes: ::xowiki::Mode, ::xowiki::mode::admin, ::xowiki::Mode, ::xowiki::Mode, ::xowiki::Mode, ::xowiki::Mode, ::xowiki::Mode, ::xowiki::Mode, ::xowiki::Mode, ::xowiki::Mode, ::xowiki::Mode, ::xowiki::Mode, ::xowiki::Mode, ::xowiki::Mode, ::xowiki::Mode, ::xowiki::mode::admin, ::xowiki::Mode, ::xowiki::Mode, ::xowiki::Mode, ::xowiki::Mode, ::xowiki::Mode, ::xowiki::Mode, ::xowiki::Mode, ::xowiki::Mode, ::xowiki::Mode, ::xowiki::mode::admin, ::xowiki::Mode, ::xowiki::Mode, ::xowiki::Mode, ::xowiki::Mode, ::xowiki::Mode, ::xowiki::Mode, ::xowiki::Mode, ::xowiki::Mode, ::xowiki::Mode, ::xowiki::Mode, ::xowiki::mode::admin, ::xowiki::Mode, ::xowiki::Mode, ::xowiki::Mode, ::xowiki::Mode, ::xowiki::Mode, ::xowiki::Mode, ::xowiki::Mode, ::xowiki::Mode, ::xowiki::mode::admin, ::xowiki::mode::admin, ::xowiki::Mode, ::xowiki::Mode, ::xowiki::Mode, ::xowiki::Mode, ::xowiki::Mode, ::xowiki::mode::admin, ::xowiki::mode::admin, ::xowiki::Mode
- Location:
- packages/xowiki/tcl/xowiki-mode-procs.tcl
- Created:
- 2016-03-22
- Author:
- Gustaf Neumann
- CVS Identification:
$Id: xowiki-mode-procs.tcl,v 1.7 2024/10/23 12:14:49 gustafn Exp $
Procedures in this file
- Class ::xowiki::Mode (public)
- Object ::xowiki::mode::admin (public)
- xowiki::Mode instproc get (public)
- xowiki::Mode instproc set (public)
- xowiki::Mode instproc toggle (public)
- xowiki::mode::admin proc default (public)
Detailed information
Class ::xowiki::Mode (public)
::nx::Class ::xowiki::Mode
Mode handler to set for the current session some application specific mode (like e.g. admin-mode, developer-mode, student-mode, training-mode, ...) Interface: - method get: obtain the current value (maybe default) - method set: force the mode to the provided value - method toggle: toggle current value
- Testcases:
- No testcase defined.
Object ::xowiki::mode::admin (public)
::xowiki::Mode ::xowiki::mode::admin
Sample admin mode handler object to toggle "admin" mode on and off.
- Testcases:
- No testcase defined.
xowiki::Mode method get (public)
<instance of xowiki::Mode> get
Get the current mode, which might be set by the user or which might be obtained from the default method.
- Testcases:
- No testcase defined.
xowiki::Mode method set (public)
<instance of xowiki::Mode> set value
Set the mode to the specified value
- Parameters:
- value (required, boolean)
- Testcases:
- No testcase defined.
xowiki::Mode method toggle (public)
<instance of xowiki::Mode> toggle
Switch state of the toggle
- Testcases:
- No testcase defined.
xowiki::mode::admin proc default (public)
xowiki::mode::admin default
Admins are per default in admin-mode
- Testcases:
- No testcase defined.