aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/metadata.php
diff options
context:
space:
mode:
authormisja <misja@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-04-08 15:14:54 +0000
committermisja <misja@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-04-08 15:14:54 +0000
commitbf79a8fe8a332546f96f00edc424377f6200344e (patch)
tree276fc4403e69b6842cb7706600067161c7d117ec /engine/lib/metadata.php
parent7a2ae99931f3ecbcfbdb740c96149e41212a2a31 (diff)
downloadelgg-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.php23
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)