Wildfire/Plugin/FirePhp/TableMessage.php

Show: PublicProtectedPrivateinherited
Table of Contents
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.
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Wildfire  
Subpackage
Plugin  
Version
$Id$  

\Zend_Wildfire_Plugin_FirePhp_TableMessage

Package: Zend_Wildfire\Plugin
A message envelope that can be updated for the duration of the requet before it gets flushed at the end of the request.
Parent(s)
\Zend_Wildfire_Plugin_FirePhp_Message
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Properties

>VPropertyprotectedarray $_header = null
The header of the table containing all columns
Default valuenullDetails
Type
array
>VPropertyprotected$_rows = array()
The rows of the table $var array
Default valuearray()Details
Type
n/a

Methods

methodpublic__construct(string $label) : void

Constructor

Parameters
NameTypeDescription
$labelstring

The label of the table

methodpublicaddRow(array $row) : void

Append a row to the end of the table.

Parameters
NameTypeDescription
$rowarray

An array of column values representing a row.

methodpublicgetLastRow() : array

Returns the last row of the table

Returns
TypeDescription
arrayReturns the last row
Throws
ExceptionDescription
\Zend_Wildfire_Exception
methodpublicgetMessage() : mixed

Get the actual message to be sent in its final format.

Returns
TypeDescription
mixedReturns the message to be sent.
methodpublicgetRowAt(integer $index) : array

Returns the row at the given index

Parameters
NameTypeDescription
$indexinteger

The index of the row

Returns
TypeDescription
arrayReturns the row
Throws
ExceptionDescription
\Zend_Wildfire_Exception
methodpublicgetRowCount() : integer

Returns the number of rows

Returns
TypeDescription
integer
methodpublicsetHeader(array $header) : void

Set the table header

Parameters
NameTypeDescription
$headerarray

The header columns

methodpublicsetRowAt(integer $index, array $row) : void

Sets the row on the given index to a new row

Parameters
NameTypeDescription
$indexinteger

The index of the row

$rowarray

The new data for the row

Throws
ExceptionDescription
\Zend_Wildfire_Exception
Documentation was generated by phpDocumentor 2.2.0 .