1 | <?php |
||
16 | abstract class TicketSelectorRow |
||
17 | { |
||
18 | |||
19 | /** |
||
20 | * @var \EE_Ticket $ticket |
||
21 | */ |
||
22 | protected $ticket; |
||
23 | |||
24 | /** |
||
25 | * @var int $max_atndz |
||
26 | */ |
||
27 | protected $max_atndz; |
||
28 | |||
29 | /** |
||
30 | * @var string $date_format |
||
31 | */ |
||
32 | protected $date_format; |
||
33 | |||
34 | /** |
||
35 | * @var int $EVT_ID |
||
36 | */ |
||
37 | protected $EVT_ID; |
||
38 | |||
39 | /** |
||
40 | * @var string $ticket_status_display |
||
41 | */ |
||
42 | protected $ticket_status_display; |
||
43 | |||
44 | |||
45 | |||
46 | /** |
||
47 | * TicketDetails constructor. |
||
48 | * |
||
49 | * @param \EE_Ticket $ticket |
||
50 | * @param int $max_atndz |
||
51 | * @param string $date_format |
||
52 | */ |
||
53 | public function __construct( |
||
63 | |||
64 | |||
65 | |||
66 | /** |
||
67 | * @return string |
||
68 | */ |
||
69 | public function getTicketStatusDisplay() |
||
73 | |||
74 | |||
75 | |||
76 | /** |
||
77 | * setTicketStatusDisplay |
||
78 | * |
||
79 | * @param string $tkt_status |
||
80 | * @param string $ticket_status |
||
81 | * @param int $remaining |
||
82 | * @throws \EE_Error |
||
83 | */ |
||
84 | protected function setTicketStatusDisplay($tkt_status, $ticket_status, $remaining) { |
||
104 | |||
105 | |||
106 | |||
107 | /** |
||
108 | * registrationClosed |
||
109 | */ |
||
110 | protected function registrationClosed() |
||
120 | |||
121 | |||
122 | |||
123 | /** |
||
124 | * ticketsSoldOut |
||
125 | */ |
||
126 | protected function ticketsSoldOut() |
||
136 | |||
137 | |||
138 | |||
139 | /** |
||
140 | * ticketsSalesPending |
||
141 | * |
||
142 | * @throws \EE_Error |
||
143 | */ |
||
144 | protected function ticketsSalesPending() |
||
168 | |||
169 | |||
170 | |||
171 | /** |
||
172 | * notEnoughTicketsAvailable |
||
173 | */ |
||
174 | protected function notEnoughTicketsAvailable() |
||
188 | |||
189 | |||
190 | |||
191 | /** |
||
192 | * getHiddenInputs |
||
193 | * |
||
194 | * @param string $anchor_id |
||
195 | * @param int $row |
||
196 | * @param int $max_atndz |
||
197 | * @return string |
||
198 | */ |
||
199 | protected function getHiddenInputs($anchor_id, $row, $max_atndz) |
||
209 | |||
210 | |||
211 | |||
212 | } |
||
213 | // End of file TicketSelectorRow.php |
||
214 | // Location: EventEspresso\modules\ticket_selector/TicketSelectorRow.php |