PermissionsViewHelper extends AbstractViewHelper
This class is the implementation of a Fluid ViewHelper.
View this class in the TYPO3 ViewHelper reference: <.typo3.cms.beuser.s.permissions>
FinalYes
ViewHelper to render a permission icon group (user / group / others) of the "Access" module, using native PHP instead of Fluid for performance reasons.
<beuser:permissions permission="{data.row.perms_user}" scope="user" pageId="{data.row.uid}" />
Table of Contents
Properties
- $escapeOutput : bool
- As this ViewHelper renders HTML, the output must not be escaped.
Methods
- __construct() : mixed
- initializeArguments() : void
- render() : string
Properties
$escapeOutput
As this ViewHelper renders HTML, the output must not be escaped.
protected
bool
$escapeOutput
= false
Methods
__construct()
public
__construct(IconFactory $iconFactory, FrontendInterface $cachePermissionLabels) : mixed
Parameters
- $iconFactory : IconFactory
- $cachePermissionLabels : FrontendInterface
initializeArguments()
public
initializeArguments() : void
render()
public
render() : string