Author: andre
Date: 2009-11-26 18:19:09 +0100 (Thu, 26 Nov 2009)
New Revision: 39988

Modified:
   openimages/trunk/mmsite/src/main/java/org/mmbase/mmsite/UrlUtils.java
Log:
javadoc



Modified: openimages/trunk/mmsite/src/main/java/org/mmbase/mmsite/UrlUtils.java
===================================================================
--- openimages/trunk/mmsite/src/main/java/org/mmbase/mmsite/UrlUtils.java       
2009-11-26 17:15:31 UTC (rev 39987)
+++ openimages/trunk/mmsite/src/main/java/org/mmbase/mmsite/UrlUtils.java       
2009-11-26 17:19:09 UTC (rev 39988)
@@ -29,10 +29,12 @@
     }
 
     /**
-     * Nodes starting form this node to the root, these require a field 'path'.
+     * Generate a crumbpath of nodes of the same type, like for example pages, 
+     * which means you get the 'most root' node first.
+     * Nodes start form this node to the root, these require a field 'path'.
      *
      * @param  node    A node of some type with a field 'path'
-     * @return list with all the nodes leading to the homepage including the 
present node
+     * @return list with all the nodes from the homepage or 'most root' node 
to the present node
      */
     public static NodeList crumbs(Node node) {
         NodeList l = listNodes2Root(node);

_______________________________________________
Cvs mailing list
Cvs@lists.mmbase.org
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to