NoteController

Renders notes for the current backend user

Internal

Table of Contents

Properties

$notesRepository  : SysNoteRepository
$pagePermissionCache  : array<string|int, mixed>

Methods

__construct()  : mixed
listAction()  : string
Render notes by single PID or PID list
enrichWithEditPermissions()  : array<string|int, mixed>
getBackendUser()  : BackendUserAuthentication

Properties

$pagePermissionCache

protected array<string|int, mixed> $pagePermissionCache = []

Methods

listAction()

Render notes by single PID or PID list

public listAction(string $pids[, int|null $position = null ]) : string
Parameters
$pids : string

Single PID or comma separated list of PIDs

$position : int|null = null

null for no restriction, integer for defined position

Return values
string

enrichWithEditPermissions()

protected enrichWithEditPermissions(array<string|int, mixed> $notes) : array<string|int, mixed>
Parameters
$notes : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results