xowiki-mode-procs.tcl

XoWiki - Mode procs

This file defines the following Objects and Classes: ::xowiki::Mode[i]

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

Detailed information

Class ::xowiki::Mode (public)

 ::nx::Class ::xowiki::Mode[i]

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):
%3 ad_get_client_property ad_get_client_property (public) ad_set_client_property ad_set_client_property (public) Class ::xowiki::Mode Class ::xowiki::Mode Class ::xowiki::Mode->ad_get_client_property Class ::xowiki::Mode->ad_set_client_property

Testcases:
No testcase defined.

xowiki::Mode method get (public)

 <instance of xowiki::Mode[i]> 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):
%3 ad_get_client_property ad_get_client_property (public) ad_set_client_property ad_set_client_property (public) xowiki::Mode instproc get xowiki::Mode instproc get xowiki::Mode instproc get->ad_get_client_property xowiki::Mode instproc get->ad_set_client_property

Testcases:
No testcase defined.

xowiki::Mode method mode_name (protected)

 <instance of xowiki::Mode[i]> mode_name

Partial Call Graph (max 5 caller/called nodes):
%3

Testcases:
No testcase defined.

xowiki::Mode method set (public)

 <instance of xowiki::Mode[i]> set value

Set the mode to the specified value

Parameters:
value

Partial Call Graph (max 5 caller/called nodes):
%3 ad_set_client_property ad_set_client_property (public) xowiki::Mode instproc set xowiki::Mode instproc set xowiki::Mode instproc set->ad_set_client_property

Testcases:
No testcase defined.

xowiki::Mode method toggle (public)

 <instance of xowiki::Mode[i]> toggle

Switch state of the toggle

Partial Call Graph (max 5 caller/called nodes):
%3

Testcases:
No testcase defined.
[ show source ]