\Vision6Sync
Class Vision6Sync
- Author: Reece Alexander <reece@steadlane.com.au>
Synopsis
class Vision6Sync
extends BuildTask
implements
Flushable
{
- // members
- private static boolean $is_flushing = false;
- protected string $title = "Vision6: Synchronize Lists & Fields";
- protected string $description = "Syncs the local database with lists & fields from Vision6 API, will modify if already exists and create if doesn't";
- // methods
- public void run()
- public static void syncLists()
- public static void syncFields()
- public static void flush()
Hierarchy
Extends
- BuildTask
Implements
- Flushable
Members
private
- $is_flushing
protected
- $description — string
- $title — string
Methods
public
- flush() — This function is triggered early in the request if the "flush" query parameter has been set. Each class that implements Flushable implements this function which looks after it's own specific flushing functionality.
- run()
- syncFields() — Sync Fields For Lists
- syncLists() — Sync Lists