Lines Matching refs:data

20  * 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 as new input data. this caused #140
86 $event->data = 'edit';
102 if ($event->data['contentChanged']) return false; // will be saved for page changes
107 if (trim($event->data['newContent']) === '') {
108 // this happens when a new page is tried to be created with only struct data
111 $event->data['contentChanged'] = true; // save for data changes
114 if (empty($event->data['summary'])) {
115 $event->data['summary'] = $this->getLang('summary');
124 * Save the data
126 * When this is called, INPUT data has been validated already.
139 if ($event->data['changeType'] == DOKU_CHANGE_TYPE_DELETE && empty($GLOBALS['PLUGIN_MOVE_WORKING'])) {
140 // clear all data on delete unless it's a move operation
141 $tables = $assignments->getPageAssignments($event->data['id']);
143 $schemaData = AccessTable::getPageAccess($table, $event->data['id']);
149 // save the provided data
152 $validation->saveData($event->data['newRevision']);
156 $event->data['id'],