CustomButton

Extends ToolbarButton

Renders a custom button

since

3.0

package

Joomla CMS

Methods

__construct

Constructor

__construct(object parent = null) : mixed
inherited

Arguments

parent

objectThe parent

Response

mixed

fetchButton

Get the button

fetchButton() : string
inherited 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
inherited

Can be redefined in the final class

since

3.0

Arguments

identifier

stringIcon identification string

Response

stringCSS class name

fetchId

Get the button CSS Id

fetchId(string type = 'Custom', string html = '', string id = 'custom') : string
since

3.0

Arguments

type

stringNot used.

html

stringNot used.

id

stringThe id prefix for the button.

Response

stringButton CSS Id

getName

Get the element name

getName() : string
inherited
since

3.0

Response

stringtype of the parameter

render

Get the HTML to render the button

render(array &definition) : string
inherited
since

3.0

Arguments

definition

arrayParameters to be passed

Response

string

Properties

_name

element name

inherited

This has to be set in the final renderer classes.

Type(s)

string

_parent

reference to the object that instantiated the element

inherited

Type(s)

\JButton