From 8faeb4bb82920f4ed96338d56c83f4123722af82 Mon Sep 17 00:00:00 2001 From: icewing Date: Fri, 14 Mar 2008 15:48:30 +0000 Subject: Marcus Povey * Added average calcs git-svn-id: https://code.elgg.org/elgg/trunk@222 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/entities.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'engine/lib') 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'); } -- cgit v1.2.3