1 | <?php |
||
17 | class ExportCheckins implements PersonalDataExporterInterface |
||
18 | { |
||
19 | /** |
||
20 | * @var EEM_Checkin |
||
21 | */ |
||
22 | protected $checkin_model; |
||
23 | |||
24 | /** |
||
25 | * ExportCheckins constructor. |
||
26 | * |
||
27 | * @param EEM_Checkin $checkin_model |
||
28 | */ |
||
29 | public function __construct(EEM_Checkin $checkin_model) |
||
33 | |||
34 | |||
35 | /** |
||
36 | * Returns data for export. |
||
37 | * |
||
38 | * @param string $email_address , |
||
39 | * @param int $page starts at 1, not 0 |
||
40 | * @return array { |
||
41 | * @type array $data { |
||
42 | * @type array { |
||
43 | * @type string $group_id (not translated, same for all exports) |
||
44 | * @type string $group_label (translated string) |
||
45 | * @type string|int $item_id |
||
46 | * @type array $data { |
||
47 | * @type array { |
||
48 | * @type string $name what's shown in the left-column of the export row |
||
49 | * @type string $value what's showin the right-column of the export row |
||
50 | * } |
||
51 | * } |
||
52 | * } |
||
53 | * } |
||
54 | * } |
||
55 | */ |
||
56 | public function export($email_address, $page = 1) |
||
115 | |||
116 | /** |
||
117 | * Gets the Translated name of this exporter |
||
118 | * |
||
119 | * @return string |
||
120 | */ |
||
121 | public function name() |
||
125 | } |
||
126 | // End of file ExportCheckins.php |
||
128 |