Skip to content

Latest commit

 

History

History
164 lines (60 loc) · 1.65 KB

notifications.md

File metadata and controls

164 lines (60 loc) · 1.65 KB
title footer
\leantime\domain\repositories\notifications
false

notifications

  • Full name: \leantime\domain\repositories\notifications

Methods

__construct

__construct - get database connection

public notifications::__construct(): mixed

Return Value:


getAllNotifications

public notifications::getAllNotifications(mixed $userId, mixed $showNewOnly = false, mixed $limitStart, mixed $limitEnd = 100, mixed $filterOptions = array()): mixed

Parameters:

Parameter Type Description
userId mixed
showNewOnly mixed
limitStart mixed
limitEnd mixed
filterOptions mixed

Return Value:


addNotifications

public notifications::addNotifications(array $notifications): mixed

Parameters:

Parameter Type Description
notifications array

Return Value:


markNotificationRead

public notifications::markNotificationRead(mixed $id): mixed

Parameters:

Parameter Type Description
id mixed

Return Value:


markAllNotificationRead

public notifications::markAllNotificationRead(mixed $userId): mixed

Parameters:

Parameter Type Description
userId mixed

Return Value:



Automatically generated from source code comments on 2023-02-28 using phpDocumentor