public/javascripts/yui/treeview/treeview.js
function() {
        
        for (var def, defs = [], i = 0; i < this.children.length;i++) {
            def = this.children[i].getNodeDefinition();
            if (def === false) { return false;}
            defs.push(def);
        }
        return defs;
    }
function() {
        
        for (var def, defs = [], i = 0; i < this.children.length;i++) {
            def = this.children[i].getNodeDefinition();
            if (def === false) { return false;}
            defs.push(def);
        }
        return defs;
    }
function ( ) { for ( var def , defs = [ ] , i = 0 ; i < this . children . length ; i ++ ) { def = this . children [ i ] . getNodeDefinition ( ) ; if ( def === false ) { return false ; } defs . push ( def ) ; } return defs ; }
Returns an object which could be used to build a tree out of this node and its children.
It can be passed to the tree constructor to reproduce this node as a tree.
Since the RootNode is automatically created by treeView,
its own definition is excluded from the returned node definition
which only contains its children.
@method getNodeDefinition
@return {Object | false}  definition of the tree or false if any child node is defined as dynamic
Returns an object which could be used to build a tree out of this node and its children . It can be passed to the tree constructor to reproduce this node as a tree . Since the RootNode is automatically created by treeView its own definition is excluded from the returned node definition which only contains its children .