summaryrefslogtreecommitdiffstats
path: root/includes/datas.php
diff options
context:
space:
mode:
authorBlueRaja <BlueRaja.admin@gmail.com>2012-10-01 14:50:10 -0500
committerBlueRaja <BlueRaja.admin@gmail.com>2012-10-01 14:50:10 -0500
commit7a60127a4b17e74860a80a62cdfc53ca37cbff19 (patch)
treeb305eae77397d71dc1f3dd6c6519f5a261887fa2 /includes/datas.php
parent526f8dc4b3ce81b5589d2f8a9bdcfab14151dfaf (diff)
downloadpathery-7a60127a4b17e74860a80a62cdfc53ca37cbff19.tar.xz
Added a challenge-listing page, and skeleton code for the listing itself
Diffstat (limited to 'includes/datas.php')
-rw-r--r--includes/datas.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/includes/datas.php b/includes/datas.php
index 952f903..e8d5871 100644
--- a/includes/datas.php
+++ b/includes/datas.php
@@ -941,6 +941,16 @@ function loadChallengesForMap($mapIdUnsanitized, $userIdUnsanitized)
}
/**
+ * Loads a listing of all maps and challenges for display, along with which ones the user has completed
+ * @param type $userIdUnsanitized The userID. Assumed to be unsanitized.
+ * @return Returns a MySQL resultset with the columns listed in the code, or NULL if nothing found
+ */
+function loadChallengeListing($userIdUnsanitized)
+{
+ //TODO: Implement
+}
+
+/**
* Returns the map "code" for the given mapId
*/
function loadMapCode($mapIdUnsanitized)