Skip to the content
Documentation

ezcontentclassattribute

No ratings yet
Summary

Contains information about an attribute of a content class.

Persistent

Yes.

Attributes
Attribute Type Description
id string The ID number of the class attribute.
name string The name of the class attribute.
version string The version number of the version that the attribute belongs to.
contentclass_id string The ID number of the class that the attribute belongs to.
identifier string The identifier of the class attribute (for example "first_name").
placement string The location of the class attribute within the list of attributes.
is_searchable string Either 1 or 0. 1 means that the content stored using this attribute will be indexed by the search engine, 0 means that the content will not be indexed.
is_required string Either 1 or 0. 1 means that input is required, 0 means that empty inputs are allowed.
can_translate string Either 1 or 0. 1 means that instances of the attribute can be translated to different languages. 0 means that no translations (except for the default translation) can be made.
is_information_collector string Either 1 or 0. 1 means that the attribute functions as an information collector. 0 means that the attribute is just a normal attribute and thus stores data in the default/normal way.
data_type_string string The identifier string of the datatype that is used to represent the class attribute (for example "ezstring").
data_int1 string Integer 1.
data_int2 string Integer 2.
data_int3 string Integer 3.
data_int4 string Integer 4.
data_float1 string Float 1.
data_float2 string Float 2.
data_float3 string Float 3.
data_float4 string Float 4.
data_text1 string Text 1.
data_text2 string Text 2.
data_text3 string Text 3.
data_text4 string Text 4.
content mixed Data for the datatype which this class attribute is made of, the actual data
depends on the datatype.
temporary_object_attribute object A temporary content object attribute (as ezcontentobjectattribute object) which does not exist in the database..
datatype object The datatype that is used to represent the class attribute.
display_info array Array of miscellaneous display parameters used by the system (for example whether the components of the edit interface should be grouped or not).

Contributors

Comments

Add a comment

Comments are read by a moderator before they appear.