PermissionsViewHelper extends AbstractViewHelper

FinalYes

Render permission icon group (user / group / others) of the "Access" module.

Most of that could be done in fluid directly, but this ViewHelper is much better performance wise.

Internal

Table of Contents

Constants

MASKS  = [1, 16, 2, 4, 8]

Properties

$escapeOutput  : bool
As this ViewHelper renders HTML, the output must not be escaped.

Methods

__construct()  : mixed
initializeArguments()  : void
render()  : string
getLanguageService()  : LanguageService
resolvePermissionLabel()  : string

Constants

MASKS

protected mixed MASKS = [1, 16, 2, 4, 8]

Properties

$escapeOutput

As this ViewHelper renders HTML, the output must not be escaped.

protected bool $escapeOutput = false

Methods

initializeArguments()

public initializeArguments() : void

render()

public render() : string
Return values
string

resolvePermissionLabel()

protected resolvePermissionLabel(int $mask) : string
Parameters
$mask : int
Return values
string

        
On this page

Search results