Class: TableHeader
Source Location: /myphp-1.9/myphp-1.9-table/html/component/TableHeader.php
Class TableHeader
Class Overview
|
Generates a table header
- +-------------------------
- | > | Text header |
- +-------------------------
- | :
- Usage:
- $header = new TableHeader($text,$width,$class,$border,$cellPadding,$cellSpacing);
- print $header->getHtml();
- Or
- TableHeader::display($text,$width,$class,$border,$cellPadding,$cellSpacing);
Located in /myphp-1.9/myphp-1.9-table/html/component/TableHeader.php [line 39]
Object
|
--Html
|
--TableHeader
|
Properties
|
Methods
|
Inherited Properties, Constants, and Methods
Method Summary
| String |
getHtml() |
Builds the html for a table header, and return it |
Methods
TableHeader TableHeader(
[String
$text = ''], [String
$width = ''], [String
$class = ''], [String
$border = ''], [mixed
$cellPadding = ''], [mixed
$cellSpacing = ''], String
$cellpadding, String
$cellspacing
)
|
|
Constructor
Parameters:
|
String |
$text: |
The text header for the table |
|
String |
$width: |
The Width for the table |
|
String |
$class: |
The Class |
|
String |
$border: |
The Border |
|
String |
$cellpadding: |
The CellSpacing |
|
String |
$cellspacing: |
The CellPadding |
void display(
[String
$text = ''], [String
$width = ''], [String
$class = ''], [String
$border = ''], [mixed
$cellPadding = ''], [mixed
$cellSpacing = ''], String
$cellpadding, String
$cellspacing
)
|
|
Display html
Parameters:
|
String |
$text: |
The text header for the table |
|
String |
$width: |
The Width for the table |
|
String |
$class: |
The Class |
|
String |
$border: |
The Border |
|
String |
$cellpadding: |
The CellSpacing |
|
String |
$cellspacing: |
The CellPadding |
API Tags:
Redefinition of:
- Html::display()
- Display the html
Builds the html for a table header, and return it
API Tags:
| Return: | The table header as html |
Redefinition of:
- Html::getHtml()
- Get Html
|
|