Navigation

Search

list_getSpiderLogs

Description

Gets and returns the rows of information for the spider log

Syntax

array list_getSpiderLogs (int $start, int $items_per_page, string $sort)



Parameter $start

Expected type: Integer
Description: Which row in the results to start with (starting from 0).



Parameter $items_per_page

Expected type: Integer
Description: How many entries to display per page (eg how many entries to retrieve)



Parameter $sort

Expected type: String
Description: An SQL string to be passed to ORDER BY. Indicates how we want to sort the data.



Return value

Expected type: Array of arrays
Description: Returns an array of arrays - each array is a separate spider log entry and has id_spider, url (used to determine what the spider was viewing), log_time and spider_name


Notes

  • Callback for $listOptions['get_items']['function']
View all versions of this function