[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/lib/zend/Zend/Gdata/ -> Spreadsheets.php (summary)

Zend Framework LICENSE

Copyright: Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
License: http://framework.zend.com/license/new-bsd New BSD License
Version: $Id$
File Size: 445 lines (15 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Zend_Gdata_Spreadsheets:: (16 methods):
  __construct()
  getSpreadsheetFeed()
  getSpreadsheetEntry()
  getWorksheetFeed()
  GetWorksheetEntry()
  getCellFeed()
  getCellEntry()
  getListFeed()
  getListEntry()
  updateCell()
  insertRow()
  updateRow()
  deleteRow()
  getSpreadsheetListFeedContents()
  getSpreadsheetCellFeedContents()
  getSpreadsheets()


Class: Zend_Gdata_Spreadsheets  - X-Ref

Gdata Spreadsheets

__construct($client = null, $applicationId = 'MyCompany-MyApp-1.0')   X-Ref
Create Gdata_Spreadsheets object

param: Zend_Http_Client $client (optional) The HTTP client to use when
param: string $applicationId The identity of the app in the form of Company-AppName-Version

getSpreadsheetFeed($location = null)   X-Ref
Gets a spreadsheet feed.

param: mixed $location A DocumentQuery or a string URI specifying the feed location.
return: Zend_Gdata_Spreadsheets_SpreadsheetFeed

getSpreadsheetEntry($location)   X-Ref
Gets a spreadsheet entry.

param: string $location A DocumentQuery or a URI specifying the entry location.
return: SpreadsheetEntry

getWorksheetFeed($location)   X-Ref
Gets a worksheet feed.

param: mixed $location A DocumentQuery, SpreadsheetEntry, or a string URI
return: Zend_Gdata_Spreadsheets_WorksheetFeed The feed of worksheets

GetWorksheetEntry($location)   X-Ref
Gets a worksheet entry.

param: string $location A DocumentQuery or a URI specifying the entry location.
return: WorksheetEntry

getCellFeed($location)   X-Ref
Gets a cell feed.

param: string $location A CellQuery, WorksheetEntry or a URI specifying the feed location.
return: CellFeed

getCellEntry($location)   X-Ref
Gets a cell entry.

param: string $location A CellQuery or a URI specifying the entry location.
return: CellEntry

getListFeed($location)   X-Ref
Gets a list feed.

param: mixed $location A ListQuery, WorksheetEntry or string URI specifying the feed location.
return: ListFeed

getListEntry($location)   X-Ref
Gets a list entry.

param: string $location A ListQuery or a URI specifying the entry location.
return: ListEntry

updateCell($row, $col, $inputValue, $key, $wkshtId = 'default')   X-Ref
Updates an existing cell.

param: int $row The row containing the cell to update
param: int $col The column containing the cell to update
param: int $inputValue The new value for the cell
param: string $key The key for the spreadsheet to be updated
param: string $wkshtId (optional) The worksheet to be updated
return: CellEntry The updated cell entry.

insertRow($rowData, $key, $wkshtId = 'default')   X-Ref
Inserts a new row with provided data.

param: array $rowData An array of column header to row data
param: string $key The key of the spreadsheet to modify
param: string $wkshtId (optional) The worksheet to modify
return: ListEntry The inserted row

updateRow($entry, $newRowData)   X-Ref
Updates an existing row with provided data.

param: ListEntry $entry The row entry to update
param: array $newRowData An array of column header to row data

deleteRow($entry)   X-Ref
Deletes an existing row .

param: ListEntry $entry The row to delete

getSpreadsheetListFeedContents($location)   X-Ref
Returns the content of all rows as an associative array

param: mixed $location A ListQuery or string URI specifying the feed location.
return: array An array of rows.  Each element of the array is an associative array of data

getSpreadsheetCellFeedContents($location, $range = null, $empty = false)   X-Ref
Returns the content of all cells as an associative array, indexed
off the cell location  (ie 'A1', 'D4', etc).  Each element of
the array is an associative array with a 'value' and a 'function'.
Only non-empty cells are returned by default.  'range' is the
value of the 'range' query parameter specified at:
http://code.google.com/apis/spreadsheets/reference.html#cells_Parameters

param: mixed $location A CellQuery, WorksheetEntry or a URL (w/o query string) specifying the feed location.
param: string $range The range of cells to retrieve
param: boolean $empty Whether to retrieve empty cells
return: array An associative array of cells

getSpreadsheets($location = null)   X-Ref
Alias for getSpreadsheetFeed

param: mixed $location A DocumentQuery or a string URI specifying the feed location.
return: Zend_Gdata_Spreadsheets_SpreadsheetFeed



Generated: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1