[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/lib/zend/Zend/Gdata/Spreadsheets/ -> WorksheetEntry.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: 187 lines (6 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Zend_Gdata_Spreadsheets_WorksheetEntry:: (9 methods):
  __construct()
  getDOM()
  takeChildFromDOM()
  getRowCount()
  getColumnCount()
  setRowCount()
  setColumnCount()
  getContentsAsRows()
  getContentsAsCells()


Class: Zend_Gdata_Spreadsheets_WorksheetEntry  - X-Ref

Concrete class for working with Worksheet entries.

__construct($element = null)   X-Ref
Constructs a new Zend_Gdata_Spreadsheets_WorksheetEntry object.

param: DOMElement $element (optional) The DOMElement on which to base this object.

getDOM($doc = null, $majorVersion = 1, $minorVersion = null)   X-Ref
Retrieves a DOMElement which corresponds to this element and all
child properties.  This is used to build an entry back into a DOM
and eventually XML text for sending to the server upon updates, or
for application storage/persistence.

param: DOMDocument $doc The DOMDocument used to construct DOMElements
return: DOMElement The DOMElement representing this element and all

takeChildFromDOM($child)   X-Ref
Creates individual Entry objects of the appropriate type and
stores them in the $_entry array based upon DOM data.

param: DOMNode $child The DOMNode to process

getRowCount()   X-Ref
Gets the row count for this entry.

return: string The row count for the entry.

getColumnCount()   X-Ref
Gets the column count for this entry.

return: string The column count for the entry.

setRowCount($rowCount)   X-Ref
Sets the row count for this entry.

param: string $rowCount The new row count for the entry.

setColumnCount($colCount)   X-Ref
Sets the column count for this entry.

param: string $colCount The new column count for the entry.

getContentsAsRows()   X-Ref
Returns the content of all rows as an associative array

return: array An array of rows.  Each element of the array is an associative array of data

getContentsAsCells($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: string $range The range of cells to retrieve
param: boolean $empty Whether to retrieve empty cells
return: array An associative array of cells



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