Navigation

Search

list_getSubscribedUsers

Description

Gets information about the users subscribed to a particular subscription and returns it for the list

Syntax

array list_getSubscribedUsers (int $start, int $items_per_page, string $sort, int $id_sub, string $search_string, array $search_vars)



Parameter $start

Expected type: Integer
Description: Which record in the results to start with



Parameter $items_per_page

Expected type: Integer
Description: How many items are displayed per page



Parameter $sort

Expected type: String
Description: A string to be passed to the "ORDER BY" clause telling the database what to sort by



Parameter $id_sub

Expected type: Integer
Description: Subscription ID



Parameter $search_string

Expected type: String
Description: Additional search parameters to be appened to the WHERE clause



Parameter $search_vars

Expected type: Array
Description: An array of variable => value pairs indicating values that should be injected into the search string



Return value

Expected type: Array of arrays
Description: An array of arrays with subscriber details. Each array has id, id_member, name, start_date, end_date, pending, status and status_text


View all versions of this function