AvatarViewHelper extends AbstractViewHelper
This class is the implementation of a Fluid ViewHelper.
View this class in the TYPO3 ViewHelper reference: <backend:avatar>
FinalYes
ViewHelper to render the avatar markup (including the `<img>` tag) for a given backend user.
If the given backend user hasn't added a custom avatar yet, a default one is used.
<be:avatar backendUser="{user.uid}" size="32" showIcon="true" />
Tags
Table of Contents
Properties
- $escapeOutput : bool
- As this ViewHelper renders HTML, the output must not be escaped.
Methods
- __construct() : mixed
- initializeArguments() : void
- render() : string
- Resolve user avatar from a given backend user id.
Properties
$escapeOutput
As this ViewHelper renders HTML, the output must not be escaped.
protected
bool
$escapeOutput
= false
Methods
__construct()
public
__construct(ConnectionPool $connectionPool) : mixed
Parameters
- $connectionPool : ConnectionPool
initializeArguments()
public
initializeArguments() : void
render()
Resolve user avatar from a given backend user id.
public
render() : string