Standardize objectGetEntries parameters

This commit is contained in:
Alexander Nicolaysen Sørnes
2008-04-12 21:50:02 +02:00
committed by Chris Morgan
parent 5afa1598df
commit ed64f049d7
16 changed files with 63 additions and 44 deletions

View File

@@ -235,10 +235,15 @@ class version_queue
return $this->oVersion->objectGetEntriesCount($sState);
}
function objectGetEntries($sState, $iRows = 0, $iStart = 0, $sOrderBy = "versionId")
public static function objectGetDefaultSort()
{
return version::objectGetDefaultSort();
}
function objectGetEntries($sState, $iRows = 0, $iStart = 0, $sOrderBy = "versionId", $bAscending = true)
{
return $this->oVersion->objectGetEntries($sState, $iRows, $iStart,
$sOrderBy);
$sOrderBy, $bAscending);
}
function objectGetHeader()