Fetch the HTML for the button
string
fetchButton
([string $type = 'Confirm'], [string $msg = ''], [string $name = ''], [string $text = ''], [string $task = ''], [boolean $list = true], [boolean $hideMenu = false])
-
string
$type: Unused string.
-
string
$msg: Message to render
-
string
$name: Name to be used as apart of the id
-
string
$text: Button text
-
string
$task: The task associated with the button
-
boolean
$list: True to allow use of lists
-
boolean
$hideMenu: True to hide the menu on click
Redefinition of:
- JToolbarButton::fetchButton()
- Get the button
Get the button CSS Id
string
fetchId
([string $type = 'Confirm'], [string $name = ''], [string $text = ''], [string $task = ''], [boolean $list = true], [boolean $hideMenu = false])
-
string
$type: Button type
-
string
$name: Name to be used as apart of the id
-
string
$text: Button text
-
string
$task: The task associated with the button
-
boolean
$list: True to allow use of lists
-
boolean
$hideMenu: True to hide the menu on click
Get the JavaScript command for the button
string
_getCommand
(object $msg, string $name, string $task, boolean $list)
-
object
$msg: The message to display.
-
string
$name: Not used.
-
string
$task: The task used by the application
-
boolean
$list: True is requires a list confirmation.
Inherited Methods
Inherited From JToolbarButton
JToolbarButton::__construct()
JToolbarButton::fetchButton()
JToolbarButton::fetchIconClass()
JToolbarButton::getName()
JToolbarButton::render()