resource_log_last_rows()

Description

Retrieve entries from resource log based on date or references

Parameters

ColumnTypeDefaultDescription
$minref integer 0 (Optional) Minimum ref of resource log entry to return (default 0)
$days integer 7 (Optional) Number of days to return. e.g 3 = all results for today, yesterday and the day before. Default = 7 (ignored if minref supplied)
$maxrecords integer 0 (Optional) Maximum number of records to return. Default = all rows (0)
$fields array [] (Optional) Limit results to particular metadata field(s)
$log_codes array [] (Optional) Limit results to particular log code(s)

Return

array

This article was last updated 5th April 2025 21:35 Europe/London time based on the source file dated 21st January 2025 15:20 Europe/London time.