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