Automattic\WooCommerce\Internal\Admin\Logging

PageController::render_filev2()privateWC 1.0

Render the views for the FileV2 log handler.

Method of the class: PageController{}

No Hooks.

Return

null. Nothing (null).

Usage

// private - for code of main (parent) class only
$result = $this->render_filev2(): void;

PageController::render_filev2() code WC 9.3.3

private function render_filev2(): void {
	$params = $this->get_query_params( array( 'view' ) );

	switch ( $params['view'] ) {
		case 'list_files':
		default:
			$this->render_list_files_view();
			break;
		case 'search_results':
			$this->render_search_results_view();
			break;
		case 'single_file':
			$this->render_single_file_view();
			break;
	}
}