- Publicity: Public Only All
xowiki-mode-procs.tcl
XoWiki - Mode procs
This file defines the following Objects and Classes: ::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.3.2.2 2020/08/26 18:46:08 gustafn Exp $
Procedures in this file
- Class ::xowiki::Mode (public)
- xowiki::Mode instproc get (public)
- xowiki::Mode instproc set (public)
- xowiki::Mode instproc toggle (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
- Partial Call Graph (max 5 caller/called nodes):
- 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.
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
xowiki::Mode method set (public)
<instance of xowiki::Mode> set value
Set the mode to the specified value
- Parameters:
- value
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
xowiki::Mode method toggle (public)
<instance of xowiki::Mode> toggle
Switch state of the toggle
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.