API Documentation

Zend/Gdata/App/FeedSourceParent.php

Show: inherited
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-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Gdata  
Subpackage
App  
Version
$Id: FeedSourceParent.php 24594 2012-01-05 21:27:01Z matthew $  

\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-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Properties

Propertyprotectedstring  $_entryClassName= ''Zend_Gdata_App_Entry''

The classname for individual feed elements.

Default value'Zend_Gdata_App_Entry'Details
Type
string
Propertyprotected  $_generator= 'null'
Default valuenullDetails
Type
Propertyprotected  $_icon= 'null'
Default valuenullDetails
Type
Propertyprotected  $_logo= 'null'
Default valuenullDetails
Type
Propertyprotectedstring  $_rootElement= 'null'

Root XML element for Atom entries.

Default valuenullDetails
Type
string
Propertyprotected  $_subtitle= 'null'
Default valuenullDetails
Type

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
Name Type Description
$var string

The property to access.

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

Parameters
Name Type Description
$doc
$majorVersion
$minorVersion
methodpublicgetGenerator( ) : \Zend_Gdata_AppExtension_Generator

Returns
Type Description
\Zend_Gdata_AppExtension_Generator
methodpublicgetIcon( ) : \Zend_Gdata_AppExtension_Icon

Returns
Type Description
\Zend_Gdata_AppExtension_Icon
methodpublicgetSubtitle( ) : \Zend_Gdata_AppExtension_Subtitle

Returns
Type Description
\Zend_Gdata_AppExtension_Subtitle
methodpublicgetlogo( ) : \Zend_Gdata_AppExtension_logo

Returns
Type Description
\Zend_Gdata_AppExtension_logo
methodpublicsetGenerator( \Zend_Gdata_App_Extension_Generator $value ) : \Zend_Gdata_App_FeedSourceParent

Parameters
Name Type Description
$value \Zend_Gdata_App_Extension_Generator
Returns
Type Description
\Zend_Gdata_App_FeedSourceParent Provides 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
Name Type Description
$httpClient \Zend_Http_Client
Returns
Type Description
\Zend_Gdata_App_FeedSourceParent Provides 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
Name Type Description
$value \Zend_Gdata_App_Extension_Icon
Returns
Type Description
\Zend_Gdata_App_FeedSourceParent Provides 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
Name Type Description
$instance \Zend_Gdata_App

The new service instance.

Returns
Type Description
\Zend_Gdata_App_FeedEntryParent Provides a fluent interface.
methodpublicsetSubtitle( \Zend_Gdata_App_Extension_Subtitle $value ) : \Zend_Gdata_App_FeedSourceParent

Parameters
Name Type Description
$value \Zend_Gdata_App_Extension_Subtitle
Returns
Type Description
\Zend_Gdata_App_FeedSourceParent Provides a fluent interface
methodpublicsetlogo( \Zend_Gdata_App_Extension_logo $value ) : \Zend_Gdata_App_FeedSourceParent

Parameters
Name Type Description
$value \Zend_Gdata_App_Extension_logo
Returns
Type Description
\Zend_Gdata_App_FeedSourceParent Provides 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
Name Type Description
$child \DOMNode

The DOMNode to process

Documentation was generated by DocBlox 0.15.1.