class-wms7-list-table.phpView Source

Show: PublicProtectedPrivateinherited
Table of Contents
Description: Base class for displaying a list of items in an ajaxified HTML table.
Author
Oleg Klenitskiy  
Category
Wms7_List_Table  
Copyright
2018 Oleg Klenitskiy  
License
GPLv2 or later  
Package
WatchMan-Site7  
Version
3.0.0  

\Wms7_List_Table

Package: WatchMan-Site7
Description: Creates a site visit custom table.
Parent(s)
\WP_List_Table
Author
Oleg Klenitskiy  
Category
Class  
Copyright
2018 Oleg Klenitskiy  
License
GPLv2 or later  
Version
3.0.0  

Properties

>VPropertyprivatearray $wms7_data
Creates a site visit custom table.
Details
Type
array

Methods

methodpublic__construct() : void

Constructor.

methodpubliccolumn_black_list(array $item) : string

Custom function: WP_List_Table.

Parameters
NameTypeDescription
$itemarray

item.

Returns
TypeDescription
stringsprintf().
methodpubliccolumn_cb(array $item) : string

Custom function: WP_List_Table.

Parameters
NameTypeDescription
$itemarray

item.

Returns
TypeDescription
stringsprintf().
methodpubliccolumn_default(array $item, array $column_name) : \string.

Standart function: WP_List_Table.

Parameters
NameTypeDescription
$itemarray

item.

$column_namearray

column_name.

Returns
TypeDescription
\string.
methodpubliccolumn_user_ip(array $item) : string

Custom function: WP_List_Table.

Parameters
NameTypeDescription
$itemarray

item.

Returns
TypeDescription
stringsprintf().
methodpubliccolumn_user_login(array $item) : string

Custom function: WP_List_Table.

Parameters
NameTypeDescription
$itemarray

item.

Returns
TypeDescription
stringsprintf() or item.
methodpublicextra_tablenav(string $which) : void

Standart function: WP_List_Table.

Parameters
NameTypeDescription
$whichstring

top or bottom.

methodpublicget_bulk_actions() : array

Standart function: WP_List_Table.

Returns
TypeDescription
arrayactions.
methodpublicget_columns() : array

Standart function: WP_List_Table.

Returns
TypeDescription
arraycolumns.
methodpublicget_sortable_columns() : array

Standart function: WP_List_Table.

Returns
TypeDescription
arraysortable_columns.
methodpublicprepare_items() : void

Standart function: WP_List_Table.

methodprivateprocess_bulk_action() : void

Standart function: WP_List_Table.

methodprivatewms7_get(string $name) : \string.

Custom function: WP_List_Table.

Parameters
NameTypeDescription
$namestring

Get name variable.

Returns
TypeDescription
\string.
methodprivatewms7_get_current_url() : \string.

Custom function: WP_List_Table.

Returns
TypeDescription
\string.
methodpublicwms7_ip_compromising(string $user_ip) : \boolean.

Custom function: WP_List_Table.

Parameters
NameTypeDescription
$user_ipstring

User ip.

Returns
TypeDescription
\boolean.
methodpublicwms7_login_compromising(string $uid) : \boolean.

Custom function: WP_List_Table.

Parameters
NameTypeDescription
$uidstring

User id.

Returns
TypeDescription
\boolean.
methodprivatewms7_set(string $name, string $value) : void

Custom function: WP_List_Table.

Parameters
NameTypeDescription
$namestring

Set name variable.

$valuestring

Set value variable.

Documentation was generated by phpDocumentor 2.8.5.