Stud.IP  2.5 Revision
ZebraTable Class Reference
Inheritance diagram for ZebraTable:
Inheritance graph
Collaboration diagram for ZebraTable:
Collaboration graph

Public Member Functions

 ZebraTable ($styles="", $switcherClass="", $headerClass="", $hovercolor="", $nohovercolor="")
 
 enableHover ($hovercolor="", $nohovercolor="")
 
 disableHover ()
 
 getHover ()
 
 getFullClass ()
 
 getClass ()
 
 getHeaderClass ()
 
 resetClass ()
 
 switchClass ()
 
 GetHoverJSFunction ()
 
 openHeaderRow ($styles="")
 
 headerRow ($cells, $styles="")
 
 openRow ($styles="", $do_switch=1)
 
 row ($cells, $styles="", $do_switch=1)
 
 closeRow ($styles="")
 
 blankRow ($do_switch=1)
 
- Public Member Functions inherited from Table
 Table ($styles="")
 
 setTableClass ($class)
 
 setTableStyle ($style)
 
 setTableID ($id)
 
 setTableWidth ($width)
 
 setTableBorder ($border)
 
 setTableCellpadding ($padding)
 
 setTableCellspacing ($spacing)
 
 setTableAlign ($align)
 
 setTableBgcolor ($bgcolor)
 
 open ($styles="")
 
 close ()
 
 setRowBgcolor ($bgcolor)
 
 setRowAlign ($align)
 
 setRowVAlign ($valign)
 
 setRowClass ($class)
 
 setRowStyle ($style)
 
 setRowID ($id)
 
 openRow ($styles="")
 
 closeRow ()
 
 setCellBgcolor ($bgcolor)
 
 setCellAlign ($align)
 
 setCellVAlign ($valign)
 
 setCellHeight ($height)
 
 setCellWidth ($width)
 
 setCellColspan ($colspan)
 
 setCellClass ($class)
 
 setCellStyle ($style)
 
 setCellID ($id)
 
 setCellNowrap ($nowrap)
 
 openHeaderCell ($styles="")
 
 openCell ($styles="", $tag="td")
 
 closeCell ()
 
 cell ($content, $styles="")
 
 headerCell ($content, $styles="")
 
 blankCell ($styles="")
 
 row ($cells, $styles="")
 
 blankRow ($styles="")
 
 start ($ary, $class="")
 
 start_result ($db, $class="")
 
 show ($ary, $class="")
 
 show_result ($db, $class="")
 
 show_page ($ary, $start, $num, $class="")
 
 show_result_page ($db, $start, $num, $class="")
 
 show_table_heading_row ($ary, $class="")
 
 show_table_heading_row_result ($db, $class="")
 
 table_heading_row ($data, $class="")
 
 show_table_rows ($ary, $class="")
 
 show_table_rows_result ($db, $class="")
 
 show_table_page_rows ($ary, $start, $num, $class="")
 
 show_table_page_rows_result ($db, $start, $num, $class="")
 
 table_row ($row, $row_key, $data, $class="")
 
 set_checkbox_heading ($class="")
 
 set_checkbox ($row, $row_key, $data, $class="")
 
 show_table_heading_cells ($data, $class="")
 
 show_table_cells ($row, $row_key, $data, $class="")
 
 table_cell ($row, $col, $key, $val, $class="")
 
 table_cell_open ($class="")
 
 table_cell_close ($class="")
 
 table_heading_cell ($col, $val, $class="")
 
 table_heading_cell_open ($class="")
 
 table_heading_cell_close ($class="")
 
 table_checkbox_cell ($row, $row_key, $data, $class="")
 
 verify_array ($ary)
 
 verify_2d_array ($ary)
 
 verify_db ($db)
 
 print_array ($ary)
 
 select_colnames ($data)
 
 table_open ($class="")
 
 table_close ($class="")
 
 table_row_open ($row, $data, $class="")
 
 table_row_close ($row, $class="")
 
 table_heading_row_add_extra ($data, $class="")
 
 table_row_add_extra ($row, $row_key, $data, $class="")
 

Additional Inherited Members

- Data Fields inherited from Table
 $classname = "Table"
 
 $check
 
 $filter = "/[A-Za-z][A-Za-z0-9_]*/"
 
 $fields
 
 $heading
 
 $add_extra
 
 $map_cols
 

Member Function Documentation

◆ blankRow()

blankRow (   $do_switch = 1)
Here is the call graph for this function:

◆ closeRow()

closeRow (   $styles = "")
Here is the call graph for this function:

◆ disableHover()

disableHover ( )

◆ enableHover()

enableHover (   $hovercolor = "",
  $nohovercolor = "" 
)
Here is the call graph for this function:

◆ getClass()

getClass ( )

◆ getFullClass()

getFullClass ( )

◆ getHeaderClass()

getHeaderClass ( )

◆ getHover()

getHover ( )
Here is the caller graph for this function:

◆ GetHoverJSFunction()

GetHoverJSFunction ( )
Here is the caller graph for this function:

◆ headerRow()

headerRow (   $cells,
  $styles = "" 
)
Here is the call graph for this function:

◆ openHeaderRow()

openHeaderRow (   $styles = "")
Here is the call graph for this function:
Here is the caller graph for this function:

◆ openRow()

openRow (   $styles = "",
  $do_switch = 1 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ resetClass()

resetClass ( )

◆ row()

row (   $cells,
  $styles = "",
  $do_switch = 1 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ switchClass()

switchClass ( )
Here is the caller graph for this function:

◆ ZebraTable()

ZebraTable (   $styles = "",
  $switcherClass = "",
  $headerClass = "",
  $hovercolor = "",
  $nohovercolor = "" 
)

Constructor for a HTML table.

Parameters
arrayList of attribute/value pairs for html styles.
Here is the call graph for this function:

The documentation for this class was generated from the following file: