SysNoteRepository

Sys_note repository

Internal

Table of Contents

Constants

SYS_NOTE_POSITION_BOTTOM  = 0
SYS_NOTE_POSITION_TOP  = 1

Methods

findByPidsAndAuthorId()  : array<string|int, mixed>
Find notes by given pids and author

Constants

SYS_NOTE_POSITION_BOTTOM

public mixed SYS_NOTE_POSITION_BOTTOM = 0

SYS_NOTE_POSITION_TOP

public mixed SYS_NOTE_POSITION_TOP = 1

Methods

findByPidsAndAuthorId()

Find notes by given pids and author

public findByPidsAndAuthorId(string $pids, int $author[, int|null $position = null ]) : array<string|int, mixed>
Parameters
$pids : string

Single PID or comma separated list of PIDs

$author : int

author uid

$position : int|null = null

null for no restriction, integer for defined position

Return values
array<string|int, mixed>

        
On this page

Search results