\TestDataExporter
Synopsis
class TestDataExporter
extends Controller
{
- // members
- public static array $allowed_actions = ;
- public string $currentFixtureFile = '';
- // methods
- public void init()
- public void ExportForm()
- public void objectPresent()
- public void traverseRelations()
- public void generateYML()
- public void getTag()
- public void assureHasTag()
- public void generateIDs()
- public void extractParams()
- public void export()
Hierarchy
Extends
- Controller
Members
public
- $allowed_actions
- $currentFixtureFile
Methods
public
- ExportForm() — Builds the entry form so the user can choose what to export.
- assureHasTag() — Ensures object has an YML tag.
- export() — Processes the form and builds the output
- extractParams() — Decodes the meta parameters from the string (presumably file content).
- generateIDs() — Processes the textual id list coming from the form into a database where clause.
- generateYML() — Converts the object record into YML format.
- getTag() — Prepares an automatic YML tag for the object.
- init()
- objectPresent() — Checks if the object is present in the the buckets and queue.
- traverseRelations() — Introspects the object's relationships and adds the relevant objects into the queue, if not already processed into the buckets.