ShortcutToolbarItem implements ToolbarItemInterface

Class to render the shortcut menu

Internal

This class is a specific Backend implementation and is not considered part of the Public TYPO3 API.

Table of Contents

Interfaces

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

Properties

$shortcutRepository  : ShortcutRepository

Methods

__construct()  : mixed
Constructor
checkAccess()  : bool
Checks whether the user has access to this toolbar item
getAdditionalAttributes()  : array<string|int, mixed>
This toolbar item needs no additional attributes
getDropDown()  : string
Render drop down content
getIndex()  : int
Position relative to others, live search should be very right
getItem()  : string
Render shortcut icon
hasDropDown()  : bool
This item has a drop down
getBackendUser()  : BackendUserAuthentication
Returns the current BE user.
getFluidTemplateObject()  : StandaloneView
returns a new standalone view, shorthand function
getLanguageService()  : LanguageService

Properties

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 item needs no additional attributes

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

getDropDown()

Render drop down content

public getDropDown() : string
Return values
string

HTML

getIndex()

Position relative to others, live search should be very right

public getIndex() : int
Return values
int

hasDropDown()

This item has a drop down

public hasDropDown() : bool
Return values
bool

getFluidTemplateObject()

returns a new standalone view, shorthand function

protected getFluidTemplateObject(string $templateFilename) : StandaloneView
Parameters
$templateFilename : string
Internal

param string $templateFile

Tags
throws
InvalidExtensionNameException
throws
InvalidArgumentException
Return values
StandaloneView

        
On this page

Search results