MarkupAdminDataTable::row() method
Add a row to the table (see arguments for details)
Example
// Populate 3 columns: first name, last name, email
$table->row([ 'Ryan', 'Cramer', 'ryan@processwire.com' ]); Usage
// basic usage
$self = $table->row(array $a);
// usage with all arguments
$self = $table->row(array $a, array $options = []);Arguments
| Name | Type(s) | Description |
|---|---|---|
$a | array | Array of columns that will each be a
|
$options (optional) | array | Optionally specify any one of the following:
|
Return value
self
API reference based on ProcessWire core version 3.0.255