From d2a63172f0d09475319ea2935575044beea4da4d Mon Sep 17 00:00:00 2001 From: icewing Date: Fri, 14 Mar 2008 16:25:19 +0000 Subject: Marcus Povey * Annotations added git-svn-id: https://code.elgg.org/elgg/trunk@223 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/entities.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'engine/lib/entities.php') diff --git a/engine/lib/entities.php b/engine/lib/entities.php index d9d34858a..5fd16461d 100644 --- a/engine/lib/entities.php +++ b/engine/lib/entities.php @@ -138,14 +138,14 @@ * it can also be set. Note that by default, annotations are private. * * @param string $name - * @param string $value + * @param mixed $value * @param int $access_id * @param int $owner_id * @param string $vartype */ function annotate($name, $value, $access_id = 0, $owner_id = 0, $vartype = "") { - // TODO: WRITEME + return create_annotation($this->getGUID(), $name, $value, $vartype, $owner_id, $access_id); } /** @@ -167,7 +167,7 @@ */ function clearAnnotations($name = "") { - + return clear_annotations($this->getGUID(), $name); } /** @@ -177,7 +177,7 @@ */ function countAnnotations($name) { - + return count_annotations($this->getGUID(), "","",$name); } /** -- cgit v1.2.3