public/javascripts/yui/treeview/treeview.js
function() { 
        for (var i=0;i<this.children.length;++i) {
            this.children[i].collapse();
            this.children[i].collapseAll();
        }
    }
function() { 
        for (var i=0;i<this.children.length;++i) {
            this.children[i].collapse();
            this.children[i].collapseAll();
        }
    }
function ( ) { for ( var i = 0 ; i < this . children . length ; ++ i ) { this . children [ i ] . collapse ( ) ; this . children [ i ] . collapseAll ( ) ; } }
Recursively collapses all of this node's children.
@method collapseAll
Recursively collapses all of this node s children .