| /plugin/structtasks/_test/ |
| 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']]); 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 …]
|
| 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);
|
| 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/ |
| 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'];
|
| 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'];
|
| 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'];
|
| 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'],
|
| 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'],
|
| 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'],
|
| 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']),
|
| 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']),
|
| 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'],
|
| D | AssignedNotifier.php | 20 public function getNotifiableUsers($page, $editor_email, $new_data, $old_data) { argument 25 array_diff($new_data['assignees'], $old_data['assignees']),
|
| D | DeletedNotifier.php | 20 public function getNotifiableUsers($page, $editor_email, $new_data, $old_data) { argument 22 if (!$old_closed and $new_data['content'] == '') {
|
| 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/ |
| 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/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Lexer/ |
| D | DOMLex.php | 200 $new_data = trim($data); 201 if (substr($new_data, 0, 4) === '<!--') { 202 $data = substr($new_data, 4);
|