/plugin/structtasks/_test/ |
H A D | NotifiersTest.php | 52 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 D | UtilitiesTest.php | 114 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 D | ActionTest.php | 64 $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 D | TodayNotifier.php | 21 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 D | OverdueNotifier.php | 21 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 D | ReminderNotifier.php | 42 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 D | DateNotifier.php | 20 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 D | ClosedStatusNotifier.php | 20 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 D | OpenStatusNotifier.php | 20 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 D | AbstractNotifier.php | 63 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 D | RemovedNotifier.php | 20 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 D | SelfRemovalNotifier.php | 20 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 D | AssignedNotifier.php | 20 public function getNotifiableUsers($page, $editor_email, $new_data, $old_data) { argument 25 array_diff($new_data['assignees'], $old_data['assignees']),
|
H A D | DeletedNotifier.php | 20 public function getNotifiableUsers($page, $editor_email, $new_data, $old_data) { argument 22 if (!$old_closed and $new_data['content'] == '') {
|
H A D | Utilities.php | 105 $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 D | action.php | 68 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 D | HTMLPurifier.standalone.php |
|