1 | <?php |
||
16 | class EraseAttendeeData implements PersonalDataEraserInterface |
||
17 | { |
||
18 | |||
19 | /** |
||
20 | * @var EEM_Attendee |
||
21 | */ |
||
22 | protected $attendee_model; |
||
23 | |||
24 | |||
25 | /** |
||
26 | * EraseAttendeeData constructor. |
||
27 | * |
||
28 | * @param EEM_Attendee $attendee_model |
||
29 | */ |
||
30 | public function __construct(EEM_Attendee $attendee_model) |
||
34 | |||
35 | |||
36 | /** |
||
37 | * Gets a translated string name for the data eraser |
||
38 | * |
||
39 | * @return string |
||
40 | */ |
||
41 | public function name() |
||
45 | |||
46 | |||
47 | /** |
||
48 | * Erases a "page" of personal user data |
||
49 | * |
||
50 | * @return array { |
||
51 | * @type boolean $items_removed whether items were removed successfully or not |
||
52 | * @type boolean $items_retained whether any items were skipped or not |
||
53 | * @type array $messages values are messages to show |
||
54 | * @type boolean $done whether this eraser is done or has more pages |
||
55 | * } |
||
56 | * @throws \EE_Error |
||
57 | */ |
||
58 | public function erase($email_address, $page = 1) |
||
86 | } |
||
87 | // End of file EraseAttendeeData.php |
||
89 |