Php Zend Gdata中的updateCell
我已经加载了Zend Gdata库,并使用一个示例成功地读取了我的Google电子表格中的行,但updateCell示例一直失败 在检查updateCell时,它似乎不在库中 有人有这个问题吗?我正在使用Zend Gdata-1.12.0Php 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
$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文档中-。可能是你用的对象不对?