PHP 클래스 WPDKUITableView

You usually subclass this class in your project.
부터: 1.5.6
저자: =undo= ([email protected])
상속: extends WPDKView
파일 보기 프로젝트 열기: wpxtreme/wpdk

공개 프로퍼티들

프로퍼티 타입 설명
$scrollable_height string Height of scrollable area. Set to empty for no scroll.

보호된 프로퍼티들

프로퍼티 타입 설명
$column_atts array ..

공개 메소드들

메소드 설명
__construct ( $id ) : WPDKUITableView Create an instance of WPDKUITableView class
column ( array $item, string $column_key ) Return the content of column. You can override this method to customize your column content.
column_atts ( ) Return the array with the column attributes list.
columns ( ) Return the array with column list.
draw ( ) Display
items ( ) Return an array with content of column table.
single_row ( array $item ) Draw a single row.

보호된 메소드들

메소드 설명
get_atts ( string $column_key ) : string Return the inline attributes for the column.

메소드 상세

__construct() 공개 메소드

Create an instance of WPDKUITableView class
public __construct ( $id ) : WPDKUITableView
리턴 WPDKUITableView

column() 공개 메소드

Return the content of column. You can override this method to customize your column content.
public column ( array $item, string $column_key )
$item array The array key with content of column.
$column_key string Column key.

column_atts() 공개 메소드

Return the array with the column attributes list.
public column_atts ( )

columns() 공개 메소드

Return the array with column list.
public columns ( )

draw() 공개 메소드

Display
public draw ( )

get_atts() 보호된 메소드

Return the inline attributes for the column.
protected get_atts ( string $column_key ) : string
$column_key string The column key.
리턴 string

items() 공개 메소드

Return an array with content of column table.
public items ( )

single_row() 공개 메소드

Draw a single row.
public single_row ( array $item )
$item array List of column

프로퍼티 상세

$column_atts 보호되어 있는 프로퍼티

..
protected array $column_atts
리턴 array

$scrollable_height 공개적으로 프로퍼티

Height of scrollable area. Set to empty for no scroll.
public string $scrollable_height
리턴 string