CopyTaskReplicator extends AbstractReplicator
Not currently in use.
We need to troubleshoot copying issues with various scenarios related to the parent task
Table of Contents
Methods
- __construct() : mixed
- disableTimeZone() : void
- enableTimeZone() : void
- getPayloadKey() : string
- Returns the key by which it is convenient to obtain the value of the replication result.
- isDebug() : bool
- Enable or disable debug logging.
- isEnabled() : bool
- Enable or disable replication.
- replicate() : ReplicationResult
- Replicates an entity.
- setParentTaskId() : static
Methods
__construct()
public
__construct([int $userId = 0 ]) : mixed
Parameters
- $userId : int = 0
disableTimeZone()
public
disableTimeZone() : void
enableTimeZone()
public
enableTimeZone() : void
getPayloadKey()
Returns the key by which it is convenient to obtain the value of the replication result.
public
static getPayloadKey() : string
Return values
stringisDebug()
Enable or disable debug logging.
public
isDebug() : bool
Return values
boolisEnabled()
Enable or disable replication.
public
static isEnabled() : bool
Return values
boolreplicate()
Replicates an entity.
public
replicate(int $entityId[, bool $force = false ]) : ReplicationResult
Parameters
- $entityId : int
- $force : bool = false
Return values
ReplicationResultsetParentTaskId()
public
setParentTaskId(int $taskId) : static
Parameters
- $taskId : int