Collections functions
General functions
Node functions
Render functions
Theme permission functions
User functions
Resource functions

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 19th March 2024 08:05 Europe/London time based on the source file dated 23rd February 2024 17:00 Europe/London time.