Contentserv PHP API

CSGuiToolbarButton
in package

Tags
access

private

Table of Contents

$attributes  : mixed
$id  : string
$index  : mixed
$toolbar  : mixed
$type  : mixed
__construct()  : mixed
getAttribute()  : mixed
returns a property of the toolbar button
getID()  : string
returns the id of the toolbar button
getTitle()  : string
returns the title of the toolbar button
setPosition()  : void
changes the position of the toolbar button within the toolbar

Properties

$attributes

public mixed $attributes
Tags
access

private

Methods

__construct()

public __construct(mixed $type[, mixed $attributes = array() ][, mixed $toolbar = null ]) : mixed
Parameters
$type : mixed
$attributes : mixed = array()
$toolbar : mixed = null
Tags
access

private

Return values
mixed

getAttribute()

returns a property of the toolbar button

public getAttribute(string $name) : mixed
Parameters
$name : string

the name of the property

Tags
access

public

Return values
mixed

the value of the property

getID()

returns the id of the toolbar button

public getID() : string
Tags
access

public

Return values
string

the id of the toolbar button

getTitle()

returns the title of the toolbar button

public getTitle() : string
Tags
access

public

Return values
string

the title of the toolbar button

setPosition()

changes the position of the toolbar button within the toolbar

public setPosition(int $index) : void
Parameters
$index : int

the new position of the button (starting at index 0)

Tags
access

public

Return values
void

        

Search results