Class Zend_View_Helper_TableDisplay

Description

Used to display data in a table. The row colours may alternate.

Located in /application/views/helpers/TableDisplay.php (line 17)

Zend_View_Helper_Abstract
   |
   --Zend_View_Helper_TableDisplay
Method Summary
 void addToHeader ( $in_col_header)
 void addToOrderHeader ( $in_order_by,  $in_order_text)
 void addToOutput ( $in_string)
 void addToRow ( $in_cell_value)
 void constructTable ( $in_table_class,  $in_cell_class,  $in_alternate_flag)
 void displayHeader ()
 void displayRows ( $in_alternate_flag)
 void endCurrRow ()
 void sortData ( $in_client_id,  $in_result)
 mixed tabledisplay ( $in_table_array,  $in_edit_allowed,  $in_delete_allowed)
Methods
addToHeader (line 279)

Input column is added to the header

  • access: public
void addToHeader ( $in_col_header)
  • $in_col_header
addToOrderHeader (line 291)

Input column is added to the header and is a valid 'order by' column

  • access: public
void addToOrderHeader ( $in_order_by,  $in_order_text)
  • $in_order_by
  • $in_order_text
addToOutput (line 159)

Input string is added to the formatted table HTML

  • access: public
void addToOutput ( $in_string)
  • $in_string
addToRow (line 314)

Input cell is added to the current row

  • access: public
void addToRow ( $in_cell_value)
  • $in_cell_value
constructTable (line 183)

Sets up the final table ready to be displayed.

  • access: public
void constructTable ( $in_table_class,  $in_cell_class,  $in_alternate_flag)
  • $in_table_class
  • $in_cell_class
  • $in_alternate_flag
displayHeader (line 213)

Formats the column headers for the table

  • access: public
void displayHeader ()
displayRows (line 230)

Zebra stripes optional

  • access: public
void displayRows ( $in_alternate_flag)
  • $in_alternate_flag
endCurrRow (line 324)
  • access: public
void endCurrRow ()
sortData (line 170)

Sorts data according to the chosen 'order by' value.

  • access: public
void sortData ( $in_client_id,  $in_result)
  • $in_client_id
  • $in_result
tabledisplay (line 38)

Column headers and individual table rows are formatted for display

  • return: String containing all HTML for a table of data
  • access: public
mixed tabledisplay ( $in_table_array,  $in_edit_allowed,  $in_delete_allowed)
  • $in_table_array
  • $in_edit_allowed
  • $in_delete_allowed

Documentation generated on Fri, 27 Mar 2009 13:48:45 +0000 by phpDocumentor 1.4.1