PHP Class Neos\Neos\ViewHelpers\Backend\UserInitialsViewHelper

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

Protected Properties

Свойство Type Description
$accountRepository Neos\Flow\Security\AccountRepository
$domainUserService Neos\Neos\Domain\Service\UserService
$userService Neos\Neos\Service\UserService

Méthodes publiques

Méthode 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 méthode

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"
Résultat string

Property Details

$accountRepository protected_oe property

protected AccountRepository,Neos\Flow\Security $accountRepository
Résultat Neos\Flow\Security\AccountRepository

$domainUserService protected_oe property

protected UserService,Neos\Neos\Domain\Service $domainUserService
Résultat Neos\Neos\Domain\Service\UserService

$userService protected_oe property

protected UserService,Neos\Neos\Service $userService
Résultat Neos\Neos\Service\UserService