KMP PHP API Reference

ActivitiesApprovalContextRenderer
in package
implements ApprovalContextRendererInterface

Provides rich display context for Activity authorization approvals shown in the unified approvals queue.

Table of Contents

Interfaces

ApprovalContextRendererInterface
Renders entity-aware context for the unified approvals UI.

Methods

canRender()  : bool
Whether this renderer can handle the given workflow instance.
render()  : ApprovalContext
Build an ApprovalContext for the given workflow instance.
buildEntityUrl()  : string|null
Build a URL to the authorization entity view.
loadActivityName()  : string
Load activity name by ID.
loadRequesterName()  : string|null
Load requester SCA name by member ID.

Methods

buildEntityUrl()

Build a URL to the authorization entity view.

private buildEntityUrl(string|int|null $authorizationId) : string|null
Parameters
$authorizationId : string|int|null

Authorization ID.

Return values
string|null

loadActivityName()

Load activity name by ID.

private loadActivityName(string|int|null $activityId) : string
Parameters
$activityId : string|int|null

Activity ID.

Return values
string

loadRequesterName()

Load requester SCA name by member ID.

private loadRequesterName(string|int|null $memberId) : string|null
Parameters
$memberId : string|int|null

Member ID.

Return values
string|null
On this page

Search results