Home
last modified time | relevance | path

Searched refs:old_data (Results 1 – 16 of 16) sorted by relevance

/plugin/structtasks/_test/
H A DNotifiersTest.php115 $old_data = [
124 $old_data2 = array_replace($old_data, ['duedate' => clone $old_data['duedate']]);
143 $old_data, 'date'
163 $old_data, 'deleted'
197 $old_data, 'deleted'
251 ReminderNotifier::class, [], $old_data, $old_data,
273 TodayNotifier::class, [], $old_data, $old_data, 'today'
282 OverdueNotifier::class, $old_data['assignees'], $old_data,
357 $old_data,
363 $old_data = [
[all …]
H A DUtilitiesTest.php114 list($old_data, $new_data, $valid) = $this->util->getMetadata(
118 $this->assertEquals($old_data[$key], $val);
126 list($old_data, $new_data, $valid) = $this->util->getMetadata(
130 $this->assertEquals($old_data[$key], $val);
151 …list($old_data, $new_data, $valid) = $this->util->getMetadata($page, $schema, $this->rev1, $this->…
152 $this->assertNull($old_data);
H A DActionTest.php61 $old_data = ['duedate' => '2023-03-27',
68 'duedate' => date_create($old_data['duedate']),
70 'status' => $old_data['status'],
97 $access->saveData($old_data);
/plugin/structtasks/meta/
H A DAssignedNotifier.php20 public function getNotifiableUsers($page, $editor_email, $new_data, $old_data) { argument
23 if ($old_data['content'] == '') $old_data['assignees'] = [];
25 array_diff($new_data['assignees'], $old_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 [];
H A DDeletedNotifier.php20 public function getNotifiableUsers($page, $editor_email, $new_data, $old_data) { argument
21 $old_closed = $this->isCompleted($old_data['status']);
24 $old_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 [];
24 $old_closed = $this->isCompleted($old_data['status']);
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 [];
24 $old_closed = $this->isCompleted($old_data['status']);
H A DAbstractNotifier.php63 abstract function getNotifiableUsers($page, $editor_email, $new_data, $old_data); argument
141 $old_data, $mailer = NULL) { argument
143 … $notifiable_users = $this->getNotifiableUsers($page_id, $editor_email, $new_data, $old_data);
155 'PREVSTATUS' => $old_data['status'],
157 'PREVDUEDATE' => $old_data['duedate_formatted'],
H A DRemovedNotifier.php20 public function getNotifiableUsers($page, $editor_email, $new_data, $old_data) { argument
23 array_diff($old_data['assignees'], $new_data['assignees']),
H A DSelfRemovalNotifier.php20 public function getNotifiableUsers($page, $editor_email, $new_data, $old_data) { argument
21 if (in_array($editor_email, $old_data['assignees']) and
H A DUtilities.php104 $old_data = $this->struct->getData($id, null, $old_rev);
106 if (!array_key_exists($schema, $old_data) or !array_key_exists($schema, $new_data)) {
110 $old_data[$schema]['date_format'] =
112 return [$this->formatData($old_data[$schema], $dateformat),
H A DTodayNotifier.php21 public function getNotifiableUsers($page, $editor_email, $new_data, $old_data) { argument
H A DOverdueNotifier.php21 public function getNotifiableUsers($page, $editor_email, $new_data, $old_data) { argument
H A DReminderNotifier.php42 public function getNotifiableUsers($page, $editor_email, $new_data, $old_data) { argument
/plugin/structtasks/
H A Daction.php68 list($old_data, $new_data, $valid) = $util->getMetadata(
83 $old_data['content'] = $event->data['oldContent'];
86 $notifier->sendMessage($id, $title, $editor_name, $editor_email, $new_data, $old_data);