SysNoteRepository

Sys_note repository

Internal

Table of Contents

Constants

SYS_NOTE_POSITION_BOTTOM  = 0
SYS_NOTE_POSITION_TOP  = 1

Properties

$connectionPool  : ConnectionPool

Methods

__construct()  : mixed
findByPidAndAuthorId()  : array<string|int, mixed>
Find notes by given pid 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

Properties

Methods

findByPidAndAuthorId()

Find notes by given pid and author

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

Single pid

$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