diff options
author | icewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-03-14 15:48:30 +0000 |
---|---|---|
committer | icewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-03-14 15:48:30 +0000 |
commit | 8faeb4bb82920f4ed96338d56c83f4123722af82 (patch) | |
tree | 154dc6640627c1d62d9493cb974f4cae98058f3d /engine/lib | |
parent | d074f8bb08d9bb5a0beda35764b5e9b2fe91e03c (diff) | |
download | elgg-8faeb4bb82920f4ed96338d56c83f4123722af82.tar.gz elgg-8faeb4bb82920f4ed96338d56c83f4123722af82.tar.bz2 |
Marcus Povey <marcus@dushka.co.uk>
* Added average calcs
git-svn-id: https://code.elgg.org/elgg/trunk@222 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib')
-rw-r--r-- | engine/lib/entities.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engine/lib/entities.php b/engine/lib/entities.php index f2eed1658..d9d34858a 100644 --- a/engine/lib/entities.php +++ b/engine/lib/entities.php @@ -187,7 +187,7 @@ */ function getAnnotationsAvg($name) { - + return get_annotations_avg($this->getGUID(), "","",$name); } /** @@ -197,7 +197,7 @@ */ function getAnnotationsSum($name) { - + return get_annotations_sum($this->getGUID(), "","",$name); } /** @@ -207,7 +207,7 @@ */ function getAnnotationsMin($name) { - + return get_annotations_min($this->getGUID(), "","",$name); } /** @@ -217,7 +217,7 @@ */ function getAnnotationsMax($name) { - + return get_annotations_max($this->getGUID(), "","",$name); } public function getGUID() { return $this->get('guid'); } |