Home
last modified time | relevance | path

Searched refs:data (Results 101 – 125 of 5080) sorted by last modified time

12345678910>>...204

/plugin/struct/script/
H A DAggregationEditor.js9 const schema = $table.parents('.structaggregation').data('schema');
12 const searchconf = JSON.parse($table.parents('.structaggregation').attr('data-searchconf'));
28 const rid = $me.data('rid');
29 const pid = $me.data('pid');
40 if (rid === '') return; // skip button addition for page data
41 // disable button for serial data if so configured
79 * @param {string} data The HTML for the form
81 function addForm(data) { argument
84 const searchconf = JSON.parse($agg.attr('data-searchconf'));
91 $form.html(data);
119 AnonymousFunction7a0df8af0600(data) global() argument
147 AnonymousFunction7a0df8af0800(data) global() argument
[all...]
H A DEntryEditor.js71 var name = jQuery(this.element[0]).closest('div.field').find('label').first().data('column');
135 if (DokuCookie.getValue($fset.data('schema'))) {
145 DokuCookie.setValue($fset.data('schema'), 1);
147 DokuCookie.setValue($fset.data('schema'), '');
H A DInlineEditor.js12 var pid = $self.parent().data('pid');
13 var rid = $self.parent().data('rid');
14 var rev = $self.parent().data('rev');
15 var field = $self.parents('table').find('tr th').eq($self.index()).data('field');
44 function (data) { argument
45 if (!data) return; // we're done
47 $form.prepend(data);
66 * Save the data, then close the form
74 .done(function (data) { argument
75 // save succeeded, display new value, update revision data an
83 AnonymousFunction5ff204660500(data) global() argument
[all...]
H A Dfunctions.js6 * @param {object} data Additional data to pass
8 function struct_ajax(column, fn, data) { argument
9 if (!data) data = {};
11 data['call'] = 'plugin_struct';
12 data['column'] = column;
13 data['id'] = JSINFO.id;
14 data['ns'] = JSINFO.namespace;
16 jQuery.post(DOKU_BASE + 'lib/exe/ajax.php', data, f
[all...]
/plugin/struct/syntax/
H A Dcloud.php84 * @param array $data The data from the handler() function
87 public function render($mode, Doku_Renderer $renderer, $data)
90 if (!$data) return false;
91 if (!empty($data['filter'])) {
96 $search = new SearchCloud($data);
86 render($mode, Doku_Renderer $renderer, $data) global() argument
H A Dlist.php104 render($mode, Doku_Renderer $renderer, $data) global() argument
H A Doutput.php24 * Regexp to check on which actions the struct data may be rendered
81 * Render schema data
87 * @param array $data The data from the handler() function
90 public function render($format, Doku_Renderer $renderer, $data)
144 // if no data has been output, remove empty wrapper again
153 * Default schema data rendering (simple table view)
155 * @param array The render context including renderer and data
164 $data = $schemadata->getData();
165 if (!count($data))
88 render($format, Doku_Renderer $renderer, $data) global() argument
[all...]
H A Dvalue.php87 * @param array $data The data from the handler() function
90 public function render($mode, Doku_Renderer $renderer, $data) argument
92 if (!$data) {
103 $search = new SearchConfig($data);
/plugin/struct/types/
H A DPage.php30 * Output the stored data
33 * @param \Doku_Renderer $R the renderer currently used to render the data
81 $data = ft_pageLookup($lookup, true, $this->config['usetitles']);
82 if ($data === []) return [];
89 foreach ($data as $id => $title) {
/plugin/struct/
H A DREADME3 Add and query additional structured page data
/plugin/struct/action/
H A Dajax.php36 if ($event->data != 'plugin_struct') return;
H A Dbureaucracy.php22 * This registers to the template action of the bureaucracy plugin and saves all struct data
55 $args = $event->data['args'];
77 $event->data['fields'][] = $field;
92 foreach ($event->data['fields'] as $field) {
115 // lookups can reference pages or global data, so check both pid and rid
132 $event->data['values'][$field->column->getFullQualifiedLabel()] = $new_value[0] ?? '';
139 * Save the struct data
150 foreach ($event->data['fields'] as $field) {
164 // save all the struct data of assigned schemas
165 $id = $event->data['i
[all...]
H A Dcache.php39 * For pages potentially containing schema data, refresh the cache when schema data has been
50 $cache = $event->data;
75 $cache = $event->data;
130 $cache = $event->data;
H A Dconfig.php39 if ($event->data != 'plugin_struct_config') return;
H A Ddiff.php31 * Add structured data to the diff
45 $id = $event->data[2];
46 if (!blank($event->data[1])) {
47 $id = $event->data[1] . ':' . $id;
49 $rev = $event->data[3] ?: time();
56 $event->result .= "\n---- struct data ----\n";
H A Dedit.php26 * @var string The form name we use to transfer schema data
55 $form = $event->data;
63 * Enhance the editing form with structural data editing
77 $form = $event->data;
131 $html = '<fieldset data-schema="' . $schemaid . '">';
136 // posted data trumps stored data
137 $data = $postdata[$label];
138 if (is_array($data)) {
139 $data
[all...]
H A Dentry.php20 * Handles the entry process of struct data with type "page"
25 * @var string The form name we use to transfer schema data
32 /** @var bool has the data been validated correctly? */
35 /** @var AccessDataValidator[] these schemas are validated and have changed data and need to be saved */
46 // validate data on preview and save;
48 // ensure a page revision is created when struct data changes:
50 // save struct data after page has been saved:
55 * Clean up and validate the input data
65 $act = act_clean($event->data);
81 // FIXME we used to set the cleaned data a
[all...]
H A Dinline.php57 if (substr($event->data, 0, $len) != 'plugin_struct_inline_') return;
61 if (substr($event->data, $len) == 'editor') {
65 if (substr($event->data, $len) == 'save') {
75 if (substr($event->data, $len) == 'cancel') {
88 // only check page permissions for data with pid, skip for global data
99 echo '<label data-column="' . hsc($this->column->getFullQualifiedLabel()) . '" for="' . $id . '">';
117 * Save the data posted by the inline editor
147 // current data
185 $data
[all...]
H A Dmigration.php37 if ($event->data['adapter']->getDbname() !== 'struct') {
40 $to = $event->data['to'];
44 $event->result = call_user_func([$this, "migration$to"], $event->data['adapter']);
95 // Step 1: move original data to temporary tables and create new ones with modified schemas
100 // move original data to temp_*
119 // Step 2: transfer data back from original tables (temp_*)
143 // all lookup data has empty pids at this point
230 * Fixes lookup data not correctly migrated by #16
231 * All lookups were presumed to reference lookup data, not pages, so the migrated value
405 // check if anything needs to be fixed in data column
[all...]
H A Dmove.php51 $old = $event->data['src_id'];
52 $new = $event->data['dst_id'];
92 * Update the pid column of ALL data tables
183 * Lookups contain a page id when the referenced schema is a data schema
H A Doutput.php18 * This action component handles the automatic output of all schema data that has been assigned
57 // display struct data at the bottom?
59 $ins = count($event->data->calls);
61 foreach ($event->data->calls as $num => $call) {
78 $event->data->calls,
94 * If the page has a schema assigned, add its struct data
102 if (!$event->data['id'] || !page_exists($event->data['id'])) return;
109 $data = $helper->getData($event->data['i
[all...]
H A Drevert.php19 * Handles reverting to old data via revert action
31 // ensure a page revision is created when struct data changes:
33 // save struct data after page has been saved:
47 if ($event->data['contentChanged']) return false; // will be saved for page changes already
54 $tosave = $assignments->getPageAssignments($event->data['id']);
56 $event->data['contentChanged'] = true; // save for data changes
63 * Save the data, by loading it from the old revision and storing it as a new revision
78 // we load the data to restore from DB:
79 $tosave = $assignments->getPageAssignments($event->data['i
[all...]
H A Dsearch.php17 * Inject struct data into indexed pages and search result snippets
34 * Adds the structured data to the page body to be indexed
43 $id = $event->data['page'];
50 $event->data['body'] .= $schemadata->getDataPseudoSyntax();
55 * Adds the structured data to the page body to be snippeted
64 $id = $event->data['id'];
71 $event->data['text'] .= $schemadata->getDataPseudoSyntax();
/plugin/struct/lang/cs/
H A Dclear_intro.txt1 **VAROVÁNÍ:** Tímto se vymažou **všechna** data, která byla pro toto schéma uložena! Akce je nevratná
H A Ddelete_intro.txt1 **VAROVÁNÍ:** Smazání schématu odstraní definici schématu a **všechna** data, která byla pro toto schéma uložena. Akce je nevratná

12345678910>>...204