Class: ViewXmlReader
Source Location: /myphp-1.9/myphp-1.9-mvc/html/view/ViewXmlReader.php
Class ViewXmlReader
Class Overview
|
Generates the html for a View XML Reader
- Usage:
- $view = new ViewXmlReader($datareader,$text,$width,$class,$border,$cellpadding,$cellspacing,$summary,$caption);
- print $view->getHtml();
- Or
- ViewXmlReader::display($datareader,$text,$width,$class,$border,$cellpadding,$cellspacing,$summary,$caption);
-
- Generates a complete View XML Reader interface
- head1, head2, etc.
- data1, data2, etc.
Located in /myphp-1.9/myphp-1.9-mvc/html/view/ViewXmlReader.php [line 33]
Object
|
--Html
|
--Table
|
--ViewCommon
|
--ViewXmlReader
|
Methods
|
Inherited Properties, Constants, and Methods
Method Summary
| String |
getXml() |
Return the XML |
Methods
ViewXmlReader ViewXmlReader(
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:
- ViewXmlReader::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
String getXml(
String
$key, [String
$value = ''], [mixed
$tab = '']
)
|
|
Return the XML
Parameters:
|
String |
$key: |
The xml tag |
|
String |
$value: |
The xml value |
API Tags:
|
|