JToolbarButtonPopup::fetchButton
Fetch the HTML for the button
Signature
public function fetchButton([string
$type = 'Modal',
[string
$name = '',
[string
$text = '',
[string
$url = '',
[integer
$width = 640,
[integer
$height = 480,
[integer
$top = 0,
[integer
$left = 0,
[string
$onClose = '',
[string
$title = '']]]]]]]]]] )
Parameters
-
$type
- Unused string, formerly button type.
-
$name
- Modal name, used to generate element ID
-
$text
- The link text
-
$url
- URL for popup
-
$width
- Width of popup
-
$height
- Height of popup
-
$top
- Top attribute. [@deprecated Unused, will be removed in 4.0]
-
$left
- Left attribute. [@deprecated Unused, will be removed in 4.0]
-
$onClose
- JavaScript for the onClose event.
-
$title
- The title text
Returns
- string
- HTML string for the button
Parent Implementation