• Publicity: Public Only All

form-field-procs.tcl

XoWiki - form fields

This file defines the following Objects and Classes: ::xowiki::formfield::ShuffleField[i], ::xowiki::formfield::text_fields[i]

Location:
packages/xowiki/tcl/form-field-procs.tcl
Created:
2007-06-22
Author:
Gustaf Neumann
CVS Identification:
$Id: form-field-procs.tcl,v 1.284.2.60 2019/12/04 10:35:18 gustafn Exp $

Procedures in this file

Detailed information

Class ::xowiki::formfield::ShuffleField (public)

 ::xotcl::Class ::xowiki::formfield::ShuffleField[i] \
    [ -shuffle_kind shuffle_kind ]

An abstract class for shuffling options and answers. The options can be used a content of checkboxes, radioboxes and the like. This is particular useful when creating quizzes.

Switches:
-shuffle_kind (optional)
none|peruser|always

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

Testcases:
No testcase defined.

Class ::xowiki::formfield::text_fields (public)

 ::xotcl::Class ::xowiki::formfield::text_fields[i]

Provide multiple text and short text entries. This field is a compound field which create for every text field a sub component. When the components are rendered, the items can be shuffled.

Partial Call Graph (max 5 caller/called nodes):
%3 _ _ (public) Class ::xowiki::formfield::text_fields Class ::xowiki::formfield::text_fields Class ::xowiki::formfield::text_fields->_

Testcases:
No testcase defined.

::xowiki::formfield::FormField instproc dict_to_fc (public)

 <instance of ::xowiki::formfield::FormField[i]> dict_to_fc \
    [ -name name ] -type type  dict

Convert the provided dict into form_constraint syntax (comma separated).

Switches:
-name (optional)
optional form-field name
-type (required)
required type of the form-field
Parameters:
dict - dict to be converted.

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

Testcases:
No testcase defined.

::xowiki::formfield::richtext::ckeditor instproc initialize (public)

 <instance of ::xowiki::formfield::richtext::ckeditor[i]> initialize

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

Testcases:
No testcase defined.
[ show source ]