SyncInfo
Table of Contents
Properties
- $direction : SyncDirection
- $entityId : int
- $entityType : EntityType
- $nodeId : int
- $withChildNodes : bool
Methods
- __construct() : mixed
- createFromNodeMember() : self
- createFromNodeRelation() : self
- createFromRow() : self
Properties
$direction read-only
public
SyncDirection
$direction
$entityId read-only
public
int
$entityId
$entityType read-only
public
EntityType
$entityType
$nodeId read-only
public
int
$nodeId
$withChildNodes read-only
public
bool
$withChildNodes
Methods
__construct()
public
__construct(EntityType $entityType, int $entityId, int $nodeId, bool $withChildNodes, SyncDirection $direction) : mixed
Parameters
- $entityType : EntityType
- $entityId : int
- $nodeId : int
- $withChildNodes : bool
- $direction : SyncDirection
createFromNodeMember()
public
static createFromNodeMember(NodeMember $member, SyncDirection $direction) : self
Parameters
- $member : NodeMember
- $direction : SyncDirection
Return values
selfcreateFromNodeRelation()
public
static createFromNodeRelation(NodeRelation $node, SyncDirection $direction) : self
Parameters
- $node : NodeRelation
- $direction : SyncDirection
Return values
selfcreateFromRow()
public
static createFromRow(array<string|int, mixed> $row) : self
Parameters
- $row : array<string|int, mixed>