[ Index ] |
PHP Cross Reference of DokuWiki |
[Source view] [Print] [Project Stats]
DokuWiki JavaScript creator
Author: | Andreas Gohr |
License: | GPL 2 (http://www.gnu.org/licenses/gpl.html) |
File Size: | 340 lines (11 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 1 file inc/init.php |
js_out() X-Ref |
Output all needed JavaScript author: Andreas Gohr <andi@splitbrain.org> |
js_load($file) X-Ref |
Load the given file, handle include calls and print it param: string $file filename path to file author: Andreas Gohr <andi@splitbrain.org> |
js_pluginscripts() X-Ref |
Returns a list of possible Plugin Scripts (no existance check here) return: array author: Andreas Gohr <andi@splitbrain.org> |
js_pluginstrings() X-Ref |
Return an two-dimensional array with strings from the language file of each plugin. - $lang['js'] must be an array. - Nothing is returned for plugins without an entry for $lang['js'] return: array author: Gabriel Birke <birke@d-scribe.de> |
js_templatestrings($tpl) X-Ref |
Return an two-dimensional array with strings from the language file of current active template. - $lang['js'] must be an array. - Nothing is returned for template without an entry for $lang['js'] return: array param: string $tpl |
js_escape($string) X-Ref |
Escapes a String to be embedded in a JavaScript call, keeps \n as newline return: string param: string $string author: Andreas Gohr <andi@splitbrain.org> |
js_runonstart($func) X-Ref |
Adds the given JavaScript code to the window.onload() event param: string $func author: Andreas Gohr <andi@splitbrain.org> |