Liste de tous les membres
Attributs protégés statiques |
static | $loaded = array() |
Documentation des fonctions membres
static JHtmlBehavior::_calendartranslation |
( |
| ) |
|
|
staticprotected |
Internal method to translate the JavaScript Calendar
- Renvoie:
- string JavaScript that translates the object
- Depuis:
- 11.1
Références $return, et JText\_().
static JHtmlBehavior::_getJSObject |
( |
|
$array = array() | ) |
|
|
staticprotected |
Internal method to get a JavaScript object notation string from an array
- Paramètres:
-
array | $array | The array to convert to JavaScript object notation |
- Renvoie:
- string JavaScript object notation representation of the array
- Depuis:
- 11.1
Références elseif.
Référencé par modal(), tooltip(), et tree().
static JHtmlBehavior::calendar |
( |
| ) |
|
|
static |
Add unobtrusive javascript support for a calendar control.
- Renvoie:
- void
- Depuis:
- 11.1
static JHtmlBehavior::caption |
( |
|
$selector = 'img.caption' | ) |
|
|
static |
Add unobtrusive javascript support for image captions.
- Paramètres:
-
string | $selector | The selector for which a caption behaviour is to be applied. |
- Renvoie:
- void
- Depuis:
- 11.1
Références JHtml\_(), et JFactory\getDocument().
static JHtmlBehavior::colorpicker |
( |
| ) |
|
|
static |
Add unobtrusive javascript support for a color picker.
- Renvoie:
- void
- Depuis:
- 11.2
static JHtmlBehavior::combobox |
( |
| ) |
|
|
static |
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.
- Renvoie:
- void
- Depuis:
- 11.1
Références JHtml\_().
static JHtmlBehavior::formvalidation |
( |
| ) |
|
|
static |
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.
- Renvoie:
- void
- Depuis:
- 11.1
Références JHtml\_().
static JHtmlBehavior::framework |
( |
|
$extras = false , |
|
|
|
$debug = null |
|
) |
| |
|
static |
Method to load the MooTools framework into the document head
If debugging mode is on an uncompressed version of MooTools is included for easier debugging.
- Paramètres:
-
string | $extras | MooTools file to load |
boolean | $debug | Is debugging mode on? [optional] |
- Renvoie:
- void
- Depuis:
- 11.1
Références $config, $type, JHtml\_(), JFactory\getConfig(), et null.
static JHtmlBehavior::highlighter |
( |
array |
$terms, |
|
|
|
$start = 'highlighter-start' , |
|
|
|
$end = 'highlighter-end' , |
|
|
|
$className = 'highlight' , |
|
|
|
$tag = 'span' |
|
) |
| |
|
static |
Highlight some words via Javascript.
- Paramètres:
-
array | $terms | Array of words that should be highlighted. |
string | $start | ID of the element that marks the begin of the section in which words should be highlighted. Note this element will be removed from the DOM. |
string | $end | ID of the element that end this section. Note this element will be removed from the DOM. |
string | $className | Class name of the element highlights are wrapped in. |
string | $tag | Tag that will be used to wrap the highlighted words. |
- Renvoie:
- void
- Depuis:
- 11.4
static JHtmlBehavior::keepalive |
( |
| ) |
|
|
static |
Keep session alive, for example, while editing or creating an article.
- Renvoie:
- void
- Depuis:
- 11.1
Références method.
static JHtmlBehavior::modal |
( |
|
$selector = 'a.modal' , |
|
|
|
$params = array() |
|
) |
| |
|
static |
Add unobtrusive javascript support for modal links.
- Paramètres:
-
string | $selector | The selector for which a modal behaviour is to be applied. |
array | $params | An array of parameters for the modal behaviour. Options for the modal behaviour can be:
- ajaxOptions
- size
- shadow
- overlay
- onOpen
- onClose
- onUpdate
- onResize
- onShow
- onHide
|
- Renvoie:
- void
- Depuis:
- 11.1
Références $options, $params, JHtml\_(), _getJSObject(), JFactory\getDocument(), et null.
static JHtmlBehavior::mootools |
( |
|
$debug = null | ) |
|
|
static |
static JHtmlBehavior::multiselect |
( |
|
$id = 'adminForm' | ) |
|
|
static |
JavaScript behavior to allow shift select in grids
- Paramètres:
-
string | $id | The id of the form for which a multiselect behaviour is to be applied. |
- Renvoie:
- void
- Depuis:
- 11.1
Références $id, JHtml\_(), et JFactory\getDocument().
static JHtmlBehavior::noframes |
( |
|
$location = 'top.location.href' | ) |
|
|
static |
static JHtmlBehavior::switcher |
( |
| ) |
|
|
static |
Add unobtrusive javascript support for submenu switcher support in Global Configuration and System Information.
- Renvoie:
- void
- Depuis:
- 11.1
Références $script, JHtml\_(), et JFactory\getDocument().
static JHtmlBehavior::tooltip |
( |
|
$selector = '.hasTip' , |
|
|
|
$params = array() |
|
) |
| |
|
static |
Add unobtrusive javascript support for a hover tooltips.
Add a title attribute to any element in the form title="title::text"
Uses the core Tips class in MooTools.
- Paramètres:
-
string | $selector | The class selector for the tooltip. |
array | $params | An array of options for the tooltip. Options for the tooltip can be:
- maxTitleChars integer The maximum number of characters in the tooltip title (defaults to 50).
- offsets object The distance of your tooltip from the mouse (defaults to {'x': 16, 'y': 16}).
- showDelay integer The millisecond delay the show event is fired (defaults to 100).
- hideDelay integer The millisecond delay the hide hide is fired (defaults to 100).
- className string The className your tooltip container will get.
- fixed boolean If set to true, the toolTip will not follow the mouse.
- onShow function The default function for the show event, passes the tip element and the currently hovered element.
- onHide function The default function for the hide event, passes the currently hovered element.
|
- Renvoie:
- void
- Depuis:
- 11.1
Références $options, $params, _getJSObject(), JFactory\getDocument(), et null.
static JHtmlBehavior::tree |
( |
|
$id, |
|
|
|
$params = array() , |
|
|
|
$root = array() |
|
) |
| |
|
static |
Add unobtrusive javascript support for a collapsible tree.
- Paramètres:
-
string | $id | An index |
array | $params | An array of options. |
array | $root | The root node |
- Renvoie:
- void
- Depuis:
- 11.1
Références $id, $options, $params, JHtml\_(), _getJSObject(), et null.
static JHtmlBehavior::uploader |
( |
| ) |
|
|
static |
This method does nothing.
- Renvoie:
- void
- Depuis:
- 11.1
Documentation des données membres
JHtmlBehavior::$loaded = array() |
|
staticprotected |
La documentation de cette classe a été générée à partir du fichier suivant :