Renders a modal window button
- Depuis
- 3.0
| fetchButton |
( |
|
$type = 'Modal', |
|
|
|
$name = '', |
|
|
|
$text = '', |
|
|
|
$url = '', |
|
|
|
$width = 640, |
|
|
|
$height = 480, |
|
|
|
$top = 0, |
|
|
|
$left = 0, |
|
|
|
$onClose = '', |
|
|
|
$title = '', |
|
|
|
$footer = null |
|
) |
| |
Fetch the HTML for the button
- Paramètres
-
| string | $type | Unused string, formerly button type. |
| string | $name | Modal name, used to generate element ID |
| string | $text | The link text |
| string | $url | URL for popup |
| integer | $width | Width of popup |
| integer | $height | Height of popup |
| integer | $top | Top attribute. [ |
- Obsolète:
- Unused, will be removed in 4.0]
- Paramètres
-
| integer | $left | Left attribute. [ |
- Obsolète:
- Unused, will be removed in 4.0]
- Paramètres
-
| string | $onClose | JavaScript for the onClose event. |
| string | $title | The title text |
| string | $footer | The footer html |
- Renvoie
- string HTML string for the button
- Depuis
- 3.0
Références $height, $html, $layout, $name, $onClose, $options, $params, $text, $title, $url, et $width.