Class Zend_Gdata_App_Feed

Description

Implements interfaces:

  • Iterator (internal interface)
  • ArrayAccess (internal interface)

Atom feed class

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

Located in /Gdata/App/Feed.php (line 40)

Zend_Gdata_App_Base
   |
   --Zend_Gdata_App_FeedEntryParent
      |
      --Zend_Gdata_App_FeedSourceParent
         |
         --Zend_Gdata_App_Feed
Direct descendents
Class Description
 class Zend_Gdata_Feed The GData flavor of an Atom Feed
Variable Summary
Method Summary
 integer count ()
 mixed current ()
 void getDOM ([ $doc = null])
 array getEntry ()
 mixed key ()
 mixed next ()
 boolean offsetExists ( $offset, int $key)
 void offsetGet (int $key, Zend_Gdata_App_Entry $value)
 void offsetSet (int $key, Zend_Gdata_App_Entry $value)
 void offsetUnset (int $key, Zend_Gdata_App_Entry $value)
 void rewind ()
 Zend_Gdata_App_Entry setEntry (array $value)
 void takeChildFromDOM (DOMNode $child)
 boolean valid ()
 mixed __get (string $var)
Variables
Methods
count (line 126)

Get the number of entries in this feed object.

  • return: Entry count.
  • access: public
integer count ()
current (line 146)

Required by the Iterator interface.

  • return: The current row, or null if no rows.
  • access: public
mixed current ()

Implementation of:
Iterator::current
getDOM (line 91)

Retrieves the DOM model representing this object and all children

  • access: public
void getDOM ([ $doc = null])
  • $doc

Redefinition of:
Zend_Gdata_App_FeedSourceParent::getDOM()

Redefined in descendants as:
getEntry (line 186)

Returns Entry elements from this feed

  • return: Zend_Gdata_App_Entry array
  • access: public
array getEntry ()
key (line 156)

Required by the Iterator interface.

  • return: The current row number (starts at 0), or NULL if no rows
  • access: public
mixed key ()

Implementation of:
Iterator::key
next (line 166)

Required by the Iterator interface.

  • return: The next row, or null if no more rows.
  • access: public
mixed next ()

Implementation of:
Iterator::next
offsetExists (line 242)

Required by the ArrayAccess interface

  • access: public
boolean offsetExists ( $offset, int $key)
  • int $key: The index to check for existence
  • $offset

Implementation of:
ArrayAccess::offsetExists
offsetGet (line 218)

Required by the ArrayAccess interface

  • access: public
void offsetGet (int $key, Zend_Gdata_App_Entry $value)

Implementation of:
ArrayAccess::offsetGet
offsetSet (line 208)

Required by the ArrayAccess interface

  • access: public
void offsetSet (int $key, Zend_Gdata_App_Entry $value)

Implementation of:
ArrayAccess::offsetSet
offsetUnset (line 230)

Required by the ArrayAccess interface

  • access: public
void offsetUnset (int $key, Zend_Gdata_App_Entry $value)

Implementation of:
ArrayAccess::offsetUnset
rewind (line 136)

Required by the Iterator interface.

  • access: public
void rewind ()

Implementation of:
Iterator::rewind
setEntry (line 195)
  • return: Provides a fluent interface
  • access: public
Zend_Gdata_App_Entry setEntry (array $value)
  • array $value: The array of Zend_Gdata_App_Entry elements
takeChildFromDOM (line 106)

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_App_FeedSourceParent::takeChildFromDOM()
Creates individual Entry objects of the appropriate type and stores them in the $_entry array based upon DOM data.

Redefined in descendants as:
valid (line 176)

Required by the Iterator interface.

  • return: Whether the iteration is valid
  • access: public
boolean valid ()

Implementation of:
Iterator::valid
__get (line 76)

Make accessing some individual elements of the feed easier.

Special accessors 'entry' and 'entries' are provided so that if you wish to iterate over an Atom feed's entries, you can do so using foreach ($feed->entries as $entry) or foreach ($feed->entry as $entry).

  • access: public
mixed __get (string $var)
  • string $var: The property to get.

Redefinition of:
Zend_Gdata_App_FeedSourceParent::__get()
Make accessing some individual elements of the feed easier.

Inherited Methods

Inherited From Zend_Gdata_App_FeedSourceParent

 Zend_Gdata_App_FeedSourceParent::getDOM()
 Zend_Gdata_App_FeedSourceParent::getGenerator()
 Zend_Gdata_App_FeedSourceParent::getIcon()
 Zend_Gdata_App_FeedSourceParent::getlogo()
 Zend_Gdata_App_FeedSourceParent::getSubtitle()
 Zend_Gdata_App_FeedSourceParent::setGenerator()
 Zend_Gdata_App_FeedSourceParent::setHttpClient()
 Zend_Gdata_App_FeedSourceParent::setIcon()
 Zend_Gdata_App_FeedSourceParent::setlogo()
 Zend_Gdata_App_FeedSourceParent::setSubtitle()
 Zend_Gdata_App_FeedSourceParent::takeChildFromDOM()
 Zend_Gdata_App_FeedSourceParent::__get()

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::getHttpClient()
 Zend_Gdata_App_FeedEntryParent::getId()
 Zend_Gdata_App_FeedEntryParent::getLicenseLink()
 Zend_Gdata_App_FeedEntryParent::getLink()
 Zend_Gdata_App_FeedEntryParent::getNextLink()
 Zend_Gdata_App_FeedEntryParent::getRights()
 Zend_Gdata_App_FeedEntryParent::getSelfLink()
 Zend_Gdata_App_FeedEntryParent::getTitle()
 Zend_Gdata_App_FeedEntryParent::getUpdated()
 Zend_Gdata_App_FeedEntryParent::setAuthor()
 Zend_Gdata_App_FeedEntryParent::setCategory()
 Zend_Gdata_App_FeedEntryParent::setContributor()
 Zend_Gdata_App_FeedEntryParent::setHttpClient()
 Zend_Gdata_App_FeedEntryParent::setId()
 Zend_Gdata_App_FeedEntryParent::setLink()
 Zend_Gdata_App_FeedEntryParent::setRights()
 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::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::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 Sun, 27 May 2007 23:23:45 -0700 by phpDocumentor 1.3.2