KMP PHP API Reference

OfficersViewCellProvider
in package

View cell provider for the Officers plugin.

Registers view cells for branch officer display, required officers monitoring, and member office tracking within branch and member profile pages.

Tags
see

/docs/5.1-officers-plugin.md for plugin documentation

Table of Contents

Methods

getViewCells()  : array<string|int, mixed>
Get view cell configurations for the Officers plugin.

Methods

getViewCells()

Get view cell configurations for the Officers plugin.

public static getViewCells(array<string|int, mixed> $urlParams[, mixed $user = null ]) : array<string|int, mixed>

Registers:

  • BranchOfficers: Tab showing officers for a branch (Branches.view)
  • BranchRequiredOfficers: Detail showing required officers status (Branches.view)
  • MemberOfficers: Tab showing offices held by a member (Members.view/profile)
Parameters
$urlParams : array<string|int, mixed>

URL parameters for route context

$user : mixed = null

Current user for authorization context

Return values
array<string|int, mixed>

View cell configurations for ViewCellRegistry, empty if plugin disabled


        
On this page

Search results