[ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Source view] [Print] [Project Stats]
List Table API: WP_Media_List_Table class
File Size: | 895 lines (26 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
WP_Media_List_Table:: (24 methods):
__construct()
ajax_user_can()
prepare_items()
get_views()
get_bulk_actions()
extra_tablenav()
current_action()
has_items()
no_items()
views()
get_columns()
get_sortable_columns()
column_cb()
column_title()
column_author()
column_desc()
column_date()
column_parent()
column_comments()
column_default()
display_rows()
get_default_primary_column_name()
_get_row_actions()
handle_row_actions()
Class: WP_Media_List_Table - X-Ref
Core class used to implement displaying media items in a list table.__construct( $args = array() X-Ref |
Constructor. param: array $args An associative array of arguments. |
ajax_user_can() X-Ref |
return: bool |
prepare_items() X-Ref |
get_views() X-Ref |
return: array |
get_bulk_actions() X-Ref |
return: array |
extra_tablenav( $which ) X-Ref |
param: string $which |
current_action() X-Ref |
return: string |
has_items() X-Ref |
return: bool |
no_items() X-Ref |
No description |
views() X-Ref |
Overrides parent views to use the filter bar display. |
get_columns() X-Ref |
return: string[] Array of column titles keyed by their column name. |
get_sortable_columns() X-Ref |
return: array |
column_cb( $item ) X-Ref |
Handles the checkbox column output. param: WP_Post $item The current WP_Post object. |
column_title( $post ) X-Ref |
Handles the title column output. param: WP_Post $post The current WP_Post object. |
column_author( $post ) X-Ref |
Handles the author column output. param: WP_Post $post The current WP_Post object. |
column_desc( $post ) X-Ref |
Handles the description column output. param: WP_Post $post The current WP_Post object. |
column_date( $post ) X-Ref |
Handles the date column output. param: WP_Post $post The current WP_Post object. |
column_parent( $post ) X-Ref |
Handles the parent column output. param: WP_Post $post The current WP_Post object. |
column_comments( $post ) X-Ref |
Handles the comments column output. param: WP_Post $post The current WP_Post object. |
column_default( $item, $column_name ) X-Ref |
Handles output for the default column. param: WP_Post $item The current WP_Post object. param: string $column_name Current column name. |
display_rows() X-Ref |
Generates the list table rows. |
get_default_primary_column_name() X-Ref |
Gets the name of the default primary column. return: string Name of the default primary column, in this case, 'title'. |
_get_row_actions( $post, $att_title ) X-Ref |
param: WP_Post $post param: string $att_title return: array |
handle_row_actions( $item, $column_name, $primary ) X-Ref |
Generates and displays row action links. param: WP_Post $item Attachment being acted upon. param: string $column_name Current column name. param: string $primary Primary column name. return: string Row actions output for media attachments, or an empty string |
Generated : Tue Dec 24 08:20:01 2024 | Cross-referenced by PHPXref |