From 63178e596b3c56886f0735270665f17858632777 Mon Sep 17 00:00:00 2001 From: james Date: Thu, 18 Nov 2010 17:24:18 +0000 Subject: [PATCH] Add dictionary documentation Update Test API page to link to apidocs and dictionary --- doc/dictionary.php | 34 ++++++++++++++++++++++++++++++++++ testapi.php | 26 ++++++++++++++++---------- 2 files changed, 50 insertions(+), 10 deletions(-) create mode 100644 doc/dictionary.php diff --git a/doc/dictionary.php b/doc/dictionary.php new file mode 100644 index 0000000..b0493ce --- /dev/null +++ b/doc/dictionary.php @@ -0,0 +1,34 @@ + + + + +Registration Group/Field Dictionary + + + + + +

Registration Group/Fields Dictionary

+ + + + + + +$data) { + echo "\n"; + echo "\n"; + echo "\n"; + echo "\n"; + echo "\n"; +} +?> +
FieldLabelGroup
$field{$data['label']}{$data['group']}
+ + + diff --git a/testapi.php b/testapi.php index 32a2f61..0eb83c1 100644 --- a/testapi.php +++ b/testapi.php @@ -59,7 +59,11 @@ include "common.inc.php"; -

General Commands

+

Test API Page

+API Documentation
+Registration Group/Fields Dictionary Documentation
+ +

General Commands

Login
@@ -86,7 +90,7 @@ Date List
-

Account Settings

+

Account Settings

Edit account information Username:
Password:
@@ -94,7 +98,7 @@ email:
Link username to email? Yes       No
-

Teacher Specific Commands

+

Teacher Specific Commands

Science Olympic Teams List
@@ -113,10 +117,10 @@ Link username to email?
-

User Stuff

+

User Stuff

View the user
-

Event Schedule

+

Event Schedule

Schedule Listing
Location Listing
@@ -135,7 +139,7 @@ Schedule ID: -

Roles

+

Roles

Get a list of roles for this conference
Add a role to this account @@ -153,8 +157,10 @@ Remove a role from this account -

Registration Fields

-View the dictionary of registration fields
+

Registration Fields

+View the dictionary of registration fields   +View Documentation Generated by this API call
+
(leave all blank to use currently logged in users fields)
$r) {
-

Schools

+

Schools

School Listing
@@ -174,7 +180,7 @@ foreach($roles AS $role=>$r) {
-

Session Variables

+

Session Variables