Class: ViewDetail
Source Location: /myphp-1.9/myphp-1.9-mvc/html/view/ViewDetail.php
Class ViewDetail
Class Overview
|
Generates the html for a View Detail
- Usage:
- $view = new ViewDetail($datareader,$text,$width,$class,$border,$cellpadding,$cellspacing,$summary,$caption);
- print $view->getHtml();
- Or
- ViewDetail::display($datareader,$text,$width,$class,$border,$cellpadding,$cellspacing,$summary,$caption);
-
- Generates a complete View Detail interface
- +---------------+
- | Text header |
- +----------------
- | head1 | data1 |
- +---------------
- | head2 | data2 |
- +---------------+
Located in /myphp-1.9/myphp-1.9-mvc/html/view/ViewDetail.php [line 38]
Object
|
--Html
|
--Table
|
--ViewCommon
|
--ViewDetail
|
Methods
|
Inherited Properties, Constants, and Methods
Methods
ViewDetail ViewDetail(
DataReader
$datareader, [String
$text = ''], [String
$width = ''], [String
$class = ''], [String
$border = ''], [String
$cellpadding = ''], [String
$cellspacing = ''], [String
$summary = ''], [String
$caption = '']
)
|
|
Constructor
Parameters:
|
DataReader |
$datareader: |
The Data Reader object |
|
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 |
|
String |
$summary: |
The Summary |
|
String |
$caption: |
The Caption |
void display(
DataReader
$datareader, [String
$text = ''], [String
$width = ''], [String
$class = ''], [String
$border = ''], [String
$cellpadding = ''], [String
$cellspacing = ''], [String
$summary = ''], [String
$caption = '']
)
|
|
Display html
- Usage:
- ViewDetail::display($datareader,$text,$width,$class,$border,$cellpadding,$cellspacing,$summary,$caption);
Parameters:
|
DataReader |
$datareader: |
The Data Reader object |
|
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:
- ViewCommon::display()
- Display html
|
|