Class JToolbarButtonCustom

Description

Renders a custom button

  • since: 3.0

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

JToolbarButton
   |
   --JToolbarButtonCustom
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:
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 = '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:
JToolbarButton::fetchButton()
Get the button
fetchId (line 55)

Get the button CSS Id

  • return: Button CSS Id
  • since: 3.0
  • 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 JToolbarButton

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

Documentation generated on Tue, 19 Nov 2013 14:57:41 +0100 by phpDocumentor 1.4.3