- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables
Class ::xowiki::formfield::boolean_checkbox
::xowiki::formfield::boolean_checkboxcreate ... \
[ -default (default "t") ]
Defined in
Class Relations
::xotcl::Class create ::xowiki::formfield::boolean_checkbox \ -superclass ::xowiki::formfield::checkboxMethods (to be applied on instances)
json_value (scripted, public)
<instance of xowiki::formfield::boolean_checkbox> json_value \ value
Export a boolean, mapping an empty value to null and preserving invalid nonempty values as strings.
- Parameters:
- value (required)
- Stored boolean field value.
- Returns:
- Two-element ns_json type/payload pair.
- Testcases:
- No testcase defined.
return [::xowiki::json_scalar boolean $value]
- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables
![[i]](/resources/acs-subsite/ZoomIn16.gif)