list_getBoardNotifications

Description

Fetches and returns information about all boards that a user is subscribed to.

Syntax

array list_getBoardNotifications (int $start, int $items_per_page, string $sort, int $memID)



Parameter $start

Expected type: Integer
Description: Which item in the list to start with



Parameter $items_per_page

Expected type: Integer
Description: How many items to display per page



Parameter $sort

Expected type: String
Description: An SQL clause that is appended to "ORDER BY" indicating how we want to sort the results



Parameter $memID

Expected type: Integer
Description: The ID of the member to load notifications for



Return value

Expected type: Array of arrays
Description: An array containing arrays of information about each board subscribed to


Notes

  • Callback for $listOptions['get_items']['function'] for the 'board_notifications_list' list in the notifications function
Advertisement: