Zend/Gdata/Spreadsheets.php
public function GetWorksheetEntry($location)
    {
        if ($location instanceof Zend_Gdata_Spreadsheets_DocumentQuery) {
            if ($location->getDocumentType() == null) {
                $location->setDocumentType('worksheets');
            }
            $uri = $location->getQueryUrl();
        } else {
            $uri = $location;
        }

        return parent::getEntry($uri, 'Zend_Gdata_Spreadsheets_WorksheetEntry');
    }
public function GetWorksheetEntry($location)
    {
        if ($location instanceof Zend_Gdata_Spreadsheets_DocumentQuery) {
            if ($location->getDocumentType() == null) {
                $location->setDocumentType('worksheets');
            }
            $uri = $location->getQueryUrl();
        } else {
            $uri = $location;
        }

        return parent::getEntry($uri, 'Zend_Gdata_Spreadsheets_WorksheetEntry');
    }
public function GetWorksheetEntry ( $ location ) { if ( $ location instanceof Zend_Gdata_Spreadsheets_DocumentQuery ) { if ( $ location -> getDocumentType ( ) == null ) { $ location -> setDocumentType ( 'worksheets' ) ; } $ uri = $ location -> getQueryUrl ( ) ; } else { $ uri = $ location ; } return parent :: getEntry ( $ uri , 'Zend_Gdata_Spreadsheets_WorksheetEntry' ) ; }
Gets a worksheet entry.

@param string $location A DocumentQuery or a URI specifying the entry location.
@return WorksheetEntry
Gets a worksheet entry .