From db7a6034e3967e74be0d04bc5c55d73032463eb4 Mon Sep 17 00:00:00 2001 From: ben Date: Mon, 3 Mar 2008 11:29:07 +0000 Subject: Some misc changes git-svn-id: https://code.elgg.org/elgg/trunk@49 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/objects.php | 4 +--- index.php | 3 +++ 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 -- cgit v1.2.3