diff options
author | misja <misja@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-04-08 14:36:39 +0000 |
---|---|---|
committer | misja <misja@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-04-08 14:36:39 +0000 |
commit | 7a2ae99931f3ecbcfbdb740c96149e41212a2a31 (patch) | |
tree | 2825ac73a70ccf14947e962859fd067573e89235 /engine/lib/annotations.php | |
parent | 0945f262bf45c4277c65bd38db52e0d1ea3211c7 (diff) | |
download | elgg-7a2ae99931f3ecbcfbdb740c96149e41212a2a31.tar.gz elgg-7a2ae99931f3ecbcfbdb740c96149e41212a2a31.tar.bz2 |
Misja Hoebe <misja@curverider.co.uk> Fixing doctags
git-svn-id: https://code.elgg.org/elgg/trunk@420 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/annotations.php')
-rw-r--r-- | engine/lib/annotations.php | 30 |
1 files changed, 28 insertions, 2 deletions
diff --git a/engine/lib/annotations.php b/engine/lib/annotations.php index dc37cb665..f37e22154 100644 --- a/engine/lib/annotations.php +++ b/engine/lib/annotations.php @@ -11,11 +11,19 @@ * @link http://elgg.org/ */ - require_once('extender.php'); // include the superclass + /** + * Include the ElggExtender superclass + * + */ + require_once('extender.php'); /** - * @class ElggAnnotation + * ElggAnnotation + * * An annotation is similar to metadata each entity can contain more than one of each annotation. + * + * @package Elgg + * @subpackage Core * @author Marcus Povey <marcus@dushka.co.uk> */ class ElggAnnotation extends ElggExtender @@ -46,14 +54,32 @@ } } + /** + * Class variable getter overloading + * + * @param string $name + * @return mixed + */ function __get($name) { return $this->get($name); } + /** + * Class variable setter overloading + * + * @param string $name + * @param mixed $value + * @return void + */ function __set($name, $value) { return $this->set($name, $value); } + /** + * Save this instance + * + * @return int an object id + */ function save() { if ($this->id > 0) |