Replace objectOutputTableRow() with objectGetTableRow(). Redesign the table output mechanism so
that we fetch a table row from a class instead of letting the class display it. Move adding of edit/delete links from the classes to the objectManager. Fix a hole in the distribution class where an uninitialized variable could have been used in the constructor.
This commit is contained in:
committed by
WineHQ
parent
46f4f20ce6
commit
cd198f44d7
@@ -302,9 +302,9 @@ class application_queue
|
||||
return $this->oApp->objectGetHeader();
|
||||
}
|
||||
|
||||
function objectOutputTableRow($oObject, $sClass, $sEditLinkLabel)
|
||||
function objectGetTableRow()
|
||||
{
|
||||
return $this->oApp->objectOutputTableRow($oObject, $sClass, $sEditLinkLabel);
|
||||
return $this->oApp->objectGetTableRow();
|
||||
}
|
||||
|
||||
function objectMoveChildren($iNewId)
|
||||
@@ -321,6 +321,11 @@ class application_queue
|
||||
{
|
||||
return application::allowAnonymousSubmissions();
|
||||
}
|
||||
|
||||
function objectGetId()
|
||||
{
|
||||
return $this->oApp->objectGetId();
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user