PluginProbe
404 Solution / 4.3.0
404 Solution v4.3.0
4.3.5 4.3.4 4.3.3 4.3.2 4.3.1 4.3.0 4.2.0 4.1.19 4.1.18 4.1.17 4.1.16 4.1.15 4.1.13 4.1.12 4.1.11 4.1.10 4.1.9 4.1.8 4.1.7 4.1.6 4.1.5 4.1.4 4.1.3 trunk 2.30.0 All 109 releases
404-solution / includes / logs / LogPrivacyInterface.php

LogPrivacyInterface.php in 404 Solution 4.3.0, at includes/logs/LogPrivacyInterface.php

36 lines 828 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 if (!defined('ABSPATH')) {
4 exit;
5 }
6
7 /**
8 * GDPR / privacy operations over logsv2 rows keyed by lookup value (the
9 * hashed user fingerprint): paged ID and row reads for export, plus
10 * bulk anonymization.
11 */
12 interface ABJ_404_Solution_LogPrivacyInterface {
13
14 /**
15 * @param string $lkupValue
16 * @param int $page
17 * @param int $perPage
18 * @return int[]
19 */
20 public function getLogsv2IdsForLookupValue($lkupValue, $page = 1, $perPage = 100);
21
22 /**
23 * @param string $lkupValue
24 * @param int $page
25 * @param int $perPage
26 * @return array<int, array<string, mixed>>
27 */
28 public function getLogsv2RowsForLookupValue($lkupValue, $page = 1, $perPage = 50);
29
30 /**
31 * @param int[] $ids
32 * @return bool
33 */
34 public function anonymizeLogsv2RowsByIds($ids);
35 }
36