Skip to the content
Documentation

expdatasyncdefinition

No ratings yet

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.

Contributors

Comments

Add a comment

Comments are read by a moderator before they appear.