PHP Класс Pressbooks\Admin\Network_Managers_List_Table

См. также: http://codex.wordpress.org/Class_Reference/WP_List_Table
Наследование: extends WP_List_Table
Показать файл Открыть проект

Открытые методы

Метод Описание
__construct ( ) ************************************************************************ Constructor.
column_display_name ( array $item ) : string ************************************************************************ Custom column method for the display_name column.
column_user_email ( array $item ) : string ************************************************************************ Custom column method for the user_email column.
column_user_login ( array $item ) : string ************************************************************************ Custom column method for the user_login column.
get_columns ( ) : array ************************************************************************ Define the table's columns and titles.
get_sortable_columns ( ) : array ************************************************************************ Define which columns are sortable.
prepare_items ( ) ************************************************************************ Prepare data for display
single_row ( object $item ) : string Set up classes for a single row based on active status

Описание методов

__construct() публичный Метод

*************************************************************************
public __construct ( )

column_display_name() публичный Метод

************************************************************************ Custom column method for the display_name column.
public column_display_name ( array $item ) : string
$item array A singular item (one full row's worth of data)
Результат string Text to be placed inside the column ************************************************************************

column_user_email() публичный Метод

************************************************************************ Custom column method for the user_email column.
public column_user_email ( array $item ) : string
$item array A singular item (one full row's worth of data)
Результат string Text to be placed inside the column ************************************************************************

column_user_login() публичный Метод

************************************************************************ Custom column method for the user_login column.
public column_user_login ( array $item ) : string
$item array A singular item (one full row's worth of data)
Результат string HTML to be placed inside the column ************************************************************************

get_columns() публичный Метод

************************************************************************ Define the table's columns and titles.
public get_columns ( ) : array
Результат array An associative array containing column information: 'slugs'=>'Visible Titles' ************************************************************************

get_sortable_columns() публичный Метод

************************************************************************ Define which columns are sortable.
public get_sortable_columns ( ) : array
Результат array An associative array containing all the columns that should be sortable: 'slugs'=>array('data_values',bool) ************************************************************************

prepare_items() публичный Метод

************************************************************************ Prepare data for display
public prepare_items ( )

single_row() публичный Метод

Set up classes for a single row based on active status
public single_row ( object $item ) : string
$item object The current item
Результат string A row of cells