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:
@@ -237,12 +237,17 @@ class Vendor {
|
||||
|
||||
function objectGetHeader()
|
||||
{
|
||||
$aCells = array(
|
||||
"Name",
|
||||
"Website",
|
||||
array("Linked apps", "align=\"right\""));
|
||||
$oTableRow = new TableRow();
|
||||
|
||||
$oTableRow->AddTextCell("Name");
|
||||
|
||||
return $aCells;
|
||||
$oTableRow->AddTextCell("Website");
|
||||
|
||||
$oTableCell = new TableCell("Linked apps");
|
||||
$oTableCell->SetAlign("right");
|
||||
$oTableRow->AddCell($oTableCell);
|
||||
|
||||
return $oTableRow;
|
||||
}
|
||||
|
||||
// returns an OMTableRow instance
|
||||
|
||||
Reference in New Issue
Block a user