public/dashboard/bower_components/admin-lte/plugins/datatables/extensions/TableTools/js/dataTables.tableTools.js
function ( src )
	{
		var out = [], pos, i, iLen;

		if ( src.nodeName )
		{
			// Single node
			pos = this.s.dt.oInstance.fnGetPosition( src );
			out.push( this.s.dt.aoData[pos] );
		}
		else if ( typeof src.length !== 'undefined' )
		{
			// jQuery object or an array of nodes, or aoData points
			for ( i=0, iLen=src.length ; i<iLen ; i++ )
			{
				if ( src[i].nodeName )
				{
					pos = this.s.dt.oInstance.fnGetPosition( src[i] );
					out.push( this.s.dt.aoData[pos] );
				}
				else if ( typeof src[i] === 'number' )
				{
					out.push( this.s.dt.aoData[ src[i] ] );
				}
				else
				{
					out.push( src[i] );
				}
			}

			return out;
		}
		else if ( typeof src === 'number' )
		{
			out.push(this.s.dt.aoData[src]);
		}
		else
		{
			// A single aoData point
			out.push( src );
		}

		return out;
	}
function ( src )
	{
		var out = [], pos, i, iLen;

		if ( src.nodeName )
		{
			// Single node
			pos = this.s.dt.oInstance.fnGetPosition( src );
			out.push( this.s.dt.aoData[pos] );
		}
		else if ( typeof src.length !== 'undefined' )
		{
			// jQuery object or an array of nodes, or aoData points
			for ( i=0, iLen=src.length ; i<iLen ; i++ )
			{
				if ( src[i].nodeName )
				{
					pos = this.s.dt.oInstance.fnGetPosition( src[i] );
					out.push( this.s.dt.aoData[pos] );
				}
				else if ( typeof src[i] === 'number' )
				{
					out.push( this.s.dt.aoData[ src[i] ] );
				}
				else
				{
					out.push( src[i] );
				}
			}

			return out;
		}
		else if ( typeof src === 'number' )
		{
			out.push(this.s.dt.aoData[src]);
		}
		else
		{
			// A single aoData point
			out.push( src );
		}

		return out;
	}
function ( src ) { var out = [ ] , pos , i , iLen ; if ( src . nodeName ) { // Single node pos = this . s . dt . oInstance . fnGetPosition ( src ) ; out . push ( this . s . dt . aoData [ pos ] ) ; } else if ( typeof src . length !== 'undefined' ) { // jQuery object or an array of nodes, or aoData points for ( i = 0 , iLen = src . length ; i < iLen ; i ++ ) { if ( src [ i ] . nodeName ) { pos = this . s . dt . oInstance . fnGetPosition ( src [ i ] ) ; out . push ( this . s . dt . aoData [ pos ] ) ; } else if ( typeof src [ i ] === 'number' ) { out . push ( this . s . dt . aoData [ src [ i ] ] ) ; } else { out . push ( src [ i ] ) ; } } return out ; } else if ( typeof src === 'number' ) { out . push ( this . s . dt . aoData [ src ] ) ; } else { // A single aoData point out . push ( src ) ; } return out ; }
Take a data source for row selection and convert it into aoData points for the DT
@param {*} src Can be a single DOM TR node, an array of TR nodes (including a
a jQuery object), a single aoData point from DataTables, an array of aoData
points or an array of aoData indexes
@returns {array} An array of aoData points
Take a data source for row selection and convert it into aoData points for the DT