WorkspaceSelectorToolbarItem implements ToolbarItemInterface

Class to render the workspace selector

Internal

Table of Contents

Interfaces

ToolbarItemInterface
Interface for classes which extend the backend by adding items to the top toolbar

Properties

$availableWorkspaces  : array<string|int, mixed>

Methods

__construct()  : mixed
Constructor
checkAccess()  : bool
Checks whether the user has access to this toolbar item
getAdditionalAttributes()  : array<string|int, mixed>
This toolbar needs no additional attributes
getDropDown()  : string
Get drop down
getIndex()  : int
Position relative to others
getItem()  : string
Render item
hasDropDown()  : bool
This item has a drop down
getBackendUser()  : BackendUserAuthentication
Returns the current BE user.
getFluidTemplateObject()  : StandaloneView
Returns a new standalone view, shorthand function
getPageRenderer()  : PageRenderer
Returns current PageRenderer

Properties

$availableWorkspaces

protected array<string|int, mixed> $availableWorkspaces

Methods

__construct()

Constructor

public __construct() : mixed

checkAccess()

Checks whether the user has access to this toolbar item

public checkAccess() : bool
Return values
bool

TRUE if user has access, FALSE if not

getAdditionalAttributes()

This toolbar needs no additional attributes

public getAdditionalAttributes() : array<string|int, mixed>
Return values
array<string|int, mixed>

getDropDown()

Get drop down

public getDropDown() : string
Return values
string

getIndex()

Position relative to others

public getIndex() : int
Return values
int

getItem()

Render item

public getItem() : string
Return values
string

HTML

hasDropDown()

This item has a drop down

public hasDropDown() : bool
Return values
bool

getFluidTemplateObject()

Returns a new standalone view, shorthand function

protected getFluidTemplateObject(string $filename) : StandaloneView
Parameters
$filename : string

Which templateFile should be used.

Return values
StandaloneView

        
On this page

Search results