Lines Matching +full:page +full:schema +(+path:plugin +path:struct) -(+path:plugin +path:struct +path:lang)
40 * Creates a schema from one of the available schema files
42 * @param string $schema
43 * @param string $json base name of the JSON file optional, defaults to $schema
46 protected function loadSchemaJSON($schema, $json = '', $rev = 0) argument
48 if (!$json) $json = $schema;
54 $importer = new SchemaImporter($schema, file_get_contents($file));
57 throw new \RuntimeException("build of $schema from $file failed");
62 * Saves struct data for given page and schema
65 * not the page and changelog entries.
67 * @param string $page
73 protected function saveData($page, $table, $data, $rev = 0, $rid = 0) argument
75 saveWikiText($page, "test for $page", "saved for testing");
76 if (AccessTable::isTypePage($page, $rev)) {
77 $access = AccessTable::getPageAccess($table, $page, $rev);
78 } elseif (AccessTable::isTypeSerial($page, $rev)) {
79 $access = AccessTable::getSerialAccess($table, $page);
85 $assignments->assignPageSchema($page, $table);