[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/src/Toolbar/Button/ -> StandardButton.php (summary)

Joomla! Content Management System

Copyright: (C) 2006 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
File Size: 143 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

StandardButton:: (4 methods):
  prepareOptions()
  fetchButton()
  fetchButtonClass()
  _getCommand()


Class: StandardButton  - X-Ref

Renders a standard button

prepareOptions(array &$options)   X-Ref
Prepare options for this button.

param: array  $options  The options about this button.
return: void

fetchButton($type = 'Standard', $name = '', $text = '', $task = '', $list = true, $formId = null)   X-Ref
Fetch the HTML for the button

param: string   $type    Unused string.
param: string   $name    The name of the button icon class.
param: string   $text    Button text.
param: string   $task    Task associated with the button.
param: boolean  $list    True to allow lists
param: string   $formId  The id of action form.
return: string  HTML string for the button

fetchButtonClass(string $name)   X-Ref
Fetch button class for standard buttons.

param: string  $name  The button name.
return: string

_getCommand()   X-Ref
Get the JavaScript command for the button

return: string   JavaScript command string



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer