Zend Framework  1.12
Public Member Functions | Protected Attributes | List of all members
Zend_Wildfire_Plugin_FirePhp_TableMessage Class Reference

Public Member Functions

 __construct ($label)
 Constructor.
 
 setHeader ($header)
 Set the table header.
 
 addRow ($row)
 Append a row to the end of the table.
 
 getMessage ()
 Get the actual message to be sent in its final format.
 
 getRowAt ($index)
 Returns the row at the given index.
 
 setRowAt ($index, $row)
 Sets the row on the given index to a new row.
 
 getRowCount ()
 Returns the number of rows.
 
 getLastRow ()
 Returns the last row of the table.
 
- Public Member Functions inherited from Zend_Wildfire_Plugin_FirePhp_Message
 __construct ($style, $message)
 Creates a new message with the given style and message.
 
 setLabel ($label)
 Set the label of the message.
 
 getLabel ()
 Get the label of the message.
 
 setBuffered ($buffered)
 Enable or disable message buffering.
 
 getBuffered ()
 Determine if buffering is enabled or disabled.
 
 setDestroy ($destroy)
 Destroy the message to prevent delivery.
 
 getDestroy ()
 Determine if message should be destroyed.
 
 setStyle ($style)
 Set the style of the message.
 
 getStyle ()
 Get the style of the message.
 
 setMessage ($message)
 Set the actual message to be sent in its final format.
 
 getMessage ()
 Get the actual message to be sent in its final format.
 
 setOption ($key, $value)
 Set a single option.
 
 getOption ($key)
 Retrieve a single option.
 
 getOptions ()
 Retrieve all options.
 

Protected Attributes

 $_header = null
 
 $_rows = array()
 The rows of the table $var array.
 
- Protected Attributes inherited from Zend_Wildfire_Plugin_FirePhp_Message
 $_style = null
 
 $_label = null
 
 $_message = null
 
 $_buffered = false
 
 $_destroy = false
 
 $_ruid = false
 
 $_options
 

Constructor & Destructor Documentation

__construct (   $label)

Constructor.

Parameters
string$labelThe label of the table

Member Function Documentation

addRow (   $row)

Append a row to the end of the table.

Parameters
array$rowAn array of column values representing a row.
Returns
void
getLastRow ( )

Returns the last row of the table.

Returns
array Returns the last row
Exceptions
Zend_Wildfire_Exception
getMessage ( )

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

Returns
mixed Returns the message to be sent.
getRowAt (   $index)

Returns the row at the given index.

Parameters
integer$indexThe index of the row
Returns
array Returns the row
Exceptions
Zend_Wildfire_Exception
getRowCount ( )

Returns the number of rows.

Returns
integer
setHeader (   $header)

Set the table header.

Parameters
array$headerThe header columns
Returns
void
setRowAt (   $index,
  $row 
)

Sets the row on the given index to a new row.

Parameters
integer$indexThe index of the row
array$rowThe new data for the row
Exceptions
Zend_Wildfire_Exception

Member Data Documentation

$_header = null
protected
$_rows = array()
protected

The rows of the table $var array.