|
Moodle
2.2.1
http://www.collinsharper.com
|


Public Member Functions | |
| __construct ($element=null) | |
| getDOM ($doc=null, $majorVersion=1, $minorVersion=null) | |
| getRowCount () | |
| getColumnCount () | |
| setRowCount ($rowCount) | |
| setColumnCount ($colCount) | |
| getContentsAsRows () | |
| getContentsAsCells ($range=null, $empty=false) | |
Protected Member Functions | |
| takeChildFromDOM ($child) | |
Protected Attributes | |
| $_entryClassName = 'Zend_Gdata_Spreadsheets_WorksheetEntry' | |
| $_rowCount = null | |
| $_colCount = null | |
Definition at line 48 of file WorksheetEntry.php.
| __construct | ( | $ | element = null | ) |
Constructs a new Zend_Gdata_Spreadsheets_WorksheetEntry object.
| DOMElement | $element | (optional) The DOMElement on which to base this object. |
Reimplemented from Zend_Gdata_Entry.
Definition at line 61 of file WorksheetEntry.php.

| getColumnCount | ( | ) |
Gets the column count for this entry.
Definition at line 131 of file WorksheetEntry.php.
| getContentsAsCells | ( | $ | range = null, |
| $ | empty = false |
||
| ) |
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
| string | $range | The range of cells to retrieve |
| boolean | $empty | Whether to retrieve empty cells |
Definition at line 181 of file WorksheetEntry.php.

Returns the content of all rows as an associative array
Definition at line 163 of file WorksheetEntry.php.

| getDOM | ( | $ | doc = null, |
| $ | majorVersion = 1, |
||
| $ | minorVersion = null |
||
| ) |
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.
| DOMDocument | $doc | The DOMDocument used to construct DOMElements |
Reimplemented from Zend_Gdata_Entry.
Definition at line 77 of file WorksheetEntry.php.
| getRowCount | ( | ) |
Gets the row count for this entry.
Definition at line 121 of file WorksheetEntry.php.
| setColumnCount | ( | $ | colCount | ) |
Sets the column count for this entry.
| string | $colCount | The new column count for the entry. |
Definition at line 152 of file WorksheetEntry.php.
| setRowCount | ( | $ | rowCount | ) |
Sets the row count for this entry.
| string | $rowCount | The new row count for the entry. |
Definition at line 141 of file WorksheetEntry.php.
| takeChildFromDOM | ( | $ | child | ) | [protected] |
Creates individual Entry objects of the appropriate type and stores them in the $_entry array based upon DOM data.
| DOMNode | $child | The DOMNode to process |
Reimplemented from Zend_Gdata_Entry.
Definition at line 95 of file WorksheetEntry.php.

$_colCount = null [protected] |
Definition at line 54 of file WorksheetEntry.php.
$_entryClassName = 'Zend_Gdata_Spreadsheets_WorksheetEntry' [protected] |
Reimplemented from Zend_Gdata_Entry.
Definition at line 51 of file WorksheetEntry.php.
$_rowCount = null [protected] |
Definition at line 53 of file WorksheetEntry.php.