Class JToolbarButtonLink

Description

Renders a link button

  • since: 3.0

Located in /libraries/cms/toolbar/button/link.php (line 19)

JToolbarButton
   |
   --JToolbarButtonLink
Variable Summary
 string $_name
Method Summary
 string fetchButton ([string $type = 'Link'], [string $name = 'back'], [string $text = ''], [string $url = null])
 string fetchId ([string $type = 'Link'], [string $name = ''])
 string _getCommand (object $url)
Variables
string $_name = 'Link' (line 25)

Button type

  • access: protected

Redefinition of:
JToolbarButton::$_name
element name

Inherited Variables

Inherited from JToolbarButton

JToolbarButton::$_parent
Methods
fetchButton (line 39)

Fetch the HTML for the button

  • return: HTML string for the button
  • since: 3.0
  • access: public
string fetchButton ([string $type = 'Link'], [string $name = 'back'], [string $text = ''], [string $url = null])
  • string $type: Unused string.
  • string $name: Name to be used as apart of the id
  • string $text: Button text
  • string $url: The link url

Redefinition of:
JToolbarButton::fetchButton()
Get the button
fetchId (line 63)

Get the button CSS Id

  • return: Button CSS Id
  • since: 3.0
  • access: public
string fetchId ([string $type = 'Link'], [string $name = ''])
  • string $type: The button type.
  • string $name: The name of the button.
_getCommand (line 77)

Get the JavaScript command for the button

  • return: JavaScript command string
  • since: 3.0
  • access: protected
string _getCommand (object $url)
  • object $url: Button definition

Inherited Methods

Inherited From JToolbarButton

 JToolbarButton::__construct()
 JToolbarButton::fetchButton()
 JToolbarButton::fetchIconClass()
 JToolbarButton::getName()
 JToolbarButton::render()

Documentation generated on Tue, 19 Nov 2013 15:07:06 +0100 by phpDocumentor 1.4.3