AntonyThorpe\Consumer\Consumer
Record the LastEdited date provided from external data
Synopsis
class Consumer
extends DataObject
{
- // members
- private static string $table_name = 'Consumer';
- private static array $db = ;
- // methods
- public static void convertUnix2UTC()
- public static boolean isTimestamp()
- public $this setMaxExternalLastEdited()
Hierarchy
Extends
- SilverStripe\ORM\DataObject
Members
private
- $db
—
array
Save the maximum data using setExternalLastEdited method. Can use it to filter future calls to the API. - $table_name
Methods
public
- convertUnix2UTC()
- isTimestamp() — Determine if the string is a Unix Timestamp
- setMaxExternalLastEdited() — Set the ExternalLastEdited to the maximum last edited date