| @@ 279-299 (lines=21) @@ | ||
| 276 | ||
| 277 | ||
| 278 | ||
| 279 | 	public function _set_list_table_views_ticket_list_table() { | |
| 280 | $this->_views = array( | |
| 281 | 'all' => array( | |
| 282 | 'slug' => 'all', | |
| 283 | 				'label' => __('All', 'event_espresso'), | |
| 284 | 'count' => 0, | |
| 285 | 'bulk_action' => array( | |
| 286 | 					'trash_tickets' => __('Move to Trash', 'event_espresso') | |
| 287 | ) | |
| 288 | ), | |
| 289 | 'trashed' => array( | |
| 290 | 'slug' => 'trashed', | |
| 291 | 				'label' => __('Trash', 'event_espresso'), | |
| 292 | 'count' => 0, | |
| 293 | 'bulk_action' => array( | |
| 294 | 					'restore_tickets' => __('Restore from Trash' , 'event_espresso'), | |
| 295 | 					'delete_tickets' => __('Delete Permanently', 'event_espresso') | |
| 296 | ) | |
| 297 | ) | |
| 298 | ); | |
| 299 | } | |
| 300 | ||
| 301 | ||
| 302 | ||
| @@ 131-151 (lines=21) @@ | ||
| 128 | 	public function admin_notices() {} | |
| 129 | ||
| 130 | ||
| 131 | 	public function _set_list_table_views_default() { | |
| 132 | $this->_views = array( | |
| 133 | 'all' => array( | |
| 134 | 'slug' => 'all', | |
| 135 | 				'label' => __('All', 'event_espresso'), | |
| 136 | 'count' => 0, | |
| 137 | 'bulk_action' => array( | |
| 138 | 					'trash_tickets' => __('Move to Trash', 'event_espresso') | |
| 139 | ) | |
| 140 | ), | |
| 141 | 'trashed' => array( | |
| 142 | 'slug' => 'trashed', | |
| 143 | 				'label' => __('Trash', 'event_espresso'), | |
| 144 | 'count' => 0, | |
| 145 | 'bulk_action' => array( | |
| 146 | 					'restore_tickets' => __('Restore from Trash' , 'event_espresso'), | |
| 147 | 					'delete_tickets' => __('Delete Permanently', 'event_espresso') | |
| 148 | ) | |
| 149 | ) | |
| 150 | ); | |
| 151 | } | |
| 152 | ||
| 153 | ||
| 154 | ||