Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
A message envelope that can be updated for the duration of the requet before it gets flushed at the end of the request.

array
$_header= 'null'
The header of the table containing all columns
null
Details
__construct(
string $label
)
:
void
Constructor
Name | Type | Description |
---|---|---|
$label | string | The label of the table |

addRow(
array $row
)
:
void
Append a row to the end of the table.
Name | Type | Description |
---|---|---|
$row | array | An array of column values representing a row. |

getLastRow(
)
:
array
Returns the last row of the table
Type | Description |
---|---|
array | Returns the last row |
Exception | Description |
---|---|
\Zend_Wildfire_Exception |

getMessage(
)
:
mixed
Get the actual message to be sent in its final format.
Type | Description |
---|---|
mixed | Returns the message to be sent. |

getRowAt(
integer $index
)
:
array
Returns the row at the given index
Name | Type | Description |
---|---|---|
$index | integer | The index of the row |
Type | Description |
---|---|
array | Returns the row |
Exception | Description |
---|---|
\Zend_Wildfire_Exception |

setHeader(
array $header
)
:
void
Set the table header
Name | Type | Description |
---|---|---|
$header | array | The header columns |

setRowAt(
integer $index, array $row
)
:
void
Sets the row on the given index to a new row
Name | Type | Description |
---|---|---|
$index | integer | The index of the row |
$row | array | The new data for the row |
Exception | Description |
---|---|
\Zend_Wildfire_Exception |