public/dashboard/bower_components/admin-lte/plugins/datatables/extensions/TableTools/js/dataTables.tableTools.js
function ( filtered )
	{
		var
			out = [],
			data = this.s.dt.aoData,
			displayed = this.s.dt.aiDisplay,
			i, iLen;

		if ( filtered )
		{
			// Only consider filtered rows
			for ( i=0, iLen=displayed.length ; i<iLen ; i++ )
			{
				if ( data[ displayed[i] ]._DTTT_selected )
				{
					out.push( displayed[i] );
				}
			}
		}
		else
		{
			// Use all rows
			for ( i=0, iLen=data.length ; i<iLen ; i++ )
			{
				if ( data[i]._DTTT_selected )
				{
					out.push( i );
				}
			}
		}

		return out;
	}
function ( filtered )
	{
		var
			out = [],
			data = this.s.dt.aoData,
			displayed = this.s.dt.aiDisplay,
			i, iLen;

		if ( filtered )
		{
			// Only consider filtered rows
			for ( i=0, iLen=displayed.length ; i<iLen ; i++ )
			{
				if ( data[ displayed[i] ]._DTTT_selected )
				{
					out.push( displayed[i] );
				}
			}
		}
		else
		{
			// Use all rows
			for ( i=0, iLen=data.length ; i<iLen ; i++ )
			{
				if ( data[i]._DTTT_selected )
				{
					out.push( i );
				}
			}
		}

		return out;
	}
function ( filtered ) { var out = [ ] , data = this . s . dt . aoData , displayed = this . s . dt . aiDisplay , i , iLen ; if ( filtered ) { // Only consider filtered rows for ( i = 0 , iLen = displayed . length ; i < iLen ; i ++ ) { if ( data [ displayed [ i ] ] . _DTTT_selected ) { out . push ( displayed [ i ] ) ; } } } else { // Use all rows for ( i = 0 , iLen = data . length ; i < iLen ; i ++ ) { if ( data [ i ] . _DTTT_selected ) { out . push ( i ) ; } } } return out ; }
Get the indexes of the selected rows
@returns {array} List of row indexes
@param {boolean} [filtered=false] Get only selected rows which are
available given the filtering applied to the table. By default
this is false -  i.e. all rows, regardless of filtering are
selected.
Get the indexes of the selected rows