projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #23698 from seamuslee001/fix_price_set_entity_since
[civicrm-core.git]
/
CRM
/
Utils
/
Weight.php
diff --git
a/CRM/Utils/Weight.php
b/CRM/Utils/Weight.php
index ec0176c614638e9aebc62023467e0f092e3b25d7..843115bff3c698d2389839200408333e1bd9dd2a 100644
(file)
--- a/
CRM/Utils/Weight.php
+++ b/
CRM/Utils/Weight.php
@@
-271,11
+271,12
@@
class CRM_Utils_Weight {
* Field => value to be used in the WHERE.
* @param string $queryData
* Data to be used, dependent on the query type.
* Field => value to be used in the WHERE.
* @param string $queryData
* Data to be used, dependent on the query type.
- * @param null $additionalWhere
- * @param string $orderBy
+ * @param string|null $additionalWhere
+ * Optional WHERE field.
+ * @param string|null $orderBy
* Optional ORDER BY field.
* Optional ORDER BY field.
- *
- *
@param null $groupBy
+ *
@param string|null $groupBy
+ *
Optional GROU{} BY field.
*
* @return CRM_Core_DAO
* objet that holds the results of the query
*
* @return CRM_Core_DAO
* objet that holds the results of the query
@@
-352,11
+353,11
@@
class CRM_Utils_Weight {
}
/**
}
/**
- * @param $rows
+ * @param
array
$rows
* @param string $daoName
* @param string $idName
* @param string $daoName
* @param string $idName
- * @param $returnURL
- * @param null $filter
+ * @param
string
$returnURL
+ * @param
string|
null $filter
*/
public static function addOrder(&$rows, $daoName, $idName, $returnURL, $filter = NULL) {
if (empty($rows)) {
*/
public static function addOrder(&$rows, $daoName, $idName, $returnURL, $filter = NULL) {
if (empty($rows)) {
@@
-497,7
+498,7
@@
class CRM_Utils_Weight {
}
/**
}
/**
- * @param $url
+ * @param
string
$url
*/
public static function fixOrderOutput($url) {
if (empty($_GET['snippet']) || $_GET['snippet'] !== 'json') {
*/
public static function fixOrderOutput($url) {
if (empty($_GET['snippet']) || $_GET['snippet'] !== 'json') {