From 14f57823f269dd362197555b504b963cf58bd73a Mon Sep 17 00:00:00 2001 From: icewing Date: Tue, 4 Mar 2008 13:32:30 +0000 Subject: Get site prototype git-svn-id: https://code.elgg.org/elgg/trunk@68 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/sites.php | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) (limited to 'engine') 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 -- cgit v1.2.3