Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
Concrete class for working with Worksheet entries.

$_entryClassName= ''Zend_Gdata_Spreadsheets_WorksheetEntry''
'Zend_Gdata_Spreadsheets_WorksheetEntry'Details
__construct(
\DOMElement $element
=
null
)
:
voidConstructs a new Zend_Gdata_Spreadsheets_WorksheetEntry object.
| Name | Type | Description |
|---|---|---|
| $element | \DOMElement | (optional) The DOMElement on which to base this object. |

getColumnCount(
)
:
stringGets the column count for this entry.
| Type | Description |
|---|---|
| string | The column count for the entry. |

getContentsAsCells(
string $range
=
null, boolean $empty
=
false
)
:
arrayReturns 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
| Name | Type | Description |
|---|---|---|
| $range | string | The range of cells to retrieve |
| $empty | boolean | Whether to retrieve empty cells |
| Type | Description |
|---|---|
| array | An associative array of cells |

getContentsAsRows(
)
:
arrayReturns the content of all rows as an associative array
| Type | Description |
|---|---|
| array | An array of rows. Each element of the array is an associative array of data |

getDOM(
\DOMDocument $doc
=
null, $majorVersion
=
1, $minorVersion
=
null
)
:
\DOMElementRetrieves 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.
| Name | Type | Description |
|---|---|---|
| $doc | \DOMDocument | The DOMDocument used to construct DOMElements |
| $majorVersion | ||
| $minorVersion |
| Type | Description |
|---|---|
| \DOMElement | The DOMElement representing this element and all child properties. |

getRowCount(
)
:
stringGets the row count for this entry.
| Type | Description |
|---|---|
| string | The row count for the entry. |

setColumnCount(
string $colCount
)
:
voidSets the column count for this entry.
| Name | Type | Description |
|---|---|---|
| $colCount | string | The new column count for the entry. |

setRowCount(
string $rowCount
)
:
voidSets the row count for this entry.
| Name | Type | Description |
|---|---|---|
| $rowCount | string | The new row count for the entry. |