Home
last modified time | relevance | path

Searched refs:new_data (Results 1 – 17 of 17) sorted by relevance

/plugin/structtasks/_test/
DNotifiersTest.php52 private $new_data; variable in dokuwiki\\plugin\\structtasks\\test\\notifiers_plugin_structtasks_test
107 $new_data = [
123 $new_data2 = array_replace($new_data, ['duedate' => clone $new_data['duedate']]);
125 $all_but_editor = array_slice($new_data['assignees'], 0, -1);
134 AssignedNotifier::class, [$new_data['assignees'][0]],
135 $new_data, $old_data, 'assigned'
139 $new_data, $old_data, 'removed'
142 DateNotifier::class, $all_but_editor, $new_data,
147 array_replace($new_data, ['status' => 'Ongoing']),
152 ClosedStatusNotifier::class, $all_but_editor, $new_data,
[all …]
DUtilitiesTest.php114 list($old_data, $new_data, $valid) = $this->util->getMetadata(
121 $this->assertEquals($new_data[$key], $val);
126 list($old_data, $new_data, $valid) = $this->util->getMetadata(
133 $this->assertEquals($new_data[$key], $val);
151 …list($old_data, $new_data, $valid) = $this->util->getMetadata($page, $schema, $this->rev1, $this->…
153 $this->assertNull($new_data);
DActionTest.php64 $new_data = ['duedate' => '2023-04-10',
75 'duedate' => date_create($new_data['duedate']),
78 'status' => $new_data['status'],
105 $access->saveData($new_data);
/plugin/structtasks/meta/
DOverdueNotifier.php21 public function getNotifiableUsers($page, $editor_email, $new_data, $old_data) { argument
22 if (is_null($new_data['duedate'])) return [];
23 if ($this->isCompleted($new_data['status'])) return [];
24 $time_remaining = $this->timeFromLastMidnight($new_data['duedate']);
27 return $new_data['assignees'];
DTodayNotifier.php21 public function getNotifiableUsers($page, $editor_email, $new_data, $old_data) { argument
22 if (is_null($new_data['duedate'])) return [];
23 if ($this->isCompleted($new_data['status'])) return [];
24 $time_remaining = $this->timeFromLastMidnight($new_data['duedate']);
27 return $new_data['assignees'];
DReminderNotifier.php42 public function getNotifiableUsers($page, $editor_email, $new_data, $old_data) { argument
43 if (is_null($new_data['duedate'])) return [];
44 if ($this->isCompleted($new_data['status'])) return [];
47 $time_remaining = $this->timeFromLastMidnight($new_data['duedate']);
50 return $new_data['assignees'];
DDateNotifier.php20 public function getNotifiableUsers($page, $editor_email, $new_data, $old_data) { argument
22 if ($old_data['content'] === '' and $new_data['content'] !== '') return [];
23 if ($new_data['duedate'] == $old_data['duedate']) return [];
25 $new_data['assignees'],
DClosedStatusNotifier.php20 public function getNotifiableUsers($page, $editor_email, $new_data, $old_data) { argument
22 if ($old_data['content'] === '' and $new_data['content'] !== '') return [];
23 $new_closed = $this->isCompleted($new_data['status']);
27 $new_data['assignees'],
DOpenStatusNotifier.php20 public function getNotifiableUsers($page, $editor_email, $new_data, $old_data) { argument
22 if ($old_data['content'] === '' and $new_data['content'] !== '') return [];
23 $new_closed = $this->isCompleted($new_data['status']);
27 $new_data['assignees'],
DAbstractNotifier.php63 abstract function getNotifiableUsers($page, $editor_email, $new_data, $old_data); argument
140 public function sendMessage($page_id, $page_title, $editor, $editor_email, $new_data, argument
143 … $notifiable_users = $this->getNotifiableUsers($page_id, $editor_email, $new_data, $old_data);
154 'STATUS' => $new_data['status'],
156 'DUEDATE' => $new_data['duedate_formatted'],
159 'DUEIN' => $this->dueIn($new_data['duedate']),
DRemovedNotifier.php20 public function getNotifiableUsers($page, $editor_email, $new_data, $old_data) { argument
21 if ($new_data['content'] === '') return [];
23 array_diff($old_data['assignees'], $new_data['assignees']),
DSelfRemovalNotifier.php20 public function getNotifiableUsers($page, $editor_email, $new_data, $old_data) { argument
22 !in_array($editor_email, $new_data['assignees'])) {
24 $new_data['assignees'],
DAssignedNotifier.php20 public function getNotifiableUsers($page, $editor_email, $new_data, $old_data) { argument
25 array_diff($new_data['assignees'], $old_data['assignees']),
DDeletedNotifier.php20 public function getNotifiableUsers($page, $editor_email, $new_data, $old_data) { argument
22 if (!$old_closed and $new_data['content'] == '') {
DUtilities.php105 $new_data = $this->struct->getData($id, null, $new_rev);
106 if (!array_key_exists($schema, $old_data) or !array_key_exists($schema, $new_data)) {
111 $new_data[$schema]['date_format'] = $this->dateFormat($schema);
113 $this->formatData($new_data[$schema], $dateformat),
/plugin/structtasks/
Daction.php68 list($old_data, $new_data, $valid) = $util->getMetadata(
82 $new_data['content'] = $event->data['newContent'];
86 $notifier->sendMessage($id, $title, $editor_name, $editor_email, $new_data, $old_data);
/plugin/scrape/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Lexer/
DDOMLex.php200 $new_data = trim($data);
201 if (substr($new_data, 0, 4) === '<!--') {
202 $data = substr($new_data, 4);