History log of /plugin/struct/_test/mock/SchemaNoDB.php (Results 1 – 3 of 3)
Revision Date Author Comments
# 0549dcc5 13-Jan-2022 Andreas Gohr <andi@splitbrain.org>

PHP code sniffer autofixes


# 5b808f9f 29-Apr-2020 Anna Dabrowska <dabrowska@cosmocode.de>

Remove islookup property of schemas

CSV import must still be adjusted


# f411d872 08-Aug-2016 Andreas Gohr <gohr@cosmocode.de>

refactor SchemaData into AccessTable with factory

first part of the refactoring for the SchemaData and SchemaLookupData
classes. Both now inherit from AccessTable which provides common methods
and t

refactor SchemaData into AccessTable with factory

first part of the refactoring for the SchemaData and SchemaLookupData
classes. Both now inherit from AccessTable which provides common methods
and two factory methods to automatically create the correct class
depending on the schema.

Both classes no longer inherit from Schema. Instead they contain a
Schema as a member variable. This makes it possible to initialize them
with an existing schema (which is required for the factory methods).

The flow is now like this:

1: init a schema (read info from the database)
2: look at the schema to figure out if it's a lookup or not
3: initialize the right Data object with the schema

show more ...