PHP Class Neos\Neos\ViewHelpers\Backend\UserInitialsViewHelper

This ViewHelper is *WORK IN PROGRESS* and *NOT STABLE YET*
Inheritance: extends Neos\FluidAdaptor\Core\ViewHelper\AbstractViewHelper
Mostra file Open project: neos/neos-development-collection

Protected Properties

Property Type Description
$accountRepository Neos\Flow\Security\AccountRepository
$domainUserService Neos\Neos\Domain\Service\UserService
$userService Neos\Neos\Service\UserService

Public Methods

Method Description
render ( string $format = 'initials' ) : string Render user initials or an abbreviated name for a given username. If the account was deleted, use the username as fallback.

Method Details

render() public method

Render user initials or an abbreviated name for a given username. If the account was deleted, use the username as fallback.
public render ( string $format = 'initials' ) : string
$format string Supported are "fullFirstName" and "initials"
return string

Property Details

$accountRepository protected_oe property

protected AccountRepository,Neos\Flow\Security $accountRepository
return Neos\Flow\Security\AccountRepository

$domainUserService protected_oe property

protected UserService,Neos\Neos\Domain\Service $domainUserService
return Neos\Neos\Domain\Service\UserService

$userService protected_oe property

protected UserService,Neos\Neos\Service $userService
return Neos\Neos\Service\UserService