ezcontentobjectattribute
Date de publication: le jeudi 31 mars 2011 à 17h27
Dernière modification: par Pascal BOYER le jeudi 31 mars 2011 à 17h39
Table des matières
- ezcontentobjectattribute
- ezcontentobjectattribute : extraire les informations
Summary / Résumé
Contains information about an attribute of a content object.
Contient des informations sur un attribut d'un objet de contenu.
Persistent / Persistant
Yes / Oui
Attributes / Attributs
|
Attribute Attribut | Type | Static* | Description |
|---|---|---|---|
| id |
string chaîne de caractères |
Yes Oui |
The ID number of the attribute. Le numéro de ID de l'attribut. |
| contentobject_id |
string chaîne de caractères |
Yes Oui |
The ID number of the content object that the attribute belongs to. Le numéro de ID de l'objet de contenu auquel appartient l'attribut. |
| version |
string chaîne de caractères |
Yes Oui |
The version number of the content object that the attribute belongs to. Le numéro de version de l'objet de contenu auquel appartient l'attribut. |
| language_code |
string chaîne de caractères |
Yes Oui |
The code of the translation that the attribute belongs to (for example "eng-GB"). Le code de traduction auquel est lié l'attribut (par exemple eng-GB). |
| language_id |
string chaîne de caractères |
Yes Oui |
The ID number of the translation language plus 1 if this is the language is initial/main and the object is always available. Le numéro de ID de la langue de traduction plus 1 si celle-ci est la langue initiale/principale et si l'objet est toujours disponible. |
| contentclassattribute_id |
string chaîne de caractères |
Yes Oui |
The ID number of the attribute. Le numéro de ID de l'attribut. |
| attribute_original_id |
string chaîne de caractères |
Yes Oui |
The original ID of the attribute. Le numéro de ID original de l'attribut. |
| sort_key_int |
string chaîne de caractères |
Yes Oui |
Integer used for sorting. L'entier utilisé pour trier. |
| sort_key_string |
string chaîne de caractères |
Yes Oui |
Text used for sorting. Le texte utilisé pour trier. |
| data_type_string |
string chaîne de caractères |
Yes Oui |
The identifier string of the datatype (for example "ezstring"). La chaîne de caractères de l'identifiant du datatype (par exemple ezstring). |
| data_text |
string chaîne de caractères |
Yes Oui |
Text stored by the attribute. Texte stocké par l'attribut. |
| data_int |
string chaîne de caractères |
Yes Oui |
Integer stored by the attribute. L'entier stocké par l'attribut. |
| data_float |
string chaîne de caractères |
Yes Oui |
Float stored by the attribute. Le flottant stocké par l'attribut. |
| contentclass_attribute |
object objet |
No Non |
The class attribute (as an ezcontentclassattribute object). L'attribut de la classe (en tant qu'objet ezcontentclassattribute ) |
| contentclass_attribute_identifier |
string chaîne de caractères |
No Non |
The identifier of the content class attribute (for example "first_name"). L'identifiant de l'attribut de classe de contenu (par exemple first_name). |
| contentclass_attribute_name |
string chaîne de caractères |
No Non |
The name of the content class attribute. Le nom de l'attribut de la classe de contenu. |
| can_translate |
string chaîne de caractères |
No Non |
1 if the attribute is translatable, 0 if not. 1 si l'attribut est traduisible, sinon 0. |
| is_information_collector |
string chaîne de caractères |
No Non |
1 if the attribute is an information collector, 0 if not. 1 si l'attribut est collecteur d'information, sinon 0. |
| is_required |
string chaîne de caractères |
No Non |
1 if the attribute is required, 0 if not. 1 si l'attribut est requis, sinon 0. |
| content |
any n'importe |
No Non |
The actual content (what is returned when the ".content" notation is used). Le vrai contenu (ce qui est retourné lorsque la notation .content est utilisée). |
| has_http_value |
boolean booléen |
No Non |
TRUE if the attribute has an HTTP value, FALSE otherwise. TRUE si l'attribut a une valeur HTTP, sinon FALSE. |
| value |
any n'importe |
No Non |
The HTTP input from the user (if submitted) or the contents of the object attribute from the database (same as the "content" attribute). La saisie HTTP de l'utilisateur (si envoyée) ou les contenus situés dans la base de données de l'attribut de l'objet (identique à l'attribut content). |
| has_content |
boolean booléen |
No Non |
TRUE if the attribute contains content, FALSE if it is empty. TRUE si l'attribut contient du contenu, FALSE s'il est vide. |
| class_content |
any n'importe |
No No |
The content of the class attribute which this object attribute is made from (same as ".contentclass_attribute.content"). Le contenu de l'attribut de classe à partir duquel est créé l'attribut de cet objet (identique à .contentclass_attribute.content). |
| object |
object objet |
No Non |
The object that the attribute belongs to (as an ezcontentobject object). L'objet auquel l'attribut appartient (en tant qu'objet ezcontentobject ). |
| object_version |
object objet |
No Non |
The version that the attribute belongs to (as an ezcontentobjectversion object). La version à laquelle appartient l'attribut (en tant qu'objet ezcontentobjectversion ). |
| view_template |
string chaîne de caractères |
No Non |
The name of the template that is used to display the view interface for the attribute (for example "ezstring"). Le nom du template qui est utilisé pour afficher l'interface de vue de l'attribut (par exemple ezstring). |
| edit_template |
string chaîne de caractères |
No Non |
The name of the template that is used to display the edit interface for the attribute (for example "ezstring"). Le nom du template utilisé pour afficher l'interface d'édition de l'attribut (par exemple ezstring). |
| result_template |
string chaîne de caractères |
No Non |
The name of the template that is used to display the information that was collected by the attribute (for example "ezstring"). Le nom du template utilisé pour afficher les informations collectées par l'attribut (par exemple ezstring). |
| has_validation_error |
boolean booléen |
No Non |
TRUE if a validation error was detected, FALSE if everything is okay. TRUE si une erreur de validation est détectée, FALSE si tout est ok. |
| validation_error |
NULL Sans valeur |
No Non |
The validation error(s), NULL if none. La ou les eurreurs de validation, sinon NULL. |
| validation_log |
NULL Sans valeur |
No Non |
A log of the validation error(s), NULL if none. Un log de la ou des erreurs de validation, sinon NULL. |
| language |
object objet |
No Non |
The original translation (as ezcontentobjectattribute object) of this content object attribute (it may just be the same object). La traduction originale (en tant qu'objet ezcontentobjectattribute) de cet attribut d'objet de contenu (ce peut être le même objet). |
| is_a |
string chaîne de caractères |
No Non |
Returns the identifier of the datatype that is used to represent the attribute (for example "ezstring"). Renvoie l'identifiant du datatype utilisé pour représenter l'attribut (par exemple ezstring). |
| display_info |
array tableau |
No Non |
An array containing information about how the attribute should be displayed in different scenarios (for example if the information should be grouped, etc.). Un tableau contenant des informations sur la manière dont l'attribut doit être affiché dans différents scénaris (par exemple, l'information doit-elle être groupée, etc...). |
| class_display_info |
array tableau |
No Non |
An array containing information about how the attribute should be displayed on the class level. Un tableau contenant des informations sur la manière dont l'attribut doit être affiché au niveau de la classe. |
* Indicates whether the attribute provides a pre-fetched value or if it needs to be computed upon request.
* Indique si l'attribut fournit une valeur pré-recherchée où s'il est nécessaire de la calculer à chaque requête.














