Caution: This documentation is for eZ Publish legacy, from version 3.x to 6.x.
For 5.x documentation covering Platform see eZ Documentation Center, for difference between legacy and Platform see 5.x Architecture overview.

Checkbox

Summary

Stores a binary value (on or off).

Properties

NameInternal nameSearchableInformation 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.

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.

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).

Balazs Halasy (21/02/2005 2:36 pm)

Balazs Halasy (29/04/2005 1:39 pm)


Comments

There are no comments.