Home
last modified time | relevance | path

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

/plugin/structtasks/_test/
H A 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']]);
135 $new_data, $old_data, 'assigned'
139 $new_data, $old_data, 'removed'
187 $new_data, 'self_removal'
286 OverdueNotifier::class, [], $new_data, $new_data, 'overdue'
319 'STATUS' => $new_data['status'],
356 $new_data,
383 'STATUS' => $new_data['status'],
[all …]
H A 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);
H A 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/
H A 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'];
H A 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'];
H A 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'];
H A 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'],
H A 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'],
H A 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'],
H A 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']),
H A 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']),
H A 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'],
H A DAssignedNotifier.php20 public function getNotifiableUsers($page, $editor_email, $new_data, $old_data) { argument
25 array_diff($new_data['assignees'], $old_data['assignees']),
H A DDeletedNotifier.php20 public function getNotifiableUsers($page, $editor_email, $new_data, $old_data) { argument
22 if (!$old_closed and $new_data['content'] == '') {
H A 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/
H A 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/
H A DHTMLPurifier.standalone.php