‪TYPO3CMS  10.4
TYPO3\CMS\SysNote\Domain\Repository\SysNoteRepository Class Reference

Public Member Functions

array findByPidsAndAuthorId ($pids, int $author, int $position=null)
 

Public Attributes

const SYS_NOTE_POSITION_BOTTOM = 0
 
const SYS_NOTE_POSITION_TOP = 1
 

Detailed Description

Sys_note repository

Definition at line 29 of file SysNoteRepository.php.

Member Function Documentation

◆ findByPidsAndAuthorId()

array TYPO3\CMS\SysNote\Domain\Repository\SysNoteRepository::findByPidsAndAuthorId (   $pids,
int  $author,
int  $position = null 
)

Find notes by given pids and author

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

Definition at line 42 of file SysNoteRepository.php.

References TYPO3\CMS\Core\Utility\GeneralUtility\intExplode().

Member Data Documentation

◆ SYS_NOTE_POSITION_BOTTOM

const TYPO3\CMS\SysNote\Domain\Repository\SysNoteRepository::SYS_NOTE_POSITION_BOTTOM = 0

◆ SYS_NOTE_POSITION_TOP

const TYPO3\CMS\SysNote\Domain\Repository\SysNoteRepository::SYS_NOTE_POSITION_TOP = 1