Lines Matching +full:lookup +full:new +full:entry +(+path:plugin +path:struct) -(+path:plugin +path:struct +path:lang)
72 * Saves data for a given page (creates a new revision)
81 * this duplicates a bit of code from entry.php - we could also fake post data and let
82 * entry handle it, but that would be rather unclean and might be problematic when multiple
100 if (!page_exists($page)) throw new StructException("Page does not exist. You can not attach struct data");
105 throw new StructException("Validation failed:\n%s", implode("\n", $errors));
121 * Save lookup data row
129 throw new StructException('lookup save error: no permission for schema');
133 throw new StructException("Validation failed:\n%s", implode("\n", $validator->getErrors()));
136 throw new StructException('No data saved');
141 * Creates a new page revision with the same page content as before
146 * @return int the new revision
151 // force a new page revision @see action_plugin_struct_entry::handle_pagesave_before()
177 $result[$table] = new Schema($table);
209 if ($value[0] !== '[') throw new StructException('Lookup expects JSON');