Module: appdb Branch: master Commit: 4590b08c433a6b339873538af36ed2be17145220 URL: http://source.winehq.org/git/appdb.git/?a=commit;h=4590b08c433a6b339873538af...
Author: Alexander Nicolaysen Sørnes alexsornes@gmail.com Date: Sun Jan 12 15:18:08 2014 +0100
appData: Mark some functions as static
---
include/appData.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/include/appData.php b/include/appData.php index caaa827..87f751d 100644 --- a/include/appData.php +++ b/include/appData.php @@ -204,7 +204,7 @@ class appData }
/* Get appData for a given version/application, optionally filter by type */ - function getData($iId, $sType, $bIsVersion = TRUE, $bQueued = FALSE, $bRejected = FALSE) + public static function getData($iId, $sType, $bIsVersion = TRUE, $bQueued = FALSE, $bRejected = FALSE) { $iAppId = 0; $iVersionId = 0; @@ -226,7 +226,7 @@ class appData return $hResult; }
- function objectGetEntriesCount($sState, $sType = null, $oFilters = null) + public static function objectGetEntriesCount($sState, $sType = null, $oFilters = null) { /* Not implemented for appData */ if($sState == 'rejected') @@ -366,7 +366,7 @@ class appData return $iCount; }
- function objectGetHeader($sType) + public static function objectGetHeader($sType) { $oTableRow = new TableRow(); $oTableRow->AddTextCell("Submission date"); @@ -377,7 +377,7 @@ class appData return $oTableRow; }
- function objectGetEntries($sState, $iRows = 0, $iStart = 0, $sOrderBy = '', $bAscending = true, $sType = null, $oFilters = null) + public static function objectGetEntries($sState, $iRows = 0, $iStart = 0, $sOrderBy = '', $bAscending = true, $sType = null, $oFilters = null) { /* Not implemented for appData */ if($sState == 'rejected')