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.
$_colCount = 'null'
$_entryClassName = 'Zend_Gdata_Spreadsheets_WorksheetEntry'
$_rowCount = 'null'
__construct(
DOMElement $element
=
null
)
:
Constructs a new Zend_Gdata_Spreadsheets_WorksheetEntry object.
getColumnCount(
)
:
string
Gets the column count for this entry.
getContentsAsCells(
string $range
=
null, boolean $empty
=
false
)
:
array
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
getContentsAsRows(
)
:
array
Returns the content of all rows as an associative array
getDOM(
DOMDocument $doc
=
null, $majorVersion
=
1, $minorVersion
=
null
)
:
DOMElement
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.
getRowCount(
)
:
string
Gets the row count for this entry.
setColumnCount(
string $colCount
)
:
Sets the column count for this entry.
setRowCount(
string $rowCount
)
:
Sets the row count for this entry.
takeChildFromDOM(
DOMNode $child
)
:
Creates individual Entry objects of the appropriate type and stores them in the $_entry array based upon DOM data.