PHP Class WC_Admin_Webhooks_Table_List

Inheritance: extends WP_List_Table
Afficher le fichier Open project: woocommerce/woocommerce Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( ) Initialize the webhook table list.
column_cb ( WC_Post $webhook ) : string Column cb.
column_delivery_url ( object $webhook ) : string Return delivery URL column.
column_status ( object $webhook ) : string Return status column.
column_title ( object $webhook ) : string Return title column.
column_topic ( object $webhook ) : string Return topic column.
get_columns ( ) : array Get list columns.
prepare_items ( ) Prepare table list items.

Méthodes protégées

Méthode Description
extra_tablenav ( string $which ) Extra controls to be displayed between bulk actions and pagination.
get_bulk_actions ( ) : array Get bulk actions.
get_views ( ) : array Table list views.

Private Methods

Méthode Description
get_status_label ( string $status_name, stdClass $status ) : array Get the status label for webhooks.
get_webbook_object ( object $webhook ) : WC_Webhook Get Webhook object.

Method Details

__construct() public méthode

Initialize the webhook table list.
public __construct ( )

column_cb() public méthode

Column cb.
public column_cb ( WC_Post $webhook ) : string
$webhook WC_Post
Résultat string

column_delivery_url() public méthode

Return delivery URL column.
public column_delivery_url ( object $webhook ) : string
$webhook object
Résultat string

column_status() public méthode

Return status column.
public column_status ( object $webhook ) : string
$webhook object
Résultat string

column_title() public méthode

Return title column.
public column_title ( object $webhook ) : string
$webhook object
Résultat string

column_topic() public méthode

Return topic column.
public column_topic ( object $webhook ) : string
$webhook object
Résultat string

extra_tablenav() protected méthode

Extra controls to be displayed between bulk actions and pagination.
protected extra_tablenav ( string $which )
$which string

get_bulk_actions() protected méthode

Get bulk actions.
protected get_bulk_actions ( ) : array
Résultat array

get_columns() public méthode

Get list columns.
public get_columns ( ) : array
Résultat array

get_views() protected méthode

Table list views.
protected get_views ( ) : array
Résultat array

prepare_items() public méthode

Prepare table list items.
public prepare_items ( )