Automattic\WooCommerce\Internal\Admin\Logging\FileV2
SearchListTable::__construct
SearchListTable class.
Method of the class: SearchListTable{}
No Hooks.
Returns
null. Nothing (null).
Usage
$SearchListTable = new SearchListTable(); $SearchListTable->__construct( $file_controller, $page_controller );
- $file_controller(FileController) (required)
- Instance of FileController.
- $page_controller(PageController) (required)
- Instance of PageController.
SearchListTable::__construct() SearchListTable:: construct code WC 10.8.1
public function __construct( FileController $file_controller, PageController $page_controller ) {
$this->file_controller = $file_controller;
$this->page_controller = $page_controller;
parent::__construct(
array(
'singular' => 'wc-logs-search-result',
'plural' => 'wc-logs-search-results',
'ajax' => false,
)
);
}