JButton
Description
Button base class
The JButton is the base class for all JButton types
Located in /joomla/html/toolbar/button.php (line 29)
JObject (Subpackage Base) JButton (Subpackage HTML)
Direct descendents
Class | Description |
---|---|
JButtonSeparator | Renders a button separator |
JButtonHelp | Renders a help popup window button |
JButtonStandard | Renders a standard button |
JButtonPopup | Renders a popup window button |
JButtonLink | Renders a link button |
JButtonConfirm | Renders a standard button with a confirm dialog |
JButtonCustom | Renders a custom button |
Method Summary
Variables
string
$_name
= null (line 39)
element name
This has to be set in the final renderer classes.
Redefined in descendants as:
- JButtonSeparator::$_name : Button type
- JButtonHelp::$_name : Button type
- JButtonStandard::$_name : Button type
- JButtonPopup::$_name : Button type
- JButtonLink::$_name : Button type
- JButtonConfirm::$_name : Button type
- JButtonCustom::$_name : Button type
object
$_parent
= null (line 47)
reference to the object that instantiated the element
Methods
Constructor __construct (line 54)
Constructor
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
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
string
fetchIconClass
(string $identifier)
- string $identifier: Icon identification string
fetchId (line 116)
Get the button id
Can be redefined in the final button class
void
fetchId
()
Redefined in descendants as:
- JButtonHelp::fetchId() : Get the button id
- JButtonStandard::fetchId() : Get the button CSS Id
- JButtonPopup::fetchId() : Get the button id
- JButtonLink::fetchId() : Get the button CSS Id
- JButtonConfirm::fetchId() : Get the button CSS Id
- JButtonCustom::fetchId() : Get the button CSS Id
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