Beispiel #1
0
 case "create_user":
     if (isset($_REQUEST["audience_phone"])) {
         $value = $api->create_user($_REQUEST["audience_phone"]);
     } else {
         $value = "Missing argument";
     }
     break;
 case "delete_user":
     if (isset($_REQUEST["audience_phone"])) {
         $value = $api->delete_user($_REQUEST["audience_phone"]);
     } else {
         $value = "Missing argument";
     }
     break;
 case "create_issuu_table":
     $value = $api->create_issuu_table();
     break;
 case "create_audience_table":
     $value = $api->create_audience_table();
     break;
 case "initialize_issuu":
     $value = $api->initialize_issuu();
     break;
 case "create_db":
     $value = $api->create_db();
     break;
 case "oauth_call":
     if (isset($_REQUEST["method"]) && isset($_REQUEST["matchphrase"]) && in_array($_REQUEST["method"], $possible_method)) {
         $value = $api->oauth_call($_REQUEST["method"], $_REQUEST["matchphrase"], $_REQUEST["audience_phone"]);
     }
     break;