]> git.mxchange.org Git - friendica.git/commit
ReWork Notification Model/Module/Object/Repository/Factory
authornupplaPhil <admin@philipp.info>
Sat, 25 Jan 2020 01:01:49 +0000 (02:01 +0100)
committernupplaPhil <admin@philipp.info>
Sat, 25 Jan 2020 18:58:22 +0000 (19:58 +0100)
commit0850fb88dd82d53bd12b8d2850107a5ef07f9473
treecb636030fd8c90036ee82e2f4b3bb74f68a51b9d
parent230bb6dd53ddc08bf8db617855702d876bd0fc5b
ReWork Notification Model/Module/Object/Repository/Factory
- Introduce Repository for interaction with "notify" table
- Introduce Factory for read-only notification objects (they're just loosely based on notification the table!)
- Introduce Objects for type-safe usage at the presentation layer
- Reworked Model, which is now fully based on the notify table, including generated fields (cache, ..)
17 files changed:
include/api.php
include/enotify.php
mod/ping.php
src/BaseModel.php
src/BaseRepository.php
src/Collection/Notifications.php [new file with mode: 0644]
src/DI.php
src/Factory/Notification/IntroductionFactory.php [new file with mode: 0644]
src/Factory/Notification/NotificationFactory.php [new file with mode: 0644]
src/Model/Notification.php
src/Module/BaseNotifications.php
src/Module/Notifications/Introductions.php
src/Module/Notifications/Notification.php
src/Module/Notifications/Notifications.php
src/Object/Notification/Introduction.php [new file with mode: 0644]
src/Object/Notification/Notification.php [new file with mode: 0644]
src/Repository/Notification.php [new file with mode: 0644]