$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 //case 10 : $server->parse_curl_requests(); break; //11 - Logout of the system //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 //case 10 : $server->parse_curl_requests(); break; //11 - Logout of the system case 11: $server->logout();