Class: Skeleton
Source Location: /myphp-1.9/myphp-1.9-table/html/page/Skeleton.php
Class Skeleton
Class Overview
|
The skeleton.
Generates the Skeleton html for a Page built on a Table object - Usage:
- $skeleton = new Skeleton($text,$width,$class,$border,$cellpadding,$cellspacing,$summary,$caption);
- print $skeleton->getHtml(); // See this, for usage
- Or
- Skeleton::display($text,$width,$class,$border,$cellpadding,$cellspacing,$summary,$caption);
- Or
- Skeleton::start($text,$width,$class,$border,$cellpadding,$cellspacing,$summary,$caption);
Located in /myphp-1.9/myphp-1.9-table/html/page/Skeleton.php [line 33]
Object
|
--Html
|
--Table
|
--Skeleton
|
Properties
|
Methods
|
Inherited Properties, Constants, and Methods
Method Summary
| String |
getHtml() |
Returns the html for the skeleton |
Methods
Skeleton Skeleton(
[String
$text = ''], [String
$width = ''], [String
$class = ''], [String
$border = ''], [String
$cellpadding = ''], [String
$cellspacing = ''], [String
$summary = ''], [String
$caption = '']
)
|
|
Constructor
Parameters:
|
String |
$text: |
The text header for the table |
|
String |
$width: |
The width of the table |
|
String |
$class: |
The class of the table |
|
String |
$border: |
The border of the table |
|
String |
$cellpadding: |
The CellSpacing |
|
String |
$cellspacing: |
The CellPadding |
|
String |
$summary: |
The Summary |
|
String |
$caption: |
The Caption |
void display(
[String
$text = ''], [String
$width = ''], [String
$class = ''], [String
$border = ''], [String
$cellpadding = ''], [String
$cellspacing = ''], [String
$summary = ''], [String
$caption = '']
)
|
|
Display html
- Usage:
- Skeleton::display($text,$width,$class,$border,$cellpadding,$cellspacing,$summary,$caption);
Parameters:
|
String |
$text: |
The text header for the table |
|
String |
$width: |
The width of the table |
|
String |
$class: |
The class of the table |
|
String |
$border: |
The border of the table |
|
String |
$cellpadding: |
The CellSpacing |
|
String |
$cellspacing: |
The CellPadding |
|
String |
$summary: |
The Summary |
|
String |
$caption: |
The Caption |
API Tags:
Redefinition of:
- Table::display()
- Display html
Returns the html for the skeleton
API Tags:
| Return: | the complete html |
Redefinition of:
- Table::getHtml()
- Get the complete html for a table
|
|