public/dashboard/bower_components/admin-lte/plugins/datatables/extensions/TableTools/js/dataTables.tableTools.js
function ( o, bCollectionButton )
	{
		var sTag, sLiner, sClass;

		if ( bCollectionButton )
		{
			sTag = o.sTag && o.sTag !== "default" ? o.sTag : this.s.tags.collection.button;
			sLiner = o.sLinerTag && o.sLinerTag !== "default" ? o.sLiner : this.s.tags.collection.liner;
			sClass = this.classes.collection.buttons.normal;
		}
		else
		{
			sTag = o.sTag && o.sTag !== "default" ? o.sTag : this.s.tags.button;
			sLiner = o.sLinerTag && o.sLinerTag !== "default" ? o.sLiner : this.s.tags.liner;
			sClass = this.classes.buttons.normal;
		}

		var
		  nButton = document.createElement( sTag ),
		  nSpan = document.createElement( sLiner ),
		  masterS = this._fnGetMasterSettings();

		nButton.className = sClass+" "+o.sButtonClass;
		nButton.setAttribute('id', "ToolTables_"+this.s.dt.sInstance+"_"+masterS.buttonCounter );
		nButton.appendChild( nSpan );
		nSpan.innerHTML = o.sButtonText;

		masterS.buttonCounter++;

		return nButton;
	}
function ( o, bCollectionButton )
	{
		var sTag, sLiner, sClass;

		if ( bCollectionButton )
		{
			sTag = o.sTag && o.sTag !== "default" ? o.sTag : this.s.tags.collection.button;
			sLiner = o.sLinerTag && o.sLinerTag !== "default" ? o.sLiner : this.s.tags.collection.liner;
			sClass = this.classes.collection.buttons.normal;
		}
		else
		{
			sTag = o.sTag && o.sTag !== "default" ? o.sTag : this.s.tags.button;
			sLiner = o.sLinerTag && o.sLinerTag !== "default" ? o.sLiner : this.s.tags.liner;
			sClass = this.classes.buttons.normal;
		}

		var
		  nButton = document.createElement( sTag ),
		  nSpan = document.createElement( sLiner ),
		  masterS = this._fnGetMasterSettings();

		nButton.className = sClass+" "+o.sButtonClass;
		nButton.setAttribute('id', "ToolTables_"+this.s.dt.sInstance+"_"+masterS.buttonCounter );
		nButton.appendChild( nSpan );
		nSpan.innerHTML = o.sButtonText;

		masterS.buttonCounter++;

		return nButton;
	}
function ( o , bCollectionButton ) { var sTag , sLiner , sClass ; if ( bCollectionButton ) { sTag = o . sTag && o . sTag !== "default" ? o . sTag : this . s . tags . collection . button ; sLiner = o . sLinerTag && o . sLinerTag !== "default" ? o . sLiner : this . s . tags . collection . liner ; sClass = this . classes . collection . buttons . normal ; } else { sTag = o . sTag && o . sTag !== "default" ? o . sTag : this . s . tags . button ; sLiner = o . sLinerTag && o . sLinerTag !== "default" ? o . sLiner : this . s . tags . liner ; sClass = this . classes . buttons . normal ; } var nButton = document . createElement ( sTag ) , nSpan = document . createElement ( sLiner ) , masterS = this . _fnGetMasterSettings ( ) ; nButton . className = sClass + " " + o . sButtonClass ; nButton . setAttribute ( 'id' , "ToolTables_" + this . s . dt . sInstance + "_" + masterS . buttonCounter ) ; nButton . appendChild ( nSpan ) ; nSpan . innerHTML = o . sButtonText ; masterS . buttonCounter ++ ; return nButton ; }
Create the DOM needed for the button and apply some base properties. All buttons start here
@method  _fnButtonBase
@param   {o} oConfig Button configuration object
@returns {Node} DIV element for the button
@private
Create the DOM needed for the button and apply some base properties . All buttons start here