public/ckeditor/_source/core/tools.js
function( ref )
		{
			var fn = functions[ ref ];
			return fn && fn.apply( window, Array.prototype.slice.call( arguments, 1 ) );
		}
function( ref )
		{
			var fn = functions[ ref ];
			return fn && fn.apply( window, Array.prototype.slice.call( arguments, 1 ) );
		}
function ( ref ) { var fn = functions [ ref ] ; return fn && fn . apply ( window , Array . prototype . slice . call ( arguments , 1 ) ) ; }
Executes a function based on the reference created with
CKEDITOR.tools.addFunction.
@param {Number} ref The function reference created with
CKEDITOR.tools.addFunction.
@param {[Any,[Any,...]} params Any number of parameters to be passed
to the executed function.
@returns {Any} The return value of the function.
@example
var ref = CKEDITOR.tools.addFunction(
function()
{
alert( 'Hello!');
});
<b>CKEDITOR.tools.callFunction( ref )</b>;  // Hello!
Executes a function based on the reference created with CKEDITOR . tools . addFunction .