‪TYPO3CMS  11.5
TYPO3\CMS\SysNote\Controller\NoteController Class Reference

Public Member Functions

 __construct ()
 
string listAction ($pids, int $position=null)
 

Protected Member Functions

 enrichWithEditPermissions (array $notes)
 
 getBackendUser ()
 

Protected Attributes

SysNoteRepository $notesRepository
 
array $pagePermissionCache = []
 

Detailed Description

Renders notes for the current backend user

Definition at line 32 of file NoteController.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\SysNote\Controller\NoteController::__construct ( )

Definition at line 40 of file NoteController.php.

Member Function Documentation

◆ enrichWithEditPermissions()

TYPO3\CMS\SysNote\Controller\NoteController::enrichWithEditPermissions ( array  $notes)
protected

◆ getBackendUser()

TYPO3\CMS\SysNote\Controller\NoteController::getBackendUser ( )
protected

◆ listAction()

string TYPO3\CMS\SysNote\Controller\NoteController::listAction (   $pids,
int  $position = null 
)

Render notes by single PID or PID list

Parameters
string$pids‪Single PID or comma separated list of PIDs
int | null$position‪null for no restriction, integer for defined position
Returns
‪string

Definition at line 52 of file NoteController.php.

References TYPO3\CMS\SysNote\Controller\NoteController\enrichWithEditPermissions(), and TYPO3\CMS\SysNote\Controller\NoteController\getBackendUser().

Member Data Documentation

◆ $notesRepository

SysNoteRepository TYPO3\CMS\SysNote\Controller\NoteController::$notesRepository
protected

Definition at line 36 of file NoteController.php.

◆ $pagePermissionCache

array TYPO3\CMS\SysNote\Controller\NoteController::$pagePermissionCache = []
protected

Definition at line 38 of file NoteController.php.