Fetch the HTML for the button
string
fetchButton
([string $type = 'Standard'], [string $name = ''], [string $text = ''], [string $task = ''], [boolean $list = true])
-
string
$type: Unused string.
-
string
$name: The name of the button icon class.
-
string
$text: Button text.
-
string
$task: Task associated with the button.
-
boolean
$list: True to allow lists
Redefinition of:
- JToolbarButton::fetchButton()
- Get the button
Get the button CSS Id
string
fetchId
([string $type = 'Standard'], [string $name = ''], [string $text = ''], [string $task = ''], [boolean $list = true], [boolean $hideMenu = false])
-
string
$type: Unused string.
-
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
(string $name, string $task, boolean $list)
-
string
$name: The task name as seen by the user
-
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()