aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-03-03 11:29:07 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-03-03 11:29:07 +0000
commitdb7a6034e3967e74be0d04bc5c55d73032463eb4 (patch)
tree1d52a60c499c97680c3429ba83ff36c961fc2c40
parent0f2e279f16fc70542fc86a0896ab635b519831be (diff)
downloadelgg-db7a6034e3967e74be0d04bc5c55d73032463eb4.tar.gz
elgg-db7a6034e3967e74be0d04bc5c55d73032463eb4.tar.bz2
Some misc changes
git-svn-id: https://code.elgg.org/elgg/trunk@49 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--engine/lib/objects.php4
-rw-r--r--index.php3
2 files changed, 4 insertions, 3 deletions
diff --git a/engine/lib/objects.php b/engine/lib/objects.php
index 7cf58a848..29441b67c 100644
--- a/engine/lib/objects.php
+++ b/engine/lib/objects.php
@@ -97,7 +97,6 @@
return false;
}
-
/**
* Creates an object
@@ -326,13 +325,12 @@
}
return true;
}
-
/**
* This class represents an Elgg object.
*
*/
- class ElggObject {
+ class ElggObject extends stdClass {
private $attributes = array();
diff --git a/index.php b/index.php
index 7057aadb1..aeea7ff62 100644
--- a/index.php
+++ b/index.php
@@ -23,4 +23,7 @@
get_objects(3,"blog","mammals","are lovely", 7, 2, 1);
+ $obj = new stdClass;
+ $obj->id = 3;
+
?> \ No newline at end of file