Back to ToolbarHelper class

Method inlinehelp

public static void
inlinehelp
(string $class = "hide-aware-inline-help")
Writes a help button for showing/hiding the inline help of a form
Parameters
  • string $class The class used by the inline help items.
Returns
  • void
Since
  • 4.1.0
Class: ToolbarHelper
Project: Joomla

Method inlinehelp - Source code

/**
 * Writes a help button for showing/hiding the inline help of a form
 *
 * @param   string  $class   The class used by the inline help items.
 *
 * @return  void
 *
 * @since   4.1.0
 */
public static function inlinehelp(string $class = "hide-aware-inline-help")
{
    $bar = Toolbar::getInstance('toolbar');
    // Add a help button.
    $bar->inlinehelpButton('inlinehelp')->targetclass($class)->icon('fa fa-question-circle');
}