public/javascripts/yui/treeview/treeview.js
function(name, value, refresh) {
        this.root.setNodesProperty(name,value);
        if (refresh) {
            this.root.refresh();
        }
    }
function(name, value, refresh) {
        this.root.setNodesProperty(name,value);
        if (refresh) {
            this.root.refresh();
        }
    }
function ( name , value , refresh ) { this . root . setNodesProperty ( name , value ) ; if ( refresh ) { this . root . refresh ( ) ; } }
Sets the value of a property for all loaded nodes in the tree.
@method setNodesProperty
@param name {string} Name of the property to be set
@param value {any} value to be set
@param refresh {boolean} if present and true, it does a refresh
Sets the value of a property for all loaded nodes in the tree .