Searched refs:UserNote (Results 1 – 5 of 5) sorted by relevance
/web-php/tests/Unit/UserNotes/ |
H A D | SorterTest.php | 9 use phpweb\UserNotes\UserNote; alias 29 new UserNote('1', '', '', '1613487094', '', '', 0, 0), 36 $normalized = array_map(static function (UserNote $note): array { 55 new UserNote('1', '', '', '1613487094', '', '', 0, 2), 56 new UserNote('2', '', '', '1508180150', '', '', 0, 0), 57 new UserNote('3', '', '', '1508179844', '', '', 14, 3), 58 new UserNote('4', '', '', '1508179844', '', '', 14, 3), 65 $normalized = array_map(static function (UserNote $note): array { 107 …$notes[$id] = new UserNote($id, $sect, $rate, $ts, $user, base64_decode($note, true), (int) $up, (… 114 $normalized = array_map(static function (UserNote $note): array { [all …]
|
/web-php/src/UserNotes/ |
H A D | Sorter.php | 51 private function calcVotePriority(UserNote $note):float { 55 private function calcRatingPriority(UserNote $note):float { 59 private function calcRating(UserNote $note):float {
|
H A D | UserNote.php | 5 final readonly class UserNote class
|
/web-php/manual/ |
H A D | add-note.php | 148 manual_note_display(new UserNote('', '', '', time(), $user, $note));
|
/web-php/include/ |
H A D | shared-manual.inc | 27 use phpweb\UserNotes\UserNote; 32 * @param array<string, UserNote> $notes 94 * @return array<string, UserNote> 113 …$notes[$id] = new UserNote($id, $sect, $rate, $ts, $user, base64_decode($note, true), (int) $up, (… 121 function manual_note_display(UserNote $note, $voteOption = true): void
|
Completed in 8 milliseconds