aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
authoricewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-03-04 13:32:30 +0000
committericewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-03-04 13:32:30 +0000
commit14f57823f269dd362197555b504b963cf58bd73a (patch)
tree2d52cbb9d2a7e95c19e3537cc37b99bffd524cbf /engine/lib
parentff13bda327cfba19188755f50a3eff6bb0c0084b (diff)
downloadelgg-14f57823f269dd362197555b504b963cf58bd73a.tar.gz
elgg-14f57823f269dd362197555b504b963cf58bd73a.tar.bz2
Get site prototype
git-svn-id: https://code.elgg.org/elgg/trunk@68 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib')
-rw-r--r--engine/lib/sites.php18
1 files changed, 15 insertions, 3 deletions
diff --git a/engine/lib/sites.php b/engine/lib/sites.php
index 4292a31b2..4bb93b4e2 100644
--- a/engine/lib/sites.php
+++ b/engine/lib/sites.php
@@ -222,9 +222,21 @@
-
- // todo: Get sites
-
+ /**
+ * Enter description here...
+ *
+ * @param int $user_id
+ * @param string $type
+ * @param string $metadata_type
+ * @param string $metadata_value
+ * @param string $order_by
+ * @param int $limit
+ * @param int $offset
+ */
+ function get_sites($user_id = 0, $type = "", $metadata_type = "", $metadata_value = "", $order_by = "created desc", $limit = 10, $offset = 0)
+ {
+
+ }
/**
* Retrieves details about a site, if the current user is allowed to see it