\MainWP\DashboardMainWP_Plugins_Install_List_Table

Class MainWP_Plugins_Install_List_Table

Summary

Methods
Properties
Constants
ajax_user_can()
prepare_items()
no_items()
display()
get_columns()
display_rows()
$order
$orderby
$groups
No constants found
display_tablenav()
pagination()
No protected properties found
N/A
order_callback()
$error
N/A

Properties

$order

$order : string

Default direction.

Type

string

$orderby

$orderby : integer

Default order.

Type

integer

$groups

$groups : array

Groups array.

Type

array

$error

$error : mixed

Error messages.

Type

mixed

Methods

ajax_user_can()

ajax_user_can() : boolean

Method ajax_user_can()

Chck if the current user has the WP ability "install_plugins".

Returns

boolean —

True|False.

prepare_items()

prepare_items() 

Method prepair_items()

no_items()

no_items() 

Method no_items()

Check for errors.

display()

display() 

Method dislpay()

Override the parent display() so we can provide a different container.

get_columns()

get_columns() : array

Method get_columns()

Get the collumns to display.

Returns

array —

List of collumns to display.

display_rows()

display_rows() : mixed

Method display_rows()

Build Plugin Cards.

Returns

mixed —

Plugin cards.

display_tablenav()

display_tablenav(mixed  $which) : mixed

Method display_tablenav()

Displays the table Navigation.

Parameters

mixed $which

Position information.

Returns

mixed —

wp_referer_field();

pagination()

pagination(mixed  $which) : mixed

Method pagination()

Build the pagination menu.

Parameters

mixed $which

Position information.

Returns

mixed —

Pagination HTML

order_callback()

order_callback(object  $plugin_a, object  $plugin_b) : integer

Method order_callback()

Parameters

object $plugin_a

Plugin A.

object $plugin_b

Plugin B.

Returns

integer —

0|1 Default 0.