Moodle  2.2.1
http://www.collinsharper.com
Zend_Gdata_Spreadsheets_WorksheetEntry Class Reference
Inheritance diagram for Zend_Gdata_Spreadsheets_WorksheetEntry:
Collaboration diagram for Zend_Gdata_Spreadsheets_WorksheetEntry:

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

Detailed Description

Definition at line 48 of file WorksheetEntry.php.


Constructor & Destructor Documentation

__construct ( element = null)

Constructs a new Zend_Gdata_Spreadsheets_WorksheetEntry object.

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

Reimplemented from Zend_Gdata_Entry.

Definition at line 61 of file WorksheetEntry.php.

Here is the call graph for this function:


Member Function Documentation

Gets the column count for this entry.

Returns:
string The column count for the 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

Parameters:
string$rangeThe range of cells to retrieve
boolean$emptyWhether to retrieve empty cells
Returns:
array An associative array of cells

Definition at line 181 of file WorksheetEntry.php.

Here is the call graph for this function:

Returns the content of all rows as an associative array

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

Definition at line 163 of file WorksheetEntry.php.

Here is the call graph for this function:

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.

Parameters:
DOMDocument$docThe DOMDocument used to construct DOMElements
Returns:
DOMElement The DOMElement representing this element and all child properties.

Reimplemented from Zend_Gdata_Entry.

Definition at line 77 of file WorksheetEntry.php.

Gets the row count for this entry.

Returns:
string The row count for the entry.

Definition at line 121 of file WorksheetEntry.php.

setColumnCount ( colCount)

Sets the column count for this entry.

Parameters:
string$colCountThe new column count for the entry.

Definition at line 152 of file WorksheetEntry.php.

setRowCount ( rowCount)

Sets the row count for this entry.

Parameters:
string$rowCountThe 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.

Parameters:
DOMNode$childThe DOMNode to process

Reimplemented from Zend_Gdata_Entry.

Definition at line 95 of file WorksheetEntry.php.

Here is the call graph for this function:


Field Documentation

$_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.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations