Back to Joomla project (class list)

Class LinkButton - list of methods

Renders a link 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/LinkButton.php
Project: Joomla

Method Summary

protected void
(array &$options)

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

public string
(mixed $type = 'Link', mixed $name = 'back', mixed $text = '', mixed $url = null)

Fetch the HTML for the button
Parameters
  • string $type Unused string.
  • string $name Name to be used as apart of the id
  • string $text Button text
  • string $url The link url
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

Properties Summary

protected string
$layout
Property layout.
Since
  • 4.0.0

Tags Summary

public self
url (string $value)
public self
target (string $value)
public string
getUrl ()
public string
getTarget ()
Since
3.0