objectGetHeader() should return a TableRow instance as this is closer to what the information

represents and is a much more useful form.
This commit is contained in:
Chris Morgan
2007-07-31 01:51:40 +00:00
committed by WineHQ
parent 9231bac634
commit 0e3472e1bf
10 changed files with 74 additions and 57 deletions

View File

@@ -991,15 +991,15 @@ class testData{
function objectGetHeader()
{
$aCells = array(
"Submission Date",
"Submitter",
"Application",
"Version",
"Release",
"Has maintainer",
"Rating");
return $aCells;
$oTableRow = new TableRow();
$oTableRow->AddTextCell("Submission Date");
$oTableRow->AddTextCell("Submitter");
$oTableRow->AddTextCell("Application");
$oTableRow->AddTextCell("Version");
$oTableRow->AddTextCell("Release");
$oTableRow->AddTextCell("Has maintainer");
$oTableRow->AddTextCell("Rating");
return $oTableRow;
}
function objectGetTableRow()