[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Source view] [Print] [Project Stats]
Joomla! Content Management System
Copyright: | (C) 2007 Open Source Matters, Inc. |
License: | GNU General Public License version 2 or later; see LICENSE.txt |
File Size: | 296 lines (11 kb) |
Included or required: | 0 times |
Referenced: | 2 times |
Includes or requires: | 0 files |
core() X-Ref |
Method to load core.js into the document head. Core.js defines the 'Joomla' namespace and contains functions which are used across extensions return: void |
formvalidator() X-Ref |
Add unobtrusive JavaScript support for form validation. To enable form validation the form tag must have class="form-validate". Each field that needs to be validated needs to have class="validate". Additional handlers can be added to the handler for username, password, numeric and email. To use these add class="validate-email" and so on. return: void |
combobox() X-Ref |
Add unobtrusive JavaScript support for a combobox effect. Note that this control is only reliable in absolutely positioned elements. Avoid using a combobox in a slider or dynamic pane. return: void |
multiselect($id = 'adminForm') X-Ref |
JavaScript behavior to allow shift select in grids param: string $id The id of the form for which a multiselect behaviour is to be applied. return: void |
keepalive() X-Ref |
Keep session alive, for example, while editing or creating an article. return: void |
highlighter(array $terms, $start = 'highlighter-start', $end = 'highlighter-end', $className = 'highlight', $tag = 'span') X-Ref |
Highlight some words via Javascript. param: array $terms Array of words that should be highlighted. param: string $start ID of the element that marks the begin of the section in which words param: string $end ID of the element that end this section. param: string $className Class name of the element highlights are wrapped in. param: string $tag Tag that will be used to wrap the highlighted words. return: void |
polyfill($polyfillTypes = null, $conditionalBrowser = null) X-Ref |
Add javascript polyfills. param: string|array $polyfillTypes The polyfill type(s). Examples: event, array('event', 'classlist'). param: string $conditionalBrowser An IE conditional expression. Example: lt IE 9 (lower than IE 9). return: void |
calendartranslation() X-Ref |
Internal method to translate the JavaScript Calendar return: string JavaScript that translates the object |
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |