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

@@ -1202,7 +1202,12 @@ class testData{
return $oRow->count;
}
function objectGetEntries($sState, $iRows = 0, $iStart = 0, $sOrderBy = "testingId")
public static function objectGetDefaultSort()
{
return 'testingId';
}
function objectGetEntries($sState, $iRows = 0, $iStart = 0, $sOrderBy = "testingId", $bAscending = true)
{
$oTest = new testData();