aboutsummaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authoricewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-03-05 18:31:51 +0000
committericewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-03-05 18:31:51 +0000
commit98648c651ec98beab9b4f8603260880f9427fb5d (patch)
treec70d99a6f9ae0194dfc3a223b33c65fd18568433 /index.php
parent0b11151888647bbb9ab4f50f3440934528b2f35e (diff)
downloadelgg-98648c651ec98beab9b4f8603260880f9427fb5d.tar.gz
elgg-98648c651ec98beab9b4f8603260880f9427fb5d.tar.bz2
End of day
git-svn-id: https://code.elgg.org/elgg/trunk@83 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'index.php')
-rw-r--r--index.php46
1 files changed, 45 insertions, 1 deletions
diff --git a/index.php b/index.php
index aeea7ff62..ae8dc5e51 100644
--- a/index.php
+++ b/index.php
@@ -24,6 +24,50 @@
get_objects(3,"blog","mammals","are lovely", 7, 2, 1);
$obj = new stdClass;
- $obj->id = 3;
+ $obj->id = 3;
+
+
+
+
+ // Testing ///////
+
+ // Create / load a site
+ $site = get_site(1);
+ if (!$site)
+ {
+ $site = new ElggSite();
+
+ $site->title = "Test title";
+ $site->description = "Test description";
+ $site->url = "http://dushka/~icewing/Workingdirectory/elggnew/";
+ $site->owner_id = 1;
+ $site->access_id = 0;
+
+ error_log("LOADED NEW SITE: Saving");
+
+ $site->save();
+ }
+ else
+ $site = new ElggSite($site);
+
+
+
+
+ // annotate site
+
+
+ // add meta data
+
+
+ // get site
+
+ // get site metadata
+ // change site metadata
+
+ // get site metadata
+
+
+ // get site annotations
+
?> \ No newline at end of file