Navigation

Search

list_getUserWarnings

Description

Gets information about all the warnings a user has received.

Syntax

array list_getUserWarnings (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 string indicating how we wish to sort the items in the list.



Parameter $memID

Expected type: Integer
Description: The ID of the user to get warnings for.



Return value

Expected type: Array of arrays
Description: An array of arrays containing information about a user's warnings.


View all versions of this function