Example #1
0
     break;
     //3 - Update a document's data variables
 //3 - Update a document's data variables
 case 3:
     $inData = $server->getCleanPost(false, false);
     $server->updateDocumentData($inData);
     break;
     //4 - Fetch document information including datasource information.
 //4 - Fetch document information including datasource information.
 case 4:
     $server->fetchDocumentData($inData, 1);
     break;
     //5 - Fetch the backgrounds for a user.
 //5 - Fetch the backgrounds for a user.
 case 5:
     $server->fetchBackgrounds();
     break;
     //6 - Create a blank document for the user.
 //6 - Create a blank document for the user.
 case 6:
     $server->createBlankDocument($inData);
     break;
     //7 - Fetch a user's data, provide their phone number and password.
 //7 - Fetch a user's data, provide their phone number and password.
 case 7:
     $server->fetchUserData($inData);
     break;
     //8 - Fetch a list of this user's documents.
 //8 - Fetch a list of this user's documents.
 case 8:
     $server->fetchDocumentsList($inData);