1 | <?php |
||
16 | class TicketDetails |
||
17 | { |
||
18 | |||
19 | |||
20 | /** |
||
21 | * @var \EE_Ticket $ticket |
||
22 | */ |
||
23 | protected $ticket; |
||
24 | |||
25 | /** |
||
26 | * @var \EE_Ticket_Selector_Config $template_settings |
||
27 | */ |
||
28 | protected $template_settings; |
||
29 | |||
30 | /** |
||
31 | * @var string $date_format |
||
32 | */ |
||
33 | protected $date_format; |
||
34 | |||
35 | /** |
||
36 | * @var string $time_format |
||
37 | */ |
||
38 | protected $time_format; |
||
39 | |||
40 | /** |
||
41 | * @var boolean $event_is_expired |
||
42 | */ |
||
43 | protected $event_is_expired; |
||
44 | |||
45 | |||
46 | |||
47 | /** |
||
48 | * TicketDetails constructor. |
||
49 | * |
||
50 | * @param \EE_Ticket $ticket |
||
51 | * @param \EE_Ticket_Selector_Config $template_settings |
||
52 | * @param array $template_args |
||
53 | */ |
||
54 | public function __construct( |
||
66 | |||
67 | |||
68 | |||
69 | /** |
||
70 | * @return \EE_Ticket |
||
71 | */ |
||
72 | public function getTicket() |
||
76 | |||
77 | |||
78 | |||
79 | /** |
||
80 | * @return bool |
||
81 | */ |
||
82 | public function showTicketDetails() |
||
86 | |||
87 | |||
88 | |||
89 | /** |
||
90 | * @return \EE_Ticket_Selector_Config |
||
91 | */ |
||
92 | public function getTemplateSettings() |
||
96 | |||
97 | |||
98 | |||
99 | /** |
||
100 | * @return string |
||
101 | */ |
||
102 | public function getDateFormat() |
||
106 | |||
107 | |||
108 | |||
109 | /** |
||
110 | * @return string |
||
111 | */ |
||
112 | public function getTimeFormat() |
||
116 | |||
117 | |||
118 | |||
119 | /** |
||
120 | * @return string |
||
121 | */ |
||
122 | public function getShowHideLinks() |
||
155 | |||
156 | |||
157 | |||
158 | /** |
||
159 | * @return string |
||
160 | */ |
||
161 | public function cssId() |
||
168 | |||
169 | |||
170 | |||
171 | /** |
||
172 | * @param float $ticket_price |
||
173 | * @param int $remaining |
||
174 | * @param int $cols |
||
175 | * @return string |
||
176 | */ |
||
177 | public function display( |
||
212 | |||
213 | } |
||
214 | // End of file TicketDetails.php |
||
215 | // Location: EventEspresso\modules\ticket_selector/TicketDetails.php |