projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
APIv4 - add descriptions to sql functions
[civicrm-core.git]
/
Civi
/
Api4
/
Query
/
SqlFunctionCOUNT.php
diff --git
a/Civi/Api4/Query/SqlFunctionCOUNT.php
b/Civi/Api4/Query/SqlFunctionCOUNT.php
index c51e024856ab1730f3ca109ed40617470b3b869c..e45c9ff67d8389bd9deeacaba3d5a78e1706a138 100644
(file)
--- a/
Civi/Api4/Query/SqlFunctionCOUNT.php
+++ b/
Civi/Api4/Query/SqlFunctionCOUNT.php
@@
-38,4
+38,11
@@
class SqlFunctionCOUNT extends SqlFunction {
return ts('Count');
}
+ /**
+ * @return string
+ */
+ public static function getDescription(): string {
+ return ts('The number of items in the grouping.');
+ }
+
}