\ExternalContentImporter
Implements ExternalContentImporter ?
- Author: Marcus Nyeholt <marcus@silverstripe.com.au>
- License: BSD License http://silverstripe.org/bsd-license
Synopsis
class ExternalContentImporter
extends Object
{
- // members
- protected array $contentTransforms = ;
- protected array $params = ;
- private static boolean $use_queue = true;
- // methods
- public array getParams()
- public void import()
- protected void importChildren()
- protected abstract String getExternalType()
- public void runOnImportStart()
- public void runOnImportEnd()
Hierarchy
Extends
- Object
Members
private
- $use_queue
protected
- $contentTransforms
- $params
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
- importChildren() — Execute the importing of several children
public
- getParams()
- import() — Import from a content source to a particular target
- runOnImportEnd() — Allow subclasses to run custom logic immediately after to import end.
- runOnImportStart() — Allow subclasses to run custom logic immediately prior to import start.