\QueuedExternalContentImporter
An abstract class for a content importer that works within the queuedjobs module
- Author: Marcus Nyeholt <marcus@silverstripe.com.au>
- License: BSD License http://silverstripe.org/bsd-license
Synopsis
class QueuedExternalContentImporter
extends AbstractQueuedJob
{
- // members
- protected array $contentTransforms = ;
- // methods
- public void __construct()
- public void getTitle()
- public String getJobType()
- public array getParams()
- public void setup()
- public void process()
- protected abstract String getExternalType()
Hierarchy
Extends
- AbstractQueuedJob
Members
protected
- $contentTransforms
Methods
protected
- getExternalType() — Get the type of the item as far as the remote system is concerned. This should match up with what is defined in the contentTransforms array
public
- __construct()
- getJobType() — By default jobs should just go into the default processing queue
- getParams()
- getTitle()
- process() — Lets process a single node, and collect its children
- setup()