\DummyMatrixContentSource
Synopsis
class DummyMatrixContentSource
extends MatrixContentSource
{
- // members
- private $mockClient;
- // Inherited members from MatrixContentSource
- protected unknown_type $repo;
- protected array $objectCache;
- // methods
- public void setMockClient()
- public void createConnector()
- // Inherited methods from MatrixContentSource
- public FieldSet getCMSFields()
- public static void registerType()
- public SeaMistRepository getRemoteRepository()
- public void encodeId()
- public void decodeId()
- protected MatrixJSClient createConnector()
- public void getContentImporter()
- public void allowedImportTargets()
- public void onBeforeWrite()
- public DataObject getObject()
- public void getRoot()
- public ArrayList stageChildren()
- public void Children()
Hierarchy
Extends
Members
private
- $mockClient
protected
- $objectCache
—
array
Read only cache of objects loaded from Matrix for this request - $repo
—
unknown_type
The Matrix server repository we're going to connect to
Methods
public
Inherited from MatrixContentSource
protected
- createConnector() — Create the repository connector
public
- Children()
- allowedImportTargets() — Matrix content can only be imported into the sitetree for now.
- decodeId()
- encodeId()
- getCMSFields()
- getContentImporter() — Return a new matrix content importer
- getObject() — Get the object represented by ID
- getRemoteRepository() — Get the alfresco seamistrepository connected
- getRoot() — Get the root object that we're listing from (non-PHPdoc)
- onBeforeWrite() — Whenever we save the content source, we want to disconnect the repository so that it reconnects with whatever new connection details are provided
- registerType() — Register a type
- stageChildren() — Override to fool hierarchy.php