Support Joomla!

Joomla! 1.5 Documentation

Packages

Package: Joomla-Framework

Developer Network License

The Joomla! Developer Network content is © copyright 2006 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution- NonCommercial- ShareAlike 2.5

Abstract Class JButton

Description

Button base class

The JButton is the base class for all JButton types

Located in /joomla/html/toolbar/button.php (line 29)

Class JObject   (Subpackage Base)

Abstract class JButton   (Subpackage HTML)
Direct descendents
Class Description
ClassJButtonSeparator Renders a button separator
ClassJButtonHelp Renders a help popup window button
ClassJButtonStandard Renders a standard button
ClassJButtonPopup Renders a popup window button
ClassJButtonLink Renders a link button
ClassJButtonConfirm Renders a standard button with a confirm dialog
ClassJButtonCustom Renders a custom button
Variable Summary
Variable string $_name
Variable object $_parent
Method Summary
Constructor JButton __construct ([ $parent = null])
Abstract method void fetchButton ()
Method string fetchIconClass (string $identifier)
Method void fetchId ()
Method string getName ()
Method void render ( &$definition)
Variables
string $_name = null (line 39)

element name

This has to be set in the final renderer classes.

  • access: protected

Redefined in descendants as:
object $_parent = null (line 47)

reference to the object that instantiated the element

  • access: protected
Methods
Constructor __construct (line 54)

Constructor

  • access: protected
JButton __construct ([ $parent = null])
  • $parent

Redefinition of:
JObject::__construct()
Class constructor, overridden in descendant classes.
fetchButton (line 130)

Get the button

Defined in the final button class

  • since: 1.5
  • access: public
  • abstract:
void fetchButton ()

Redefined in descendants as:
fetchIconClass (line 103)

Method to get the CSS class name for an icon identifier

Can be redefined in the final class

  • return: CSS class name
  • since: 1.5
  • access: public
string fetchIconClass (string $identifier)
  • string $identifier: Icon identification string
fetchId (line 116)

Get the button id

Can be redefined in the final button class

  • since: 1.5
  • access: public
void fetchId ()

Redefined in descendants as:
getName (line 65)

get the element name

  • return: type of the parameter
  • access: public
string getName ()
render (line 70)
void render ( &$definition)
  • &$definition

Redefined in descendants as:

Inherited Methods

Inherited From JObject

 JObject::JObject()
 JObject::__construct()
 JObject::get()
 JObject::getPublicProperties()
 JObject::set()
 JObject::toString()

Documentation generated on Mon, 05 Mar 2007 20:53:33 +0000 by phpDocumentor 1.3.1