static/ext/src/Ext-more.js
function(arr, methodName){
            var ret  = [],
                args = Array.prototype.slice.call(arguments, 2),
                a, v,
                aLen = arr.length;

            for (a = 0; a < aLen; a++) {
                v = arr[a];

                if (v && typeof v[methodName] == 'function') {
                    ret.push(v[methodName].apply(v, args));
                } else {
                    ret.push(undefined);
                }
            }

            return ret;
        }
function(arr, methodName){
            var ret  = [],
                args = Array.prototype.slice.call(arguments, 2),
                a, v,
                aLen = arr.length;

            for (a = 0; a < aLen; a++) {
                v = arr[a];

                if (v && typeof v[methodName] == 'function') {
                    ret.push(v[methodName].apply(v, args));
                } else {
                    ret.push(undefined);
                }
            }

            return ret;
        }
function ( arr , methodName ) { var ret = [ ] , args = Array . prototype . slice . call ( arguments , 2 ) , a , v , aLen = arr . length ; for ( a = 0 ; a < aLen ; a ++ ) { v = arr [ a ] ; if ( v && typeof v [ methodName ] == 'function' ) { ret . push ( v [ methodName ] . apply ( v , args ) ) ; } else { ret . push ( undefined ) ; } } return ret ; }
Invokes a method on each item in an Array.

Example:

Ext.invoke(Ext.query("p"), "getAttribute", "id");
// [el1.getAttribute("id"), el2.getAttribute("id"), ..., elN.getAttribute("id")]

@param {Array/NodeList} arr The Array of items to invoke the method on.
@param {String} methodName The method name to invoke.
@param {Object...} args Arguments to send into the method invocation.
@return {Array} The results of invoking the method on each item in the array.
@deprecated 4.0.0 Will be removed in the next major version
Invokes a method on each item in an Array .