PHP Класс WPDKUITableView

You usually subclass this class in your project.
С версии: 1.5.6
Автор: =undo= ([email protected])
Наследование: extends WPDKView
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
$scrollable_height string Height of scrollable area. Set to empty for no scroll.

Защищенные свойства (Protected)

Свойство Тип Описание
$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