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 namespace 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 string by a optional delimiter and removes trailing whitespace.
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 wasn't found.
is
Checks if a object is of a specific type for example an array.
map
Creates a new array by the return value of each iteration function call.
removeUnload
Removes the specified function form the unload handler list.
trim
Removes whitespace from the beginning and end of a string.
walk
Executed the specified function for each item in a object tree.
Personal tools