KMP PHP API Reference

MemberSubmittedRecsCell extends Cell
in package

Displays award recommendations submitted by a specific member.

Provides a dashboard view showing all recommendations a member has submitted, with Turbo Frame integration for lazy loading. Supports both self-access (ID=-1) and administrative viewing with proper permission checks.

Tags
see
AwardsViewCellProvider

View cell registration

see

/docs/5.2.17-awards-services.md Full documentation

Table of Contents

Properties

$_validCellOptions  : array<string, mixed>
List of valid options that can be passed into this cell's constructor.

Methods

display()  : void
Display member submitted recommendations with permission checking.
initialize()  : void
Initialization logic run at the end of object construction.

Properties

$_validCellOptions

List of valid options that can be passed into this cell's constructor.

protected array<string, mixed> $_validCellOptions = []

Methods

display()

Display member submitted recommendations with permission checking.

public display(int $id) : void

Resolves member ID (-1 for current user), validates permissions, and sets template variables for conditional display.

Parameters
$id : int

Member ID to display recommendations for (-1 for current user)

Return values
void

Sets template variables or returns early for unauthorized access


        
On this page

Search results