diff options
author | misja <misja@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-04-08 15:14:54 +0000 |
---|---|---|
committer | misja <misja@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-04-08 15:14:54 +0000 |
commit | bf79a8fe8a332546f96f00edc424377f6200344e (patch) | |
tree | 276fc4403e69b6842cb7706600067161c7d117ec /engine/lib/metadata.php | |
parent | 7a2ae99931f3ecbcfbdb740c96149e41212a2a31 (diff) | |
download | elgg-bf79a8fe8a332546f96f00edc424377f6200344e.tar.gz elgg-bf79a8fe8a332546f96f00edc424377f6200344e.tar.bz2 |
Misja Hoebe <misja@curverider.co.uk> More docstring fixes
git-svn-id: https://code.elgg.org/elgg/trunk@421 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/metadata.php')
-rw-r--r-- | engine/lib/metadata.php | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/engine/lib/metadata.php b/engine/lib/metadata.php index 41ab51ac1..65b2a9d40 100644 --- a/engine/lib/metadata.php +++ b/engine/lib/metadata.php @@ -12,9 +12,12 @@ */ /** - * @class ElggMetadata + * ElggMetadata * This class describes metadata that can be attached to ElggEntities. + * * @author Marcus Povey <marcus@dushka.co.uk> + * @package Elgg + * @subpackage Core */ class ElggMetadata extends ElggExtender { @@ -45,14 +48,32 @@ } } + /** + * Class member get overloading + * + * @param string $name + * @return mixed + */ function __get($name) { return $this->get($name); } + /** + * Class member set overloading + * + * @param string $name + * @param mixed $value + * @return mixed + */ function __set($name, $value) { return $this->set($name, $value); } + /** + * Save matadata object + * + * @return int the metadata object id + */ function save() { if ($this->id > 0) |