diff options
author | icewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-03-14 16:25:19 +0000 |
---|---|---|
committer | icewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-03-14 16:25:19 +0000 |
commit | d2a63172f0d09475319ea2935575044beea4da4d (patch) | |
tree | 35e7760e470f4ad87d6232e7cb113fd5e2de6750 /engine/lib/entities.php | |
parent | 8faeb4bb82920f4ed96338d56c83f4123722af82 (diff) | |
download | elgg-d2a63172f0d09475319ea2935575044beea4da4d.tar.gz elgg-d2a63172f0d09475319ea2935575044beea4da4d.tar.bz2 |
Marcus Povey <marcus@dushka.co.uk>
* Annotations added
git-svn-id: https://code.elgg.org/elgg/trunk@223 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/entities.php')
-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 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); } /** |