TinyMCE:API/tinymce

From Moxiecode Documentation Wiki

Jump to: navigation, search

tinymce global namespace

The tinymce global namespace contains all classes within the TinyMCE API it also contains some core level functions.

Methods

addUnload
Adds an unload handler to the document.
create
Creates a class, subclass or static singleton.
createNS
Creates a name space on a specific object.
each
Performs an iteration of all items in a collection such as an object or array.
explode
Splits a string into an array of strings by an optional delimiter and removes trailing white space.
extend
Extends an object with the specified other object(s).
resolve
Resolves a string and returns the object from a specific structure.
grep
Filters out items from the input array by calling the specified function for each item.
inArray
Returns the index of a value in an array. This method will return -1 if the item isn't found.
is
Checks if an object is of a specific type, for example an array.
map
Creates a new array by the return value of each iteration of a function call.
removeUnload
Removes the specified function from the unload handler list.
trim
Removes white space from the beginning and end of a string.
walk
Executes the specified function for each item in an object tree.
Personal tools