list_getFiles

Description

Gets a list of files for browsing.

Syntax

array list_getFiles (int $start, int $items_per_page, string $sort, string $browse_type)



Parameter $start

Expected type: Integer
Description: Which item to start the list at.



Parameter $items_per_page

Expected type: Integer
Description: How many files to display per page.



Parameter $sort

Expected type: String
Description: What to sort the list by.



Parameter $browse_type

Expected type: String
Description: What type of files we're browsing. Can be 'attachments', 'avatars' or 'thumbs'.



Return value

Expected type: Array of arrays
Description: An array of arrays of file details. Each array has id_msg, poster_name, poster_time, id_topic, id_member, id_attach, filename, file_hash, attachment_type, size, width, height, downloads, subject and id_board.


Advertisement: