tinymce.html.js
function(name) {
                var node, self = this,
                    collection = [];
                for (node = self.firstChild; node; node = walk(node, self)) {
                    node.name === name && collection.push(node);
                }
                return collection;
            }
function(name) {
                var node, self = this,
                    collection = [];
                for (node = self.firstChild; node; node = walk(node, self)) {
                    node.name === name && collection.push(node);
                }
                return collection;
            }
function ( name ) { var node , self = this , collection = [ ] ; for ( node = self . firstChild ; node ; node = walk ( node , self ) ) { node . name === name && collection . push ( node ) ; } return collection ; }
Get all children by name.

@method getAll
@param {String} name Name of the child nodes to collect.
@return {Array} Array with child nodes matchin the specified name.
Get all children by name .