\SyncroableExtension
Add this extension to items that you want to allow other nodes to sync down
You will probably want to
ALTER TABLE `DataObjectThisIsAppliedTo` ADD INDEX ( `LastEditedUTC` ) ;
ALTER TABLE `DataObjectThisIsAppliedTo` ADD INDEX ( `UpdatedUTC` ) ;
depending on whether you're doing UpdatedUTC updates or LastEditedUTC updates
- Author: marcus@silverstripe.com.au
- License: BSD License http://silverstripe.org/bsd-license/
Synopsis
class SyncroableExtension
extends DataObjectDecorator
{
- // methods
- public void extraStatics()
- public void onBeforeWrite()
- public void onAfterWrite()
- public void updateFrontendFields()
- public void onAfterDelete()
Hierarchy
Extends
- DataObjectDecorator