Alexander Nicolaysen =?UTF-8?Q?S=C3=B8rnes=20?=: appData: Mark some functions as static
Alexander Nicolaysen Sørnes
asornes at winehq.org
Sun Jan 12 08:57:18 CST 2014
Module: appdb
Branch: master
Commit: 4590b08c433a6b339873538af36ed2be17145220
URL: http://source.winehq.org/git/appdb.git/?a=commit;h=4590b08c433a6b339873538af36ed2be17145220
Author: Alexander Nicolaysen Sørnes <alexsornes at 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')
More information about the wine-cvs
mailing list