PHP 클래스 WC_Admin_Webhooks_Table_List

상속: extends WP_List_Table
파일 보기 프로젝트 열기: woocommerce/woocommerce 1 사용 예제들

공개 메소드들

메소드 설명
__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.

보호된 메소드들

메소드 설명
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.

비공개 메소드들

메소드 설명
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.

메소드 상세

__construct() 공개 메소드

Initialize the webhook table list.
public __construct ( )

column_cb() 공개 메소드

Column cb.
public column_cb ( WC_Post $webhook ) : string
$webhook WC_Post
리턴 string

column_delivery_url() 공개 메소드

Return delivery URL column.
public column_delivery_url ( object $webhook ) : string
$webhook object
리턴 string

column_status() 공개 메소드

Return status column.
public column_status ( object $webhook ) : string
$webhook object
리턴 string

column_title() 공개 메소드

Return title column.
public column_title ( object $webhook ) : string
$webhook object
리턴 string

column_topic() 공개 메소드

Return topic column.
public column_topic ( object $webhook ) : string
$webhook object
리턴 string

extra_tablenav() 보호된 메소드

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

get_bulk_actions() 보호된 메소드

Get bulk actions.
protected get_bulk_actions ( ) : array
리턴 array

get_columns() 공개 메소드

Get list columns.
public get_columns ( ) : array
리턴 array

get_views() 보호된 메소드

Table list views.
protected get_views ( ) : array
리턴 array

prepare_items() 공개 메소드

Prepare table list items.
public prepare_items ( )