aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/sites.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/sites.php')
-rw-r--r--engine/lib/sites.php18
1 files changed, 17 insertions, 1 deletions
diff --git a/engine/lib/sites.php b/engine/lib/sites.php
index 9f296fc51..fa49d26fc 100644
--- a/engine/lib/sites.php
+++ b/engine/lib/sites.php
@@ -13,9 +13,11 @@
*/
/**
- * @class ElggSite
+ * ElggSite
* Representation of a "site" in the system.
* @author Marcus Povey <marcus@dushka.co.uk>
+ * @package Elgg
+ * @subpackage Core
*/
class ElggSite extends ElggEntity
{
@@ -82,7 +84,21 @@
}
}
+ /**
+ * 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 mixed
+ */
function __set($name, $value) { return $this->set($name, $value); }
/**