Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/244.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

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/c/64.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
Php Zend Gdata中的updateCell_Php_Zend Framework - Fatal编程技术网

Php Zend Gdata中的updateCell

Php Zend Gdata中的updateCell,php,zend-framework,Php,Zend Framework,我已经加载了Zend Gdata库,并使用一个示例成功地读取了我的Google电子表格中的行,但updateCell示例一直失败 在检查updateCell时,它似乎不在库中 有人有这个问题吗?我正在使用Zend Gdata-1.12.0 $row=1; $col=1; $inputValue=99; $worksheetId="od6"; $googleDocs->updateCell ( 1, 1, 'test', $Key, $worksheetId); $query = new Z

我已经加载了Zend Gdata库,并使用一个示例成功地读取了我的Google电子表格中的行,但updateCell示例一直失败

在检查updateCell时,它似乎不在库中

有人有这个问题吗?我正在使用Zend Gdata-1.12.0

$row=1;
$col=1;
$inputValue=99;
$worksheetId="od6";
$googleDocs->updateCell ( 1, 1, 'test', $Key, $worksheetId);
$query = new Zend_Gdata_Spreadsheets_DocumentQuery();
$query->setSpreadsheetKey($key);
$feed = $spreadSheetService->getWorksheetFeed($query);
$updatedCell = updateCell($row,$col,$inputValue,$Key,$worksheetId);

updateCell方法是$spreadSheetService的一部分,您需要在调用updateCell之前添加$spreadSheetService->

$updatedCell = $spreadSheetService->updateCell($row,$col,$inputValue,$Key,$worksheetId);

看起来函数在API文档中-。可能是你用的对象不对?