Gdata/App/FeedSourceParent.php

Show: PublicProtectedPrivateinherited
Table of Contents
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.
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Gdata  
Subpackage
App  
Version
$Id$  

\Zend_Gdata_App_FeedSourceParent

Package: Zend_Gdata\App
Atom feed class
Parent(s)
\Zend_Gdata_App_FeedEntryParent < \Zend_Gdata_App_Base
Children
\Zend_Gdata_App_Extension_Source
\Zend_Gdata_App_Feed
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Properties

>VPropertyprotectedstring $_entryClassName = 'Zend_Gdata_App_Entry'
The classname for individual feed elements.
Default value'Zend_Gdata_App_Entry'Details
Type
string
>VPropertyprotected$_generator = null
Default valuenullDetails
Type
n/a
>VPropertyprotected$_icon = null
Default valuenullDetails
Type
n/a
>VPropertyprotected$_logo = null
Default valuenullDetails
Type
n/a
>VPropertyprotectedstring $_rootElement = null
Root XML element for Atom entries.
Default valuenullDetails
Type
string
>VPropertyprotected$_subtitle = null
Default valuenullDetails
Type
n/a

Methods

methodpublic__get(string $var) : mixed

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).
Parameters
NameTypeDescription
$varstring

The property to access.

Returns
TypeDescription
mixed
methodpublicgetDOM( $doc = null,  $majorVersion = 1,  $minorVersion = null) : void

Parameters
NameTypeDescription
$doc
$majorVersion
$minorVersion
methodpublicsetGenerator(\Zend_Gdata_App_Extension_Generator $value) : \Zend_Gdata_App_FeedSourceParent

Parameters
NameTypeDescription
$value\Zend_Gdata_App_Extension_Generator
Returns
TypeDescription
\Zend_Gdata_App_FeedSourceParentProvides a fluent interface
methodpublicsetHttpClient(\Zend_Http_Client $httpClient) : \Zend_Gdata_App_FeedSourceParent

Set the HTTP client instance

Sets the HTTP client object to use for retrieving the feed.
Parameters
NameTypeDescription
$httpClient\Zend_Http_Client
Returns
TypeDescription
\Zend_Gdata_App_FeedSourceParentProvides a fluent interface
Details
Deprecated
Deprecated as of Zend Framework 1.7. Use setService() instead.  
methodpublicsetIcon(\Zend_Gdata_App_Extension_Icon $value) : \Zend_Gdata_App_FeedSourceParent

Parameters
NameTypeDescription
$value\Zend_Gdata_App_Extension_Icon
Returns
TypeDescription
\Zend_Gdata_App_FeedSourceParentProvides a fluent interface
methodpublicsetService(\Zend_Gdata_App $instance) : \Zend_Gdata_App_FeedEntryParent

Set the active service instance for this feed and all enclosed entries.

This will be used to perform network requests, such as when calling save() and delete().
Parameters
NameTypeDescription
$instance\Zend_Gdata_App

The new service instance.

Returns
TypeDescription
\Zend_Gdata_App_FeedEntryParentProvides a fluent interface.
methodpublicsetSubtitle(\Zend_Gdata_App_Extension_Subtitle $value) : \Zend_Gdata_App_FeedSourceParent

Parameters
NameTypeDescription
$value\Zend_Gdata_App_Extension_Subtitle
Returns
TypeDescription
\Zend_Gdata_App_FeedSourceParentProvides a fluent interface
methodpublicsetlogo(\Zend_Gdata_App_Extension_logo $value) : \Zend_Gdata_App_FeedSourceParent

Parameters
NameTypeDescription
$value\Zend_Gdata_App_Extension_logo
Returns
TypeDescription
\Zend_Gdata_App_FeedSourceParentProvides a fluent interface
methodprotectedtakeChildFromDOM(\DOMNode $child) : void

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

Parameters
NameTypeDescription
$child\DOMNode

The DOMNode to process

Documentation was generated by phpDocumentor 2.2.0 .