API Documentation

Wildfire/Plugin/FirePhp/TableMessage.php

Includes Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Wildfire
subpackage
Plugin
version
$Id: TableMessage.php 20096 2010-01-06 02:05:09Z bkarwin $
Classes
Zend_Wildfire_Plugin_FirePhp_TableMessage

Description

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.

Zend_Wildfire_Plugin_FirePhp_TableMessage

Extends from
Zend_Wildfire_Plugin_FirePhp_Message
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Wildfire
subpackage
Plugin
Properties
$_header
$_rows
Methods
__construct
setHeader
addRow
getMessage
getRowAt
setRowAt
getRowCount
getLastRow

Description

A message envelope that can be updated for the duration of the requet before it gets flushed at the end of the request.

Properties

$_header

array $_header = 'null'

The header of the table containing all columns

Details

$_header
array
visibility
protected
default
null
final
false
static
false

$_rows

 $_rows = 'array'

The rows of the table $var array

Details

visibility
protected
default
array
final
false
static
false

Methods

__construct

__construct( string $label ) :

Constructor

Arguments
$label
string
The label of the table
Details
visibility
public
final
false
static
false

addRow

addRow( array $row ) : void

Append a row to the end of the table.

Arguments
$row
array
An array of column values representing a row.
Details
visibility
public
final
false
static
false

getLastRow

getLastRow( ) : array

Returns the last row of the table

Output
array
Returns the last row
Details
visibility
public
final
false
static
false
throws

getMessage

getMessage( ) : mixed

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

Output
mixed
Returns the message to be sent.
Details
visibility
public
final
false
static
false

getRowAt

getRowAt( integer $index ) : array

Returns the row at the given index

Arguments
$index
integer
The index of the row
Output
array
Returns the row
Details
visibility
public
final
false
static
false
throws

getRowCount

getRowCount( ) : integer

Returns the number of rows

Output
integer
Details
visibility
public
final
false
static
false

setHeader

setHeader( array $header ) : void

Set the table header

Arguments
$header
array
The header columns
Details
visibility
public
final
false
static
false

setRowAt

setRowAt( integer $index, array $row ) :

Sets the row on the given index to a new row

Arguments
$index
integer
The index of the row
$row
array
The new data for the row
Details
visibility
public
final
false
static
false
throws
Documentation was generated by DocBlox.