Zend/Gdata/Spreadsheets.php
public function getWorksheetFeed($location)
    {
        if ($location instanceof Zend_Gdata_Spreadsheets_DocumentQuery) {
            if ($location->getDocumentType() == null) {
                $location->setDocumentType('worksheets');
            }
            $uri = $location->getQueryUrl();
        } else if ($location instanceof Zend_Gdata_Spreadsheets_SpreadsheetEntry) {
            $uri = $location->getLink(self::WORKSHEETS_FEED_LINK_URI)->href;
        } else {
            $uri = $location;
        }

        return parent::getFeed($uri, 'Zend_Gdata_Spreadsheets_WorksheetFeed');
    }
public function getWorksheetFeed($location)
    {
        if ($location instanceof Zend_Gdata_Spreadsheets_DocumentQuery) {
            if ($location->getDocumentType() == null) {
                $location->setDocumentType('worksheets');
            }
            $uri = $location->getQueryUrl();
        } else if ($location instanceof Zend_Gdata_Spreadsheets_SpreadsheetEntry) {
            $uri = $location->getLink(self::WORKSHEETS_FEED_LINK_URI)->href;
        } else {
            $uri = $location;
        }

        return parent::getFeed($uri, 'Zend_Gdata_Spreadsheets_WorksheetFeed');
    }
public function getWorksheetFeed ( $ location ) { if ( $ location instanceof Zend_Gdata_Spreadsheets_DocumentQuery ) { if ( $ location -> getDocumentType ( ) == null ) { $ location -> setDocumentType ( 'worksheets' ) ; } $ uri = $ location -> getQueryUrl ( ) ; } else if ( $ location instanceof Zend_Gdata_Spreadsheets_SpreadsheetEntry ) { $ uri = $ location -> getLink ( self :: WORKSHEETS_FEED_LINK_URI ) -> href ; } else { $ uri = $ location ; } return parent :: getFeed ( $ uri , 'Zend_Gdata_Spreadsheets_WorksheetFeed' ) ; }
Gets a worksheet feed.

@param mixed $location A DocumentQuery, SpreadsheetEntry, or a string URI
@return Zend_Gdata_Spreadsheets_WorksheetFeed The feed of worksheets
Gets a worksheet feed .