ToolbarButton

Button base class

abstract

The JButton is the base class for all JButton types

since

3.0

Methods

__construct

Constructor

__construct(object $parent = null) 

Arguments

$parent

objectThe parent

fetchButton

Get the button

fetchButton() : string
abstract

Defined in the final button class

since

3.0

Response

string

fetchIconClass

Method to get the CSS class name for an icon identifier

fetchIconClass(string $identifier) : string

Can be redefined in the final class

since

3.0

Arguments

$identifier

stringIcon identification string

Response

stringCSS class name

getName

Get the element name

getName() : string
since

3.0

Response

stringtype of the parameter

render

Get the HTML to render the button

render( &$definition) : string
since

3.0

Arguments

$definition

Response

string

Properties

_name

element name

This has to be set in the final renderer classes.

Type(s)

string

_parent

reference to the object that instantiated the element

Type(s)

\JButton