SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 198 | Next

James Kennard

"Mastering Joomla! 1.5 Extension and Framework Development"


Returns XHTML form element for editor.
onGetContent
Description Gets some JavaScript, which can be used to get the contents of the editor.
Parameters editor Name of the editor area/form field.
Returns
A JavaScript string that, when executed client-side, will return the contents
of the editor. Must end with a semicolon.
onGetInsertMethod
Description
Gets some JavaScript which defines a function called
jInsertEditorText().
Parameters name Name of the editor area/form field.
Returns
A JavaScript string that defines the function
jInsertEditorText(text), which, when executed client-side, will
insert text into the current cursor position in the editor.
onInit
Description
Initialize the editor. This is only run once irrespective of how many times
an editor is rendered.
Returns
An XHTML tag to be added to the head of the document. Normally this
will be a script tag containing some JavaScript, which is integral to clientside
initialization of the editor.
Plugin Design
[ 148 ]
onSave
Description Gets some JavaScript, which is used to save the contents of the editor.


Pages:
186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210