Class JButtonLink

Description

Renders a link button

  • since: 11.1

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

JObject
   |
   --JButton
      |
      --JButtonLink
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:
JButton::$_name
element name

Inherited Variables

Inherited from JButton

JButton::$_parent

Inherited from JObject

JObject::$_errors
Methods
fetchButton (line 39)

Fetch the HTML for the button

  • return: HTML string for the button
  • since: 11.1
  • 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:
JButton::fetchButton()
Get the button
fetchId (line 64)

Get the button CSS Id

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

Get the JavaScript command for the button

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

Inherited Methods

Inherited From JButton

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

Inherited From JObject

JObject::__construct()
JObject::def()
JObject::get()
JObject::getError()
JObject::getErrors()
JObject::getProperties()
JObject::set()
JObject::setError()
JObject::setProperties()
JObject::toString()
JObject::__toString()

Documentation generated on Mon, 25 Jun 2012 13:56:22 -0500 by phpDocumentor 1.4.4