Skip to the content
Documentation

Checkbox

No ratings yet

Summary

Stores a binary value (on or off).

Properties

Name Internal name Searchable Information collector
Checkbox ezboolean Yes. Yes.

Description

This datatype allows the storage and retrieval of a binary value. It can be either on/true or off/false. The following screenshot shows the class attribute edit interface for this datatype.

Class attribute edit interface for the "Checkbox" datatype.

Object attribute edit interface

The following screenshot shows the object attribute edit interface for this datatype.

Object attribute edit interface for the "Checkbox" datatype.

 

Default value

The "Default value" parameter makes it possible to control the initial value of an attribute using this datatype when a new object is created.

Raw output

The ".content" of an ezcontentobjectattribute object using this datatype returns either "1" or "0" depending on the state of the checkbox (checked or unchecked).

Contributors

Comments

Add a comment

Comments are read by a moderator before they appear.