Menu

## TableRow
in package

HtmlTable.php : 187

HTML table row class

##### Tags

see
  https://www.kotchasan.com/

### Table of Contents

$properties : array<string|int, mixed>
$tds : array<string|int, mixed>
__construct() : mixed
  Constructor.
addCell() : mixed
  Add a cell to the row.
create() : TableRow
  Create a new TableRow object.
render() : string
  Render the row to HTML.

### Properties

#### $properties

HtmlTable.php : 192
`private array<string|int, mixed> $properties`

The properties of the row

#### $tds

HtmlTable.php : 197
`private array<string|int, mixed> $tds`

The cells of the row

### Methods

#### __construct()

HtmlTable.php : 204

Constructor.

`public __construct([array<string|int, mixed> $properties = [] ]) : mixed`

##### Parameters

$properties : array<string|int, mixed> = []

  The properties of the row

##### Return values

mixed —

#### addCell()

HtmlTable.php : 215

Add a cell to the row.

`public addCell(array<string|int, mixed> $td) : mixed`

##### Parameters

$td : array<string|int, mixed>

  The data for the cell

##### Return values

mixed —

#### create()

HtmlTable.php : 227

Create a new TableRow object.

`public static create([array<string|int, mixed> $properties = [] ]) : TableRow`

##### Parameters

$properties : array<string|int, mixed> = []

  The properties of the row

##### Return values

TableRow —

The created TableRow object

#### render()

HtmlTable.php : 238

Render the row to HTML.

`public render() : string`

##### Return values

string —

The HTML representation of the row

## Search results