KMP PHP API Reference

RecommendationApprovalContextRenderer
in package
implements ApprovalContextRendererInterface

Table of Contents

Interfaces

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

Methods

canRender()  : bool
Check whether this renderer supports award recommendation approval workflows.
render()  : ApprovalContext
Render award recommendation details for the unified approvals UI.
awardLabel()  : string
Build a readable award label from the award, domain, level, and specialty.
findRecommendation()  : Recommendation|null
Locate the recommendation referenced by a workflow instance.
findRecommendationApprovalRun()  : RecommendationApprovalRun|null
Find the recommendation approval run for workflow instances owned by the run.
findRecommendationById()  : Recommendation|null
Load the recommendation detail graph used by approval detail panels.
gatheringLabels()  : array<int, string>
recommendationUrl()  : string|null
Build the source recommendation URL.

Methods

recommendationUrl()

Build the source recommendation URL.

private recommendationUrl(int $recommendationId) : string|null
Parameters
$recommendationId : int

Recommendation ID.

Return values
string|null
On this page

Search results