Abstract Class JToolbarButton

Description

Button base class

The JButton is the base class for all JButton types

  • abstract:
  • since: 3.0

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


	
			
Direct descendents
Class Description
Abstract class JButton Deprecated class placeholder. You should use JToolbarButton instead.
 class JToolbarButtonConfirm Renders a standard button with a confirm dialog
 class JToolbarButtonCustom Renders a custom button
 class JToolbarButtonHelp Renders a help popup window button
 class JToolbarButtonLink Renders a link button
 class JToolbarButtonPopup Renders a modal window button
 class JToolbarButtonSeparator Renders a button separator
 class JToolbarButtonSlider Renders a button to render an HTML element in a slider container
 class JToolbarButtonStandard Renders a standard button
Variable Summary
Method Summary
 JToolbarButton __construct ([object $parent = null])
 string fetchButton ()
 string fetchIconClass (string $identifier)
 string getName ()
 string render (array &$definition)
Variables
string $_name = null (line 30)

element name

This has to be set in the final renderer classes.

  • access: protected

Redefined in descendants as:
JButton $_parent = null (line 37)

reference to the object that instantiated the element

  • access: protected
Methods
Constructor __construct (line 44)

Constructor

  • access: public
JToolbarButton __construct ([object $parent = null])
  • object $parent: The parent

Redefined in descendants as:
fetchButton (line 122)

Get the button

Defined in the final button class

  • abstract:
  • since: 3.0
  • access: public
string fetchButton ()

Redefined in descendants as:
fetchIconClass (line 105)

Method to get the CSS class name for an icon identifier

Can be redefined in the final class

  • return: CSS class name
  • since: 3.0
  • access: public
string fetchIconClass (string $identifier)
  • string $identifier: Icon identification string
getName (line 56)

Get the element name

  • return: type of the parameter
  • since: 3.0
  • access: public
string getName ()
render (line 70)

Get the HTML to render the button

  • since: 3.0
  • access: public
string render (array &$definition)
  • array &$definition: Parameters to be passed

Redefined in descendants as:

Documentation generated on Tue, 19 Nov 2013 14:54:49 +0100 by phpDocumentor 1.4.3