PHP Class WPCOM_VIP_Plugins_UI_List_Table, vip-mu-plugins-public

Inheritance: extends WP_List_Table
Show file Open project: Automattic/vip-mu-plugins-public Class Usage Examples

Public Methods

Method Description
__construct ( ) Constructor. Sets up the list table.
display_rows ( ) Handles outputting the markup for each row of the list table.
get_columns ( ) Column names
get_table_classes ( ) : array Return an array of CSS classes to apply to the list table.
no_items ( ) Output an error message if no VIP plugins were found to show in the list table.
prepare_items ( ) Fetch the list of VIP plugins to display in the list table.
single_row ( string $plugin_file ) Handles outputting the markup for a single row of the list table.

Method Details

__construct() public method

Constructor. Sets up the list table.
public __construct ( )

display_rows() public method

Handles outputting the markup for each row of the list table.
public display_rows ( )

get_columns() public method

Column names
public get_columns ( )

get_table_classes() public method

Return an array of CSS classes to apply to the list table.
public get_table_classes ( ) : array
return array

no_items() public method

Output an error message if no VIP plugins were found to show in the list table.
public no_items ( )

prepare_items() public method

Fetch the list of VIP plugins to display in the list table.
public prepare_items ( )

single_row() public method

Handles outputting the markup for a single row of the list table.
public single_row ( string $plugin_file )
$plugin_file string The filename of the plugin being handled.