Class JButtonCustom

Description

Renders a custom button

  • since: 11.1

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

JObject
   |
   --JButton
      |
      --JButtonCustom
Variable Summary
string $_name
Method Summary
string fetchButton ([string $type = 'Custom'], [string $html = ''], [string $id = 'custom'])
string fetchId ([string $type = 'Custom'], [string $html = ''], [string $id = 'custom'])
Variables
string $_name = 'Custom' (line 26)

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 = 'Custom'], [string $html = ''], [string $id = 'custom'])
  • string $type: Button type, unused string.
  • string $html: HTML strng for the button
  • string $id: CSS id for the button

Redefinition of:
JButton::fetchButton()
Get the button
fetchId (line 55)

Get the button CSS Id

  • return: Button CSS Id
  • since: 11.1
  • access: public
string fetchId ([string $type = 'Custom'], [string $html = ''], [string $id = 'custom'])
  • string $type: Not used.
  • string $html: Not used.
  • string $id: The id prefix for the button.

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:53:55 -0500 by phpDocumentor 1.4.4