\KapostBridgeLog
Class KapostBridgeLog
Synopsis
class KapostBridgeLog
extends DataObject
{
- // members
- private static array $db = ;
- private static string $default_sort = 'Created DESC, ID DESC';
- private static integer $log_expire_days = 30;
- private static array $casting = ;
- private boolean $reference_object = false;
- // methods
- public string getTitle()
- protected void onAfterWrite()
- public string getRequestFormatted()
- public string getResponseFormatted()
- public void getReferenceObject()
- public string CMSEditLink()
Hierarchy
Extends
- DataObject
Members
private
- $casting
- $db
- $default_sort
- $log_expire_days
—
int
Time in days to expire the log entries - $reference_object
Methods
protected
- onAfterWrite() — Cleans up logs older than X days after writing
public
- CMSEditLink() — Gets the link to view this log entry
- getReferenceObject() — Gets the referenced object of this kapost bridge log entry
- getRequestFormatted() — Gets the request formatted with line breaks
- getResponseFormatted() — Gets the response formatted with line breaks
- getTitle() — Gets the title of this log which is a combination of the method called and the date/time