|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Table
Constructor Summary | |
Table()
Initializes the class variables. |
Method Summary | |
unknown |
AddPassTru(var $content)
Adds 1 to the row_count count, keeping track of the total number of rows in the table. |
unknown |
AddRow()
Adds 1 to the row_count count, keeping track of the total number of rows in the table. |
unknown |
CompileTable()
Compile table to HTML. |
unknown |
GetCurrentCols()
Returns the current total number of columns in your table |
unknown |
GetCurrentRow()
Returns the current row you are working with. |
unknown |
GetTable()
Returns the compiled table as string. |
unknown |
PrintTable()
Prints out the compiled table. |
unknown |
printTableArray()
Allows you to quickly see what is located and where it's located in your table array. |
unknown |
Set2RowColors(var $odd_colors,
var $even_colors,
var $start,
var $end)
Set alternating colors. |
unknown |
SetCellAttribute(var $row,
var $col,
var $attribute,
var $value)
Allows you to easily set any one attribute of the cell if need be. |
unknown |
SetCellAttributes(var $row,
var $col,
var $array)
Allows you to set multiple attributes for a cell in one method call. |
unknown |
SetCellBGColor(var $row,
var $col,
var $bgcolor)
Set the cells BBGCOLOR setting Allows you to easily set the bgcolor of the cell. |
unknown |
SetCellClass(var $row,
var $col,
var $class)
Allows you to easily set the style of the cell using CSS. |
unknown |
SetCellColSpan(var $row,
var $col,
var $colspan)
Allows you to easily set the colspan attribute of the cell if need be. |
unknown |
SetCellContent(var $row,
var $col,
var $content)
Set the cell's content. |
unknown |
SetCellRowSpan(var $row,
var $col,
var $rowspan)
Allows you to easily set the rowspan attribute of the cell if need be. |
unknown |
SetCellStyle(var $row,
var $col,
var $style)
Allows you to easily set the style of the cell using CSS. |
unknown |
SetColContent(var $col,
var $content)
|
unknown |
SetDefaultBGColor(var $bgcolor)
Sets the default bgcolor for all cells. |
unknown |
SetDefaultCellAttribute(var $attribute,
var $value)
Sets the default attribute for all cells. |
unknown |
SetDefaultCellAttributes(var $array)
Set td default attributes Same setup as SetCellAttributes, however, without the row or col parameters (however, the array still works the same way) 'type' is what you are setting default attributes for. |
unknown |
SetDefaultCellContent(var $content)
Sets the default content for all cells. |
unknown |
SetDefaultClassForAllCells(var $class)
Sets the default class for all cells. |
unknown |
SetDefaultStyle(var $style)
Sets the default style for all cells. |
unknown |
SetDefaultTableAttribute(var $array)
Set table default attributes Same setup as SetCellAttributes, however, without the row or col parameters (however, the array still works the same way) 'type' is what you are setting default attributes for. |
unknown |
SetFancyColStyle(var $col,
var $attributes)
Set attributes to particular column. |
unknown |
SetFancyRowStyle(var $row,
var $attributes)
Set attributes to particular rows. |
unknown |
SetRowContent(var $row,
var $content)
|
unknown |
SetTableAttribute(var $key,
var $value)
Set table attribute Sets the table attributes in the same manner as the SetCellAttributes array. |
unknown |
SetTableAttributes(var $array)
Set table attributes Sets the table attributes in the same manner as the SetCellAttributes array. |
unknown |
SetTableClass(var $tableClass)
Set the Cascading Style Sheet for the table. |
unknown |
SetTRMouseOverColor(var $overcolor,
var $outcolor,
var $startingRow)
Set the TR mouseover color. |
Constructor Detail |
public Table()
Method Detail |
public unknown AddRow()
public unknown AddPassTru(var $content)
public unknown GetCurrentRow()
public unknown GetCurrentCols()
public unknown SetCellContent(var $row, var $col, var $content)
int
- $rowint
- $colstring
- $contentpublic unknown SetRowContent(var $row, var $content)
public unknown SetColContent(var $col, var $content)
public unknown SetDefaultCellContent(var $content)
string
- $contentpublic unknown SetCellBGColor(var $row, var $col, var $bgcolor)
int
- $rowint
- $colstring
- $bgcolorpublic unknown SetDefaultBGColor(var $bgcolor)
string
- $bgcolorpublic unknown SetCellStyle(var $row, var $col, var $style)
int
- $rowint
- $colstring
- $stylepublic unknown SetCellClass(var $row, var $col, var $class)
int
- $rowint
- $colstring
- $classpublic unknown SetDefaultStyle(var $style)
string
- $stylepublic unknown SetDefaultClassForAllCells(var $class)
string
- $classpublic unknown SetCellColSpan(var $row, var $col, var $colspan)
int
- $rowint
- $colint
- $colspanpublic unknown SetCellRowSpan(var $row, var $col, var $rowspan)
int
- $rowint
- $colint
- $rowspanpublic unknown SetCellAttribute(var $row, var $col, var $attribute, var $value)
int
- $rowint
- $colstring
- $attributestring
- $valuepublic unknown SetDefaultCellAttribute(var $attribute, var $value)
string
- $attributestring
- $valuepublic unknown SetCellAttributes(var $row, var $col, var $array)
int
- $rowint
- $colarray
- $arraypublic unknown SetDefaultCellAttributes(var $array)
array
- $arraypublic unknown SetDefaultTableAttribute(var $array)
array
- $arraypublic unknown SetTableAttributes(var $array)
array
- $arraypublic unknown SetTableAttribute(var $key, var $value)
array
- $arraypublic unknown SetFancyRowStyle(var $row, var $attributes)
int
- or array $rowarray
- $attributespublic unknown SetFancyColStyle(var $col, var $attributes)
int
- || array $rowarray
- $attributespublic unknown Set2RowColors(var $odd_colors, var $even_colors, var $start, var $end)
string
- $odd_colors The odd numbered rows bgcolor valuestring
- $even_colors The even numbered rows bgcolor valueint
- $start What row to start outputting the alternating colors on. Defaults to 1 (the first row).int
- $end What row to stop outputting the alternating colors on. Defaults to the GetCurrentRow() value$start
- Default Value: 1$end
- Default Value: falsepublic unknown SetTableClass(var $tableClass)
public unknown SetTRMouseOverColor(var $overcolor, var $outcolor, var $startingRow)
public unknown CompileTable()
public unknown PrintTable()
public unknown GetTable()
public unknown printTableArray()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |