AbstractReplicator
AbstractYes
Replicate an entity based on data from another entity.
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.
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
abstract static getPayloadKey() : string
Tags
Return values
stringisDebug()
Enable or disable debug logging.
public
isDebug() : bool
Return values
boolisEnabled()
Enable or disable replication.
public
abstract static isEnabled() : bool
Return values
boolreplicate()
Replicates an entity.
public
replicate(int $entityId[, bool $force = false ]) : ReplicationResult
Parameters
- $entityId : int
- $force : bool = false