Back to Joomla project (class list)

Class InlinehelpButton - list of methods

Renders a button to show / hide the inline help text

Extends

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

Method Summary

protected void
(array &$options)

Prepare options for this button.
Parameters
  • array $options The options for this button.
Returns
  • void
Since
  • 4.1.0
Show source code of this method: prepareOptions Source Code

public string
(mixed $type = 'Inlinehelp', string $targetClass = 'hide-aware-inline-help', string $text = 'JINLINEHELP', string $icon = 'fa fa-question-circle', string $buttonClass = 'btn btn-info')

Fetches the button HTML code.
Parameters
  • string $type Unused string.
  • string $targetClass The class of the DIVs holding the descriptions to toggle.
  • string $text Button label
  • string $icon Button icon
  • string $buttonClass Button class
Returns
  • string
Since
  • 4.1.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.1.0
Show source code of this method: getAccessors Source Code

Properties Summary

protected string
$layout
Property layout.
Since
  • 4.1.3

Tags Summary

public self
targetclass (string $value)
public string
getTargetclass ()
Since
4.1.0