public/javascripts/yui/dragdrop/dragdrop-debug.js
function(p_oDD, bTargetsOnly) {
            var oDDs = [];
            for (var i in p_oDD.groups) {
                for (var j in this.ids[i]) {
                    var dd = this.ids[i][j];
                    if (! this.isTypeOfDD(dd)) {
                        continue;
                    }
                    if (!bTargetsOnly || dd.isTarget) {
                        oDDs[oDDs.length] = dd;
                    }
                }
            }

            return oDDs;
        }
function(p_oDD, bTargetsOnly) {
            var oDDs = [];
            for (var i in p_oDD.groups) {
                for (var j in this.ids[i]) {
                    var dd = this.ids[i][j];
                    if (! this.isTypeOfDD(dd)) {
                        continue;
                    }
                    if (!bTargetsOnly || dd.isTarget) {
                        oDDs[oDDs.length] = dd;
                    }
                }
            }

            return oDDs;
        }
function ( p_oDD , bTargetsOnly ) { var oDDs = [ ] ; for ( var i in p_oDD . groups ) { for ( var j in this . ids [ i ] ) { var dd = this . ids [ i ] [ j ] ; if ( ! this . isTypeOfDD ( dd ) ) { continue ; } if ( ! bTargetsOnly || dd . isTarget ) { oDDs [ oDDs . length ] = dd ; } } } return oDDs ; }
Returns the drag and drop instances that are in all groups the
passed in instance belongs to.
@method getRelated
@param {DragDrop} p_oDD the obj to get related data for
@param {boolean} bTargetsOnly if true, only return targetable objs
@return {DragDrop[]} the related instances
@static
Returns the drag and drop instances that are in all groups the passed in instance belongs to .