MarkupAdminDataTable::headerRow()

Set the header row for the table

Given $a array may be either array of labels (strings) or any of the array items may be an array, in which case index 0 is the label and index 1 is a class attribute to use for the th element.

Usage

$markupAdminDataTable->headerRow(array $a);

Arguments

NameType(s)Description
$aarray

Array of header row labels

Return value

$this

Object instance it was called from (method supports fluent interface).


MarkupAdminDataTable methods and properties

API reference based on ProcessWire core version 3.0.251