lib/Ext/form/Panel.js
function() {
        var fields = [];

        var getFieldsFrom = function(item) {
            if (item.isField) {
                fields.push(item);
            }

            if (item.isContainer) {
                item.items.each(getFieldsFrom);
            }
        };

        this.items.each(getFieldsFrom);

        return fields;
    }
function() {
        var fields = [];

        var getFieldsFrom = function(item) {
            if (item.isField) {
                fields.push(item);
            }

            if (item.isContainer) {
                item.items.each(getFieldsFrom);
            }
        };

        this.items.each(getFieldsFrom);

        return fields;
    }
function ( ) { var fields = [ ] ; var getFieldsFrom = function ( item ) { if ( item . isField ) { fields . push ( item ) ; } if ( item . isContainer ) { item . items . each ( getFieldsFrom ) ; } } ; this . items . each ( getFieldsFrom ) ; return fields ; }
Returns an array of fields in this formpanel.
@return {Ext.field.Field[]} An array of fields in this form panel.
@private
Returns an array of fields in this formpanel .