JHtml::tooltip
Creates a tooltip with an image as button
Signature
public function tooltip(string
$tooltip,
[string
$title = '',
[string
$image = 'tooltip.png',
[string
$text = '',
[string
$href = '',
[string
$alt = 'Tooltip',
[string
$class = 'hasTooltip']]]]]] )
Parameters
-
$tooltip
- The tip string.
-
$title
- The title of the tooltip or an associative array with keys contained in
-
$image
- The image for the tip, if no text is provided.
-
$text
- The text for the tip.
-
$href
- An URL that will be used to create the link.
-
$alt
- The alt attribute for img tag.
-
$class
- CSS class for the tool tip.
Returns
- string