Back to index

d-push  2.0
Public Member Functions
IExportChanges Interface Reference
Inheritance diagram for IExportChanges:
Inheritance graph
[legend]
Collaboration diagram for IExportChanges:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ConfigContentParameters ($contentparameters)
 Configures additional parameters used for content synchronization.
 InitializeExporter (&$importer)
 Sets the importer where the exporter will sent its changes to This exporter should also be ready to accept calls after this.
 GetChangeCount ()
 Returns the amount of changes to be exported.
 Synchronize ()
 Synchronizes a change to the configured importer.
 Config ($state, $flags=0)
 Constructor.
 GetState ()
 Reads and returns the current state.

Detailed Description

Definition at line 46 of file iexportchanges.php.


Member Function Documentation

IChanges::Config ( state,
flags = 0 
) [inherited]

Constructor.

Exceptions:
StatusExceptionInitializes the state and flags
Parameters:
string$state
int$flagspublic
Returns:
boolean status flag
Exceptions:
StatusException

Implemented in ImportChangesCombined, ImportChangesICS, ExportChangesICS, ChangesMemoryWrapper, ExportChangesCombined, ImportChangesStream, and DiffState.

IExportChanges::ConfigContentParameters ( contentparameters)

Configures additional parameters used for content synchronization.

Parameters:
ContentParameters$contentparameterspublic
Returns:
boolean
Exceptions:
StatusException

Implemented in ExportChangesICS, ExportChangesCombined, ChangesMemoryWrapper, and ExportChangesDiff.

Returns the amount of changes to be exported.

public

Returns:
int

Implemented in ChangesMemoryWrapper, ExportChangesICS, ExportChangesDiff, and ExportChangesCombined.

IChanges::GetState ( ) [inherited]

Reads and returns the current state.

public

Returns:
string

Implemented in ImportChangesCombined, ExportChangesICS, ImportChangesICS, ExportChangesCombined, ChangesMemoryWrapper, DiffState, and ImportChangesStream.

Sets the importer where the exporter will sent its changes to This exporter should also be ready to accept calls after this.

Parameters:
object&$importerImplementation of IImportChanges

public

Returns:
boolean
Exceptions:
StatusException

Implemented in ChangesMemoryWrapper, ExportChangesICS, ExportChangesCombined, and ExportChangesDiff.

Synchronizes a change to the configured importer.

public

Returns:
array with status information

Implemented in ChangesMemoryWrapper, ExportChangesICS, ExportChangesDiff, and ExportChangesCombined.


The documentation for this interface was generated from the following file: