Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/295.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
添加';发送更新和#x27=&燃气轮机';全部';到谷歌日历API(PHP)_Php_Google Calendar Api_Google Apis Explorer - Fatal编程技术网

添加';发送更新和#x27=&燃气轮机';全部';到谷歌日历API(PHP)

添加';发送更新和#x27=&燃气轮机';全部';到谷歌日历API(PHP),php,google-calendar-api,google-apis-explorer,Php,Google Calendar Api,Google Apis Explorer,我正在尝试修改以下代码以添加“sendUpdated”=>“all”,这样所有与会者在创建或更新活动时都会收到电子邮件 <?php // Exit if accessed directly. defined( 'ABSPATH' ) || exit; /** * Google Calendar Synchronization. */ class WC_Appointments_GCal { const TOKEN_TRANSIENT_TIME = 3500; co

我正在尝试修改以下代码以添加“sendUpdated”=>“all”,这样所有与会者在创建或更新活动时都会收到电子邮件

<?php
// Exit if accessed directly.
defined( 'ABSPATH' ) || exit;

/**
 * Google Calendar Synchronization.
 */
class WC_Appointments_GCal {

    const TOKEN_TRANSIENT_TIME = 3500;

    const DAYS_OF_WEEK = array(
        1 => 'monday',
        2 => 'tuesday',
        3 => 'wednesday',
        4 => 'thursday',
        5 => 'friday',
        6 => 'saturday',
        7 => 'sunday',
    );



.......full code can be found below...

必须添加此项才能完成url

$api_url = $api_url_ok.'/?sendUpdates=all';

你应该尽量说得更具体对不起,我无法更新这个问题,但我会在这里解释,我应该说得更具体。我试图添加一个值为“all”的查询参数sendUpdates,但我无法确定在何处添加它。它将向所有与会者的电子邮件地址发送创建新活动/更新的通知。在谷歌提供的GCal PHP API中。