Stud.IP  3.2 Revision
cssClassSwitcher Class Reference
Collaboration diagram for cssClassSwitcher:
Collaboration graph

Public Member Functions

 cssClassSwitcher ($class="", $headerClass="", $hovercolor="", $nohovercolor="")
 
 enableHover ($hovercolor="", $nohovercolor="")
 
 disableHover ()
 
 getHover ()
 
 getFullClass ()
 
 getClass ()
 
 getHeaderClass ()
 
 resetClass ()
 
 switchClass ()
 
 GetHoverJSFunction ()
 

Data Fields

 $class = array("table_row_odd", "table_row_even")
 
 $headerClass = "table_header"
 
 $classcnt = 0
 
 $hovercolor = array("#B7C2E2","#CED8F2")
 
 $nohovercolor = array("#E2E2E2","#F2F2F2")
 
 $JSenabled = FALSE
 
 $hoverenabled = FALSE
 

Member Function Documentation

◆ cssClassSwitcher()

cssClassSwitcher (   $class = "",
  $headerClass = "",
  $hovercolor = "",
  $nohovercolor = "" 
)

cssClassSwitcher constructor

class for handling zebra-tables

public

Parameters
string
string
string
string

◆ disableHover()

disableHover ( )

◆ enableHover()

enableHover (   $hovercolor = "",
  $nohovercolor = "" 
)

◆ getClass()

getClass ( )

◆ getFullClass()

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

◆ getHeaderClass()

getHeaderClass ( )

◆ getHover()

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

◆ GetHoverJSFunction()

GetHoverJSFunction ( )

◆ resetClass()

resetClass ( )

◆ switchClass()

switchClass ( )

Field Documentation

◆ $class

$class = array("table_row_odd", "table_row_even")

◆ $classcnt

$classcnt = 0

◆ $headerClass

$headerClass = "table_header"

◆ $hovercolor

$hovercolor = array("#B7C2E2","#CED8F2")

◆ $hoverenabled

$hoverenabled = FALSE

◆ $JSenabled

$JSenabled = FALSE

◆ $nohovercolor

$nohovercolor = array("#E2E2E2","#F2F2F2")

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