Make objectGetTableRow() return a TableRow class instance. Added accessors to set the
appropriate parameters in the TableRow class. Removed some unused parameters from the TableRow class.
This commit is contained in:
@@ -231,7 +231,10 @@ class Vendor {
|
||||
|
||||
$bDeleteLink = sizeof($this->aApplicationsIds) ? FALSE : TRUE;
|
||||
|
||||
return array($aCells, null, $bDeleteLink, null);
|
||||
$oTableRow = new TableRow($aCells);
|
||||
$oTableRow->SetRowHasDeleteLink($bDeleteLink);
|
||||
|
||||
return $oTableRow;
|
||||
}
|
||||
|
||||
function canEdit()
|
||||
|
||||
Reference in New Issue
Block a user