Feed
Class for manage Feed - object, which manipulate exporter - fetching items, converted and processed them
Table of Contents
Properties
Methods
- __construct() : mixed
- Feed constructor.
- processData() : mixed
- Consistently get data from source, convert them and processing export.
Properties
$timer
public
static Timer|null
$timer
= NULL
Methods
__construct()
Feed constructor.
public
__construct(mixed $params, mixed $startPosition) : mixed
Parameters
- $params : mixed
- $startPosition : mixed
-
string - ID of first element to export
processData()
Consistently get data from source, convert them and processing export.
public
processData([null $exportId = NULL ]) : mixed
Export process runs on the steps. Export controlling by timer. When timer expired - throw exception.
Parameters
- $exportId : null = NULL