/**
 * Writes a save button for a given option.
 * Apply operation leads to a save action only (does not leave edit mode).
 *
 * @param   string  $task  An override for the task.
 * @param   string  $alt   An override for the alt text.
 *
 * @return  void
 *
 * @since   1.5
 */
public static function apply($task = 'apply', $alt = 'JTOOLBAR_APPLY')
{
    $bar = Toolbar::getInstance('toolbar');
    // Add an apply button
    $bar->apply($task, $alt);
}