ezcontentclassattribute
Summary
Contains information about an attribute of a content class.Persistent
Yes.Attributes
Attribute | Type | Static* | Description |
---|---|---|---|
id |
string |
Yes. |
The ID number of the class attribute. |
name |
string |
Yes. |
The name of the class attribute. |
version |
string |
Yes. |
The version number of the version that the attribute belongs to. |
contentclass_id |
string |
Yes. |
The ID number of the class that the attribute belongs to. |
identifier |
string |
Yes. |
The identifier of the class attribute (for example "first_name"). |
placement |
string |
Yes. |
The location of the class attribute within the list of attributes. |
is_searchable |
string |
Yes. |
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 |
Yes. |
Either 1 or 0. 1 means that input is required, 0 means that empty inputs are allowed. |
can_translate |
string |
Yes. |
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 |
Yes. |
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 |
Yes. |
The identifier string of the datatype that is used to represent the class attribute (for example "ezstring"). |
data_int1 |
string |
Yes. |
Integer 1. |
data_int2 |
string |
Yes. |
Integer 2. |
data_int3 |
string |
Yes. |
Integer 3. |
data_int4 |
string |
Yes. |
Integer 4. |
data_float1 |
string |
Yes. |
Float 1. |
data_float2 |
string |
Yes. |
Float 2. |
data_float3 |
string |
Yes. |
Float 3. |
data_float4 |
string |
Yes. |
Float 4. |
data_text1 |
string |
Yes. |
Text 1. |
data_text2 |
string |
Yes. |
Text 2. |
data_text3 |
string |
Yes. |
Text 3. |
data_text4 |
string |
Yes. |
Text 4. |
content |
mixed |
No. |
Data for the datatype which this class attribute is made of, the actual data |
temporary_object_attribute |
object |
No. |
A temporary content object attribute (as ezcontentobjectattribute object) which does not exist in the database. |
data_type |
object |
No. |
The datatype that is used to represent the class attribute. |
display_info |
array |
No. |
Array of miscellaneous display parameters used by the system (for example whether the components of the edit interface should be grouped or not). |
* Indicates whether the attribute provides a pre-fetched value or if it needs to be computed upon request.
Balazs Halasy (23/02/2005 7:19 pm)
Svitlana Shatokhina (12/03/2007 10:31 am)
Comments
There are no comments.