aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/objects.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/objects.php')
-rw-r--r--engine/lib/objects.php25
1 files changed, 21 insertions, 4 deletions
diff --git a/engine/lib/objects.php b/engine/lib/objects.php
index 2ef9cd284..29f29955a 100644
--- a/engine/lib/objects.php
+++ b/engine/lib/objects.php
@@ -13,8 +13,11 @@
*/
/**
- * @class ElggObject
- * Representation of an "object" in the system.
+ * ElggObject
+ * Representation of an "object" in the system.
+ *
+ * @package Elgg
+ * @subpackage Core
*/
class ElggObject extends ElggEntity
{
@@ -72,8 +75,22 @@
}
}
}
-
- function __get($name) { return $this->get($name); }
+
+ /**
+ * 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); }
/**