\TestDataYamlFixture
Synopsis
class TestDataYamlFixture
extends YamlFixture
{
- // methods
- public void saveIntoDatabase()
- public static void attempt_publish()
- public static void attempt_unpublish()
- protected void getTag()
- protected void writeDataObject()
- protected void writeRelations()
- protected void parseFixtureVal()
Hierarchy
Extends
- YamlFixture
Tasks
Line | Task |
---|---|
237+ | rewrite the whole module to use new API |
Methods
protected
- getTag() — Get the DataObject the tag is pointing to.
- parseFixtureVal() — Copied from former YamlFixture.
- writeDataObject() — Mostly rewritten from parent, with changes that allow us to update objects (not only write new).
- writeRelations() — Populate relations for items of the dataClass (code moved from writeDataObject).
public
- attempt_publish() — Attempt to publish the object, if it supports this funcitonality.
- attempt_unpublish() — Attempt to unpublish the object, if it supports this funcitonality.
- saveIntoDatabase() — Mostly rewritten from parent, but allows circular dependencies - goes through the relation loop only after the dictionary is fully populated.