Wednesday 29 September 2004 5:41:51 am
$node points to the content node itself (which can be thought of as an encapsulation of an object within the content node tree). $node.object points to the object itself (the object being encapsulated/pointed to by the node) $node.object.data_map and $node.data_map are the same (both point to the attributes of the *current* version of the object) - the most "correct" notation is $node.object.data_map. $node.data_map is just an alias/shortcut (makes it easier/faster to remember/write). Doesn't really matter which one you're using, since they do exactly the same thing (point to the attributes of the current version of the object which is encapsulated by (or pointed to by - just another way of seeing it) a particular node. If you're unsure about nodes and objects, I strongly recommend reading the following doc pages: http://ez.no/ez_publish/documentation/ez_publish_basics/content_management_in_ez_publish/the_content_object and especially this one: http://ez.no/ez_publish/documentation/ez_publish_basics/content_management_in_ez_publish/objects_nodes_and_the_content_node_tree Balazs
|