RecsForMemberCell
extends Cell
in package
Displays award recommendations received by a specific member.
Provides a view of recommendations submitted about a member with privacy protection. Members cannot view their own received recommendations unless they have the ViewSubmittedForMember permission.
Tags
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 recommendations received by a member with privacy protection.
- 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 recommendations received by a member with privacy protection.
public
display(int $id) : void
Resolves member ID (-1 for current user), validates permissions and relationship, and sets template variables for conditional display. Members cannot view their own received recommendations without permission.
Parameters
- $id : int
-
Member ID to display received recommendations for (-1 for current user)
Return values
void —Sets template variables or returns with empty state for unauthorized access
initialize()
Initialization logic run at the end of object construction.
public
initialize() : void