Home
last modified time | relevance | path

Searched +full:lookup +full:new +full:entry +(+path:plugin +path:struct) -(+path:plugin +path:struct +path:lang) (Results 1 – 4 of 4) sorted by relevance

/plugin/struct/ !
H A Dhelper.php72 * 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…
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
[all …]
/plugin/struct/action/ !
H A Daggregationeditor.php76 if (substr($event->data, $len) == 'new') {
102 throw new StructException('No schema given');
112 throw new StructException('lookup delete error: no permission for schema');
118 * Save one new row
124 $data = $INPUT->arr('entry');
128 // create a new row based on the original aggregation config
140 $editorTable = new AggregationEditorTable(
143 new Doku_Renderer_xhtml(),
144 new SearchConfig($config)
151 * Create the Editor for a new row
[all …]
H A Dinline.php102 echo $value->getValueEditor('entry', $id);
125 throw new StructException('inline save error: init');
133 throw new StructException('inline save error: schema not assigned to page');
137 throw new StructException('inline save error: no permission for schema');
141 $value = $INPUT->param('entry');
142 $validator = new ValueValidator();
144 throw new StructException(implode("\n", $validator->getErrors()));
161 throw new StructException('saving failed');
176 // so we don't check if it's a lookup here
183 $R = new Doku_Renderer_xhtml();
[all …]
/plugin/struct/_test/ !
H A DAggregationResultsTest.php33 // different values for each entry
176 $configParser = new ConfigParser($syntaxConfig);
180 $search = new MockSearchConfigAlias($config);
186 * Initialize a lookup table from syntax and return the result from its internal search.
196 $configParser = new ConfigParser($syntaxConfig);
209 $search = new MockSearchConfigAlias($config);
217 $pageMeta = new PageMeta('title1');
221 $pageMeta = new PageMeta('title2');
225 $pageMeta = new PageMeta('title3');