Back to Joomla project (class list)

Class CustomButton - list of methods

Renders a custom button

Extends

Package: Joomla\CMS\Toolbar\Button
Copyright: (C) 2006 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
Located at: Joomla/Toolbar/Button/CustomButton.php
Project: Joomla

Method Summary

protected string
(array &$options)

Render button HTML.
Parameters
  • array $options The button options.
Returns
  • string The button HTML.
Since
  • 4.0.0
Show source code of this method: renderButton Source Code

public string
(mixed $type = 'Custom', mixed $html = '', mixed $id = 'custom')

Fetch the HTML for the button
Parameters
  • string $type Button type, unused string.
  • string $html HTML string for the button
  • string $id CSS id for the button
Returns
  • string HTML string for the button
Since
  • 3.0
Deprecated
  • 5.0
Show source code of this method: fetchButton Source Code

protected static array
()

Method to configure available option accessors.
Returns
  • array
Since
  • 4.0.0
Show source code of this method: getAccessors Source Code

Tags Summary

public self
html (string $value)
public string
getHtml ()
Since
3.0