ezcontentobjecttreenode
Date de publication: le jeudi 31 mars 2011 à 16h58
Dernière modification: par Pascal BOYER le jeudi 31 mars 2011 à 16h58
versions 3.9, 3.10, 4.x
Summary / Réumé
Contains information about a node within the content node tree.
Contient des informations sur un nœud de l'arbre de nœuds de contenu.
Persistent / Persistant
Yes / Oui
Attributes / Attributs
|
Attribute Attribut | Type | Static* | Description |
|---|---|---|---|
| node_id |
string chaîne de caractères |
Yes Oui |
The ID number of the node. Le numéro de ID du nœud. |
| parent_node_id |
string chaîne de caractères |
Yes Oui |
The ID number of the parent node. Le numéro de ID du nœud parent. |
| main_node_id |
string chaîne de caractères |
Yes Oui |
The ID number of the main node. Le numéro de ID du nœud principal. |
| contentobject_id |
string chaîne de caractères |
Yes Oui |
The ID number of the content object. Le numéro de ID de l'objet de contenu. |
| contentobject_version |
string chaîne de caractères |
Yes Oui |
The number of the published version. Le numéro de la version publiée. |
| contentobject_is_published |
string chaîne de caractères |
Yes Oui |
The published status of the object (0=not published, 1=published). Le statut de publication de l'objet (0=non publié, 1=publié). |
| depth |
string chaîne de caractères |
Yes Oui |
The depth of the node within the content node tree. The depth of a top level node is 1. La profondeur du nœud dans l'arbre de nœuds de contenu sachant que la profondeur d'un nœud de plus haut niveau est 1. |
| sort_field |
string chaîne de caractères |
Yes Oui |
The sorting method used to sort the child nodes. La méthode de tri utilisée pour les nœuds enfants. |
| sort_order |
string chaîne de caractères |
Yes Oui |
The sorting order used when sorting the node's children. L'ordre de tri utilisé pour les enfants du nœud. |
| priority |
string chaîne de caractères |
Yes Oui |
The node's priority (positive or negative integer). La priorité du nœud (entier positif ou négatif) |
| modified_subnode |
string chaîne de caractères |
Yes Oui |
A UNIX timestamp pinpointing the exact time a sub node was changed. Un timestamp UNIX correspondant à l'heure exacte de modification d'un sous-nœud. |
| path_string |
string chaîne de caractères |
Yes Oui |
The node's path string (for example "/1/2/44"). La chaîne de caractères du chemin du nœud (par exemple /1/2/44). |
| path_identification_string |
string chaîne de caractères |
Yes Oui |
The node's path identification string in the initial/main language (for example "company/about_us"). La chaîne de caractères de l'identification du chemin du nœud dans la langue initiale/principale (par exemple company/about_us) |
| remote_id |
string chaîne de caractères |
Yes Oui |
A unique ID for the node (avoids crashes when importing/exporting nodes). A remote ID is an MD5 hash of the time when the node was generated plus a random value. Un ID unique du nœud (évite les crash lors de l'importation/exportation des nœuds). Un ID distant est un hash MD5 de l'heure à laquelle a été généré le nœud + une valeur aléatoire. |
| is_hidden |
string chaîne de caractères |
Yes Oui |
The node's hidden status (0=visible, 1=hidden). Le statut de visibilité du nœud (0=visible, 1=caché). |
| is_invisible |
string chaîne de caractères |
Yes Oui |
The node's visibility status (0=visible, 1=hidden by superior). Le statut de visibilité du nœud (0=visible, 1=caché par nœud supérieur). |
| name |
string chaîne de caractères |
No Non |
The name of the object the node encapsulates (for example "My article"). Le nom de l'objet que le nœud encapsule (par exemple Mon article). |
| data_map |
array tableau |
No Non |
The object's attributes as ezcontentobjectattribute objects. Les attributs de l'objet en tant qu'objets ezcontentobjectattribute . |
| object |
object objet |
No Non |
The actual content object (as ezcontentobject) that the node encapsulates. Le contenu de l'objet (en tant que ezcontentobject ) que le nœud encapsule. |
| subtree |
array tableau |
No Non |
All the nodes that are below this node as ezcontentobjecttreenode objects. Tous les nœuds placés sous ce nœuds (en tant qu'objets ezcontentobjecttreenode). |
| children |
array tableau |
No Non |
Array of nodes that are directly below this node as ezcontentobjecttreenode objects. Un tableau des nœuds placés directement sous ce nœud (en tant qu'objets ezcontentobjecttreenode). |
| children_count |
string chaîne de caractères |
No Non |
The number of nodes that are directly below this node. Le nombre de nœuds placés directement sous ce nœud. |
| view_count |
integer entier |
No Non |
The number of times the node has been viewed. Le nombre de fois que le nœuds a été vu. |
| contentobject_version_object |
object objet |
No Non |
The current version (as ezcontentobjectversion) of the object that the node encapsulates. La version courante (en tant que ezcontentobjectversion ) de l'objet que le nœud encapsule. |
| sort_array |
array tableau |
No Non |
The node's sort array. Le tableau de tri des nœuds. |
| can_read |
boolean booléen |
No Non |
Returns TRUE if the current user has read access to the node (FALSE otherwise). Renvoie TRUE si l'utilisateur courant a le droit de lecture sur le nœud (sinon FALSE). |
| can_pdf |
boolean booléen |
No Non |
Not documented yet. Pas encore documenté. |
| can_create |
boolean booléen |
No Non |
Returns TRUE if the current user can create nodes under this node (FALSE otherwise). Renvoie TRUE si l'utilisateur courant a le droit de créer des nœuds sous ce nœud (sinon FALSE). |
| can_edit |
boolean booléen |
No Non |
Returns TRUE if the current user has edit access to the node (FALSE otherwise). Renvoie TRUE si l'utilisateur courant a le droit d'édition sur le neud (sinon FALSE). |
| can_hide |
boolean booléen |
No Non |
Returns TRUE if the current user can modify the hidden state of the node (FALSE otherwise). Renvoie TRUE si l'utilisateur courant peut modifier l'état caché du nœud (sinon FALSE). |
| can_remove |
boolean booléen |
No Non |
Returns TRUE if the current user can remove the node (FALSE otherwise). Renvoie TRUE si l'utilisateur courant peut supprimer le nœud (sinon FALSE). |
| can_move |
boolean booléen |
No Non |
Returns TRUE if the current user can move the node to another location (FALSE otherwise). Renvoie TRUE si l'utilisateur courant peut déplacer le nœud vers un autre emplacement (sinon FALSE). |
| can_move_from |
boolean booléen |
No Non |
Same as "can_move", returns TRUE if the current user has permissions to move node, FALSE otherwise. Identique à can_remove, renvoie TRUE si l'utilisateur courant à la permission de déplacer des nœuds, sinon FALSE. |
| can_add_location |
boolean booléen |
No Non |
Not documented yet. Pas encore documenté. |
| can_remove_location |
boolean booléen |
No Non |
Not documented yet. Pas encore documenté. |
| can_view_embed |
boolean booléen |
No Non |
Not documented yet. Pas encore documenté. |
| is_main |
boolean booléen |
No Non |
Not documented yet. Pas encore documenté. |
| creator |
object objet |
No Non |
The object (as ezcontentobject) containing the user who created the node. L'objet (en tant que ezcontentobject ) contenant l'utilisateur qui a créé le nœud. |
| path |
array tableau |
No Non |
Array containing the nodes that make up the path as ezcontentobjecttreenode objects. The current node is not included. Un tableau contenant les nœuds qui forment le chemin en tant que ezcontentobjecttreenode. Le nœud courant n'est pas inclus. |
| path_array |
array tableau |
No Non |
Array of strings revealing the ID numbers of the nodes that make up the path. The current node is also included. Un tableau de chaînes de caractères dévoilant les numéros de ID des nœuds qui forment le chemin. Le nœud courant est également inclus. |
| parent |
object objet |
No Non |
The parent node (as ezcontentobjecttreenode). Le nœud parent (en tant que ezcontentobjecttreenode). |
| url |
string chaîne de caractères |
No Non |
The URL of the node either as a virtual URL ("company/about_us") or a system URL ("content/view/full/13") depending on a configuration setting. L'URL du nœud qui, en fonction d'un paramètre de configuration, sera soit un URL virtuel ( company/about_us) soit un URL système ( content/view/full/13). |
| url_alias |
string chaîne de caractères |
No Non |
The virtual URL of the node in the current language (which is determined according to the list of prioritized languages), for example "company/about_us". L'URL virtuel du nœud dans la langue courante (déterminée en accord avec la liste de priorité des langues),company/about_uspar exemple. |
| class_identifier |
string chaîne de caractères |
No Non |
The identifier of the class which the object encapsulated by the node is an instance of (for example "product_review"). L'indentifiant de la classe dont l'objet encapsulé par le nœud est une instance (par exemple product_review). |
| class_name |
string chaîne de caractères |
No Non |
The name of the class which the object encapsulated by the node is an instance of (for example "Product review"). Le nom de la classe dont l'objet encapsulé par le nœud est une instance (par exemple Product Review). |
| hidden_invisible_string |
string chaîne de caractères |
No Non |
The visibility status of a node ("-/-" = completely visible, "H/X" = hidden by user and thus invisible, "-/X" = hidden by superior). Le statut de visibilité d'un nœud (-/- = complètement visible, H/X = caché par un utilisateur et donc invisible, -/X = caché par un nœud supérieur). |
| hidden_status_string |
string chaîne de caractères |
No Non |
The visibility status of the node: "Visible", "Hidden" or "Hidden by superior". Le statut de visibilité d'un nœud: Visible, Hidden ou Hidden by superior. |
* 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 ou s'il est nécessaire de la calculer à chaque requête.














