PHP 클래스 WPCOM_VIP_Featured_Plugins_List_Table, vip-mu-plugins-public

상속: extends WP_List_Table
파일 보기 프로젝트 열기: Automattic/vip-mu-plugins-public 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$_column_headers Setting this variable won't run the filter at all
$filter string Filter the featured plugin list? Used to separate new layout

공개 메소드들

메소드 설명
__construct ( ) Constructor. Sets up the list table.
column_default ( array $slug, string $column_name ) : string Returns the content for a row in the list table.
display ( ) : void Output custom display for featured plugins
get_columns ( ) : array Return associative array of columns in the table
prepare_items ( ) Fetch the list of VIP featured plugins to display in the list table.

메소드 상세

__construct() 공개 메소드

Constructor. Sets up the list table.
public __construct ( )

column_default() 공개 메소드

Returns the content for a row in the list table.
public column_default ( array $slug, string $column_name ) : string
$slug array Plugin slug.
$column_name string Name of the table column.
리턴 string

display() 공개 메소드

Output custom display for featured plugins
public display ( ) : void
리턴 void

get_columns() 공개 메소드

Note - this is not used in this custom table of Featured Plugins, but exists to prevent future breakage if self::get_columns() ever ends up being called due to Core changes
public get_columns ( ) : array
리턴 array The array of table columns

prepare_items() 공개 메소드

Fetch the list of VIP featured plugins to display in the list table.
public prepare_items ( )

프로퍼티 상세

$_column_headers 공개적으로 프로퍼티

Setting this variable won't run the filter at all
public $_column_headers

$filter 공개적으로 프로퍼티

Filter the featured plugin list? Used to separate new layout
public string $filter
리턴 string