class UserDeactivatedListView extends StandardListView implements ApplicationAwareInterface (View source)

Traits

Trait ApplicationAwareTrait A trait used with ApplicationAwareInterface

Properties

UserDeactivatedNotification $notification
protected Application $app from  ApplicationAwareTrait
protected ResolverManagerInterface $resolver

The url resolver we use to build urls

Methods

getNotificationObject()

No description

renderIcon()

No description

renderDetails()

No description

renderMenu()

No description

__construct(Notification $notification)

No description

getShortDescription()

No description

getInitiatorUserObject()

No description

getInitiatorComment()

No description

getMenu()

No description

getFormAction()

No description

getRequestedByElement()

No description

getLinkToUser(UserInfo $user)

No description

getDateString()

No description

setApplication(Application $app)

Setter method for the application

getIconClass()

No description

getTitle()

No description

getActionDescription()

Build the description for this notification

string
getUserLink(User $user = null)

Resolve a <a...>...</a> tag from a user entity (or null) If null is passed, we return a placeholder that makes it clear the user has been deleted

getApplication()

Resolve an application instance

getUrlResolver()

Resolve the url resolver instance

Details

getNotificationObject()

No description

renderIcon()

No description

renderDetails()

No description

renderMenu()

No description

__construct(Notification $notification)

No description

Parameters

Notification $notification

getShortDescription()

No description

getInitiatorUserObject()

No description

getInitiatorComment()

No description

getMenu()

No description

getFormAction()

No description

protected getRequestedByElement()

No description

renderInitiatorCommentDescription()

No description

protected getLinkToUser(UserInfo $user)

No description

Parameters

UserInfo $user

getDateString()

No description

renderInitiatorActionDescription()

No description

setApplication(Application $app)

Setter method for the application

Parameters

Application $app

getIconClass()

No description

getTitle()

No description

getActionDescription()

Build the description for this notification

Resolve a <a...>...</a> tag from a user entity (or null) If null is passed, we return a placeholder that makes it clear the user has been deleted

Parameters

User $user

Return Value

string

protected Application getApplication()

Resolve an application instance

Since this class is instantiated within a spot that has no awareness of the application, we have to resolve the container manually using the facades. Ideally views would be decoupled from the value objects that they render.

Return Value

Application

protected ResolverManagerInterface getUrlResolver()

Resolve the url resolver instance