class UserInitialsViewHelper extends AbstractViewHelper (View source)

Render user initials for a given username

This ViewHelper is WORK IN PROGRESS and NOT STABLE YET

Properties

protected AccountRepository $accountRepository
protected UserService $userService
protected UserService $domainUserService

Methods

void
initializeArguments()

No description

string
render()

Render user initials or an abbreviated name for a given username.

Details

void initializeArguments()

No description

Return Value

void

Exceptions

Exception

string render()

Render user initials or an abbreviated name for a given username.

If the account was deleted, use the username as fallback.

Return Value

string

Exceptions

Exception