1 | <?php |
||
19 | class ExportAttendeeBillingData implements PersonalDataExporterInterface |
||
20 | { |
||
21 | /** |
||
22 | * @var EEM_Attendee |
||
23 | */ |
||
24 | protected $attendee_model; |
||
25 | |||
26 | /** |
||
27 | * @var EEM_Payment_Method |
||
28 | */ |
||
29 | protected $payment_method_model; |
||
30 | |||
31 | /** |
||
32 | * ExportAttendeeBillingData constructor. |
||
33 | * |
||
34 | * @param EEM_Attendee $attendee_model |
||
35 | */ |
||
36 | public function __construct(EEM_Attendee $attendee_model, EEM_Payment_Method $payment_method_model) |
||
41 | |||
42 | /** |
||
43 | * Returns data for export. |
||
44 | * |
||
45 | * @param string $email_address , |
||
46 | * @param int $page starts at 1, not 0 |
||
47 | * @return array { |
||
48 | * @type array $data { |
||
49 | * @type array { |
||
50 | * @type string $group_id (not translated, same for all exports) |
||
51 | * @type string $group_label (translated string) |
||
52 | * @type string|int $item_id |
||
53 | * @type array $data { |
||
54 | * @type array { |
||
55 | * @type string $name what's shown in the left-column of the export row |
||
56 | * @type string $value what's showin the right-column of the export row |
||
57 | * } |
||
58 | * } |
||
59 | * } |
||
60 | * } |
||
61 | * } |
||
62 | */ |
||
63 | public function export($email_address, $page = 1) |
||
122 | |||
123 | /** |
||
124 | * Gets the Translated name of this exporter |
||
125 | * |
||
126 | * @return string |
||
127 | */ |
||
128 | public function name() |
||
132 | } |
||
133 | // End of file ExportAttendeeBillingData.php |
||
135 |