[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

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

Joomla! Content Management System

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

Defines 1 class

ConfirmButton:: (4 methods):
  prepareOptions()
  fetchButton()
  _getCommand()
  getAccessors()


Class: ConfirmButton  - X-Ref

Renders a standard button with a confirm dialog

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

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

fetchButton($type = 'Confirm', $msg = '', $name = '', $text = '', $task = '', $list = true, $hideMenu = false)   X-Ref
Fetch the HTML for the button

param: string   $type      Unused string.
param: string   $msg       Message to render
param: string   $name      Name to be used as apart of the id
param: string   $text      Button text
param: string   $task      The task associated with the button
param: boolean  $list      True to allow use of lists
param: boolean  $hideMenu  True to hide the menu on click
return: string   HTML string for the button

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

return: string  JavaScript command string

getAccessors()   X-Ref
Method to configure available option accessors.

return: array



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