list_getSpiderStats

Description

Gets all the spider stats for the list

Syntax

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



Parameter $start

Expected type: Integer
Description: Which row 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: An SQL clause to be passed to the query indicating how we want the data sorted (example: s.spider_name DESC)



Return value

Expected type: Array of arrays
Description: Returns an array of spider stats entries. Each array contains id_spider, stat_date, page_hits and spider_name


Notes

  • Callback for $listOptions['get_items']['function']
Advertisement: