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

@@ -1544,7 +1544,12 @@ class version {
return array($aItemsPerPage, $iDefaultPerPage);
}
public static function objectGetEntries($sState, $iRows = 0, $iStart = 0, $sOrderBy = "versionId")
public static function objectGetDefaultSort()
{
return 'versionId';
}
public static function objectGetEntries($sState, $iRows = 0, $iStart = 0, $sOrderBy = "versionId", $bAscending = true)
{
$sLimit = "";