MarkupAdminDataTable::headerRow() method

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

$self = $table->headerRow(array $a);

Arguments

NameType(s)Description
$aarray

Array of header row labels

Return value

self


$table methods and properties

API reference based on ProcessWire core version 3.0.255