aboutsummaryrefslogtreecommitdiff
path: root/engine/classes/ElggRelationship.php
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-10-31 01:00:01 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-10-31 01:00:01 +0000
commitaed5a35ed9fa851c96b6e18485188f49de127f1c (patch)
tree5a3072bcfb3f3060191d744f973c8af1103de2f3 /engine/classes/ElggRelationship.php
parent0c70cbd09644c3c38f3cb1a1857ff8b77607c945 (diff)
downloadelgg-aed5a35ed9fa851c96b6e18485188f49de127f1c.tar.gz
elgg-aed5a35ed9fa851c96b6e18485188f49de127f1c.tar.bz2
Refs #2597: Pulled __set, __get, __isset magic functions definitions into ElggData
git-svn-id: http://code.elgg.org/elgg/trunk@7163 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/classes/ElggRelationship.php')
-rw-r--r--engine/classes/ElggRelationship.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/classes/ElggRelationship.php b/engine/classes/ElggRelationship.php
index 376150f9f..413527df3 100644
--- a/engine/classes/ElggRelationship.php
+++ b/engine/classes/ElggRelationship.php
@@ -40,7 +40,7 @@ class ElggRelationship extends ElggData implements
*
* @return mixed
*/
- function __get($name) {
+ function get($name) {
if (isset($this->attributes[$name])) {
return $this->attributes[$name];
}
@@ -56,7 +56,7 @@ class ElggRelationship extends ElggData implements
*
* @return mixed
*/
- function __set($name, $value) {
+ function set($name, $value) {
$this->attributes[$name] = $value;
return true;
}