[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-admin/includes/ -> class-wp-plugin-install-list-table.php (summary)

List Table API: WP_Plugin_Install_List_Table class

File Size: 833 lines (25 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 1 file
 wp-admin/includes/plugin-install.php

Defines 1 class

WP_Plugin_Install_List_Table:: (15 methods):
  ajax_user_can()
  get_installed_plugins()
  get_installed_plugin_slugs()
  prepare_items()
  no_items()
  get_views()
  views()
  display()
  display_tablenav()
  get_table_classes()
  get_columns()
  order_callback()
  display_rows()
  get_dependencies_notice()
  get_more_details_link()


Class: WP_Plugin_Install_List_Table  - X-Ref

Core class used to implement displaying plugins to install in a list table.

ajax_user_can()   X-Ref

return: bool

get_installed_plugins()   X-Ref
Returns the list of known plugins.

Uses the transient data from the updates API to determine the known
installed plugins.

return: array

get_installed_plugin_slugs()   X-Ref
Returns a list of slugs of installed plugins, if known.

Uses the transient data from the updates API to determine the slugs of
known installed plugins. This might be better elsewhere, perhaps even
within get_plugins().

return: array

prepare_items()   X-Ref


no_items()   X-Ref
No description

get_views()   X-Ref

return: array

views()   X-Ref
Overrides parent views so we can use the filter bar display.


display()   X-Ref
Displays the plugin install table.

Overrides the parent display() method to provide a different container.


display_tablenav( $which )   X-Ref

param: string $which

get_table_classes()   X-Ref

return: array

get_columns()   X-Ref

return: string[] Array of column titles keyed by their column name.

order_callback( $plugin_a, $plugin_b )   X-Ref

return: int
param: object $plugin_a
param: object $plugin_b

display_rows()   X-Ref
Generates the list table rows.


get_dependencies_notice( $plugin_data )   X-Ref
Returns a notice containing a list of dependencies required by the plugin.

return: string A notice containing a list of dependencies required by the plugin,
param: array  $plugin_data An array of plugin data. See {@see plugins_api()}

get_more_details_link( $name, $slug )   X-Ref
Creates a 'More details' link for the plugin.

return: string The 'More details' link for the plugin.
param: string $name The plugin's name.
param: string $slug The plugin's slug.



Generated : Tue Nov 12 08:20:01 2024 Cross-referenced by PHPXref