Skip to content

Bug fixed and organized version

Pre-release
Pre-release
Compare
Choose a tag to compare
@mayeenulislam mayeenulislam released this 18 May 08:22
· 15 commits to master since this release

API Change: getNotifications()

The previous version accepts two arguments: fetch and count. With this version, you are requested to combine them into a single array like below:

// Previous code:
getNotifications(21, 'unread', 10);
// Code as per v0.1.2
getNotifications(21, array('read_status' => 'unread', 'items_per_page' => 10);

Check the updated documentation on getNotifications().

Changelog

Organized:

  • Organized the use of getNotifications() with an arguments array. User can pass several variables using the array.

Fixed:

  • Paginated result fixed with caching

Features from first release:

  • Database table creation using migration
  • Store notifications into database
  • Fetch notifications from database
  • Store and fetch any types of additional information for notification with meta data
  • Cache data to save some valuable resources