ButtonInterface

Editor button interface

since

5.0.0

package

Joomla CMS

Methods

get

Return Button property or null.

get( name) : 
since

5.0.0

Arguments

name

stringProperty name

Response

mixed

getButtonName

Return Button name, CMD string.

getButtonName() : 
since

5.0.0

Response

string

getOptions

Return Button options.

getOptions() : mixed||string|int
since

5.0.0

Response

array<string|int, mixed>

set

Set Button property.

set( name,  value) : \Joomla\CMS\Editor\Button\ButtonInterface
since

5.0.0

Arguments

name

stringProperty name

value

mixedProperty value

Response

ButtonInterface

setOptions

Set Button options.

setOptions(mixed||string|int options) : \Joomla\CMS\Editor\Button\ButtonInterface
since

5.0.0

Arguments

options

array<string|int, mixed>The button options.

Response

ButtonInterface