Example #1
0
     $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);
     break;
     //9 - Create a new user.
     //Commented out because we create user's through the create_account.php file.
     //case 9 : $server->createNewSubscribedUser($inData); break;
     //10 - Parse Curl Requests