Class Zend_Gdata_Spreadsheets_WorksheetEntry

Description

Concrete class for working with Worksheet entries.

  • copyright: Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
  • license: New BSD License

Located in /Gdata/Spreadsheets/WorksheetEntry.php (line 48)

Zend_Gdata_App_Base
   |
   --Zend_Gdata_App_FeedEntryParent
      |
      --Zend_Gdata_App_Entry
         |
         --Zend_Gdata_App_MediaEntry
            |
            --Zend_Gdata_Entry
               |
               --Zend_Gdata_Spreadsheets_WorksheetEntry
Variable Summary
Method Summary
 Zend_Gdata_Spreadsheets_WorksheetEntry __construct ([DOMElement $element = null])
 string getColumnCount ()
 array getContentsAsCells ([string $range = null], [boolean $empty = false])
 DOMElement getDOM ([DOMDocument $doc = null], [ $majorVersion = 1], [ $minorVersion = null])
 string getRowCount ()
 void setColumnCount (string $colCount)
 void setRowCount (string $rowCount)
 void takeChildFromDOM (DOMNode $child)
Variables
Methods
Constructor __construct (line 61)

Constructs a new Zend_Gdata_Spreadsheets_WorksheetEntry object.

  • access: public
Zend_Gdata_Spreadsheets_WorksheetEntry __construct ([DOMElement $element = null])
  • DOMElement $element: (optional) The DOMElement on which to base this object.

Redefinition of:
Zend_Gdata_Entry::__construct()
getColumnCount (line 131)

Gets the column count for this entry.

  • return: The column count for the entry.
  • access: public
string getColumnCount ()
getContentsAsCells (line 181)

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

  • return: An associative array of cells
  • access: public
array getContentsAsCells ([string $range = null], [boolean $empty = false])
  • string $range: The range of cells to retrieve
  • boolean $empty: Whether to retrieve empty cells
getContentsAsRows (line 163)

Returns the content of all rows as an associative array

  • return: An array of rows. Each element of the array is an associative array of data
  • access: public
array getContentsAsRows ()
getDOM (line 77)

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.

  • return: The DOMElement representing this element and all child properties.
  • access: public
DOMElement getDOM ([DOMDocument $doc = null], [ $majorVersion = 1], [ $minorVersion = null])
  • DOMDocument $doc: The DOMDocument used to construct DOMElements
  • $majorVersion
  • $minorVersion

Redefinition of:
Zend_Gdata_Entry::getDOM()
getRowCount (line 121)

Gets the row count for this entry.

  • return: The row count for the entry.
  • access: public
string getRowCount ()
setColumnCount (line 152)

Sets the column count for this entry.

  • access: public
void setColumnCount (string $colCount)
  • string $colCount: The new column count for the entry.
setRowCount (line 141)

Sets the row count for this entry.

  • access: public
void setRowCount (string $rowCount)
  • string $rowCount: The new row count for the entry.
takeChildFromDOM (line 95)

Creates individual Entry objects of the appropriate type and stores them in the $_entry array based upon DOM data.

  • access: protected
void takeChildFromDOM (DOMNode $child)
  • DOMNode $child: The DOMNode to process

Redefinition of:
Zend_Gdata_Entry::takeChildFromDOM()

Inherited Methods

Inherited From Zend_Gdata_Entry

 Zend_Gdata_Entry::__construct()
 Zend_Gdata_Entry::getDOM()
 Zend_Gdata_Entry::takeAttributeFromDOM()
 Zend_Gdata_Entry::takeChildFromDOM()

Inherited From Zend_Gdata_App_MediaEntry

 Zend_Gdata_App_MediaEntry::__construct()
 Zend_Gdata_App_MediaEntry::encode()
 Zend_Gdata_App_MediaEntry::getMediaSource()
 Zend_Gdata_App_MediaEntry::setMediaSource()

Inherited From Zend_Gdata_App_Entry

 Zend_Gdata_App_Entry::delete()
 Zend_Gdata_App_Entry::getContent()
 Zend_Gdata_App_Entry::getControl()
 Zend_Gdata_App_Entry::getDOM()
 Zend_Gdata_App_Entry::getPublished()
 Zend_Gdata_App_Entry::getSource()
 Zend_Gdata_App_Entry::getSummary()
 Zend_Gdata_App_Entry::reload()
 Zend_Gdata_App_Entry::save()
 Zend_Gdata_App_Entry::setContent()
 Zend_Gdata_App_Entry::setControl()
 Zend_Gdata_App_Entry::setPublished()
 Zend_Gdata_App_Entry::setSource()
 Zend_Gdata_App_Entry::setSummary()
 Zend_Gdata_App_Entry::takeChildFromDOM()

Inherited From Zend_Gdata_App_FeedEntryParent

 Zend_Gdata_App_FeedEntryParent::__construct()
 Zend_Gdata_App_FeedEntryParent::getAlternateLink()
 Zend_Gdata_App_FeedEntryParent::getAuthor()
 Zend_Gdata_App_FeedEntryParent::getCategory()
 Zend_Gdata_App_FeedEntryParent::getContributor()
 Zend_Gdata_App_FeedEntryParent::getDOM()
 Zend_Gdata_App_FeedEntryParent::getEditLink()
 Zend_Gdata_App_FeedEntryParent::getEtag()
 Zend_Gdata_App_FeedEntryParent::getHttpClient()
 Zend_Gdata_App_FeedEntryParent::getId()
 Zend_Gdata_App_FeedEntryParent::getLicenseLink()
 Zend_Gdata_App_FeedEntryParent::getLink()
 Zend_Gdata_App_FeedEntryParent::getMajorProtocolVersion()
 Zend_Gdata_App_FeedEntryParent::getMinorProtocolVersion()
 Zend_Gdata_App_FeedEntryParent::getNextLink()
 Zend_Gdata_App_FeedEntryParent::getPreviousLink()
 Zend_Gdata_App_FeedEntryParent::getRights()
 Zend_Gdata_App_FeedEntryParent::getSelfLink()
 Zend_Gdata_App_FeedEntryParent::getService()
 Zend_Gdata_App_FeedEntryParent::getTitle()
 Zend_Gdata_App_FeedEntryParent::getTitleValue()
 Zend_Gdata_App_FeedEntryParent::getUpdated()
 Zend_Gdata_App_FeedEntryParent::lookupNamespace()
 Zend_Gdata_App_FeedEntryParent::setAuthor()
 Zend_Gdata_App_FeedEntryParent::setCategory()
 Zend_Gdata_App_FeedEntryParent::setContributor()
 Zend_Gdata_App_FeedEntryParent::setEtag()
 Zend_Gdata_App_FeedEntryParent::setHttpClient()
 Zend_Gdata_App_FeedEntryParent::setId()
 Zend_Gdata_App_FeedEntryParent::setLink()
 Zend_Gdata_App_FeedEntryParent::setMajorProtocolVersion()
 Zend_Gdata_App_FeedEntryParent::setMinorProtocolVersion()
 Zend_Gdata_App_FeedEntryParent::setRights()
 Zend_Gdata_App_FeedEntryParent::setService()
 Zend_Gdata_App_FeedEntryParent::setTitle()
 Zend_Gdata_App_FeedEntryParent::setUpdated()
 Zend_Gdata_App_FeedEntryParent::takeChildFromDOM()

Inherited From Zend_Gdata_App_Base

 Zend_Gdata_App_Base::__construct()
 Zend_Gdata_App_Base::encode()
 Zend_Gdata_App_Base::flushNamespaceLookupCache()
 Zend_Gdata_App_Base::getDOM()
 Zend_Gdata_App_Base::getExtensionAttributes()
 Zend_Gdata_App_Base::getExtensionElements()
 Zend_Gdata_App_Base::getText()
 Zend_Gdata_App_Base::getXML()
 Zend_Gdata_App_Base::lookupNamespace()
 Zend_Gdata_App_Base::registerAllNamespaces()
 Zend_Gdata_App_Base::registerNamespace()
 Zend_Gdata_App_Base::saveXML()
 Zend_Gdata_App_Base::setExtensionAttributes()
 Zend_Gdata_App_Base::setExtensionElements()
 Zend_Gdata_App_Base::setText()
 Zend_Gdata_App_Base::takeAttributeFromDOM()
 Zend_Gdata_App_Base::takeChildFromDOM()
 Zend_Gdata_App_Base::transferFromDOM()
 Zend_Gdata_App_Base::transferFromXML()
 Zend_Gdata_App_Base::__get()
 Zend_Gdata_App_Base::__isset()
 Zend_Gdata_App_Base::__set()
 Zend_Gdata_App_Base::__toString()
 Zend_Gdata_App_Base::__unset()

Documentation generated on Mon, 21 Jun 2010 15:53:02 -0400 by phpDocumentor 1.4.3