Exemplo n.º 1
0
            $value = $api->set_videos();
            break;
        case "set_video_journey":
            $value = $api->set_video_journey();
            break;
        case "set_triggers":
            $value = $api->set_triggers();
            break;
        case "set_video_size":
            $value = $api->set_video_size();
            break;
        case "get_videos":
            $value = $api->get_videos();
            break;
        case "get_video_journey":
            $value = $api->get_video_journey();
            break;
        case "get_triggers":
            $value = $api->get_triggers();
            break;
        case "get_video_size":
            $value = $api->get_video_size();
            break;
        case "initialize":
            $api->create_table();
            $api->create_videos_table();
            $api->initialize_videos();
            $value = array("response" => "OK");
            break;
    }
}