Help center

Path

7x / documentation / exponential / 6.x / technical manual 6.x / reference / objects / expdatasyncdefinition


Caution: This documentation is for Exponential, from version 3.x to 6.x.
For 5.x documentation covering Platform see Exponential Platform Documentation, for difference between legacy and Platform see 5.x Architecture overview.

expdatasyncdefinition

Available since Exponential 6.0.15 (in development, not in a release yet).

Summary

A synchronisation between content and a data table (table exp_data_sync; doc/eng-us/features/6.0/data-tables.md, "Synchronisation"): the persistent class, the content class and subtree, the map of columns to content, the key, the direction (content_to_table, table_to_content, two_way), the mode ...

Description

A synchronisation between content and a data table (table exp_data_sync; doc/eng-us/features/6.0/data-tables.md, "Synchronisation"): the persistent class, the content class and subtree, the map of columns to content, the key, the direction (content_to_table, table_to_content, two_way), the mode (once, scheduled, live) and the conflict rule (newest, content, table, ask). expDataSync runs it.

@since 6.0.15

Persistent

Yes. Table exp_data_sync.

Attributes

Attribute Type Static*
id integer Yes.
name string Yes.
direction string Yes.
run_mode string Yes.
class_name string Yes.
content_class string Yes.
subtree_node_id integer Yes.
map text Yes.
key_columns string Yes.
conflict_rule string Yes.
interval_seconds integer Yes.
last_run integer Yes.
next_run integer Yes.
last_run_id integer Yes.
state string Yes.
options text Yes.
created integer Yes.
modified integer Yes.
creator_id integer Yes.
map_array - No.
options_array - No.
keys_array - No.
open_conflicts - No.

* Yes: a field of the table (a stored value); No: a function attribute, computed when it is asked for.

Source

kernel/classes/datatable/sync/expdatasyncdefinition.php, expDataSyncDefinition::definition()

Added to the reference for Exponential 6.0.15: the 4.x reference had no page for this object.

Graham Brookins (05/11/2026 10:36 am)

Graham Brookins (05/11/2026 11:20 am)

Graham Brookins

No ratings yet