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.

__call(
$method, $args
)
:
void
Name | Type | Description |
---|---|---|
$method | ||
$args |

__construct(
\DOMElement $source, string $xpathPrefix, string $type
=
Zend_Feed_Reader
)
:
void
Constructor: Create a Source object which is largely just a normal Zend_Feed_Reader_FeedAbstract object only designed to retrieve feed level metadata from an Atom entry's source element.
Name | Type | Description |
---|---|---|
$source | \DOMElement | |
$xpathPrefix | string | Passed from parent Entry object |
$type | string | Nearly always Atom 1.0 |

_registerNamespaces(
)
:
void
Register the default namespaces for the current feed format
Inherited from: \Zend_Feed_Reader_Feed_Atom::_registerNamespaces()
getAuthor(
int $index
=
0
)
:
string|null
Get a single author
Inherited from: \Zend_Feed_Reader_Feed_Atom::getAuthor()Name | Type | Description |
---|---|---|
$index | int |
Type | Description |
---|---|
stringnull |

getAuthors(
)
:
array
Get an array with feed authors
Inherited from: \Zend_Feed_Reader_Feed_Atom::getAuthors()Type | Description |
---|---|
array |

getBaseUrl(
)
:
string|null
Get a link to the source website
Inherited from: \Zend_Feed_Reader_Feed_Atom::getBaseUrl()Type | Description |
---|---|
stringnull |

getCategories(
)
:
\Zend_Feed_Reader_Collection_Category
Get all categories
Inherited from: \Zend_Feed_Reader_Feed_Atom::getCategories()Type | Description |
---|---|
\Zend_Feed_Reader_Collection_Category |

getCopyright(
)
:
string|null
Get the copyright entry
Inherited from: \Zend_Feed_Reader_Feed_Atom::getCopyright()Type | Description |
---|---|
stringnull |

getDateCreated(
)
:
string|null
Get the feed creation date
Inherited from: \Zend_Feed_Reader_Feed_Atom::getDateCreated()Type | Description |
---|---|
stringnull |

getDateModified(
)
:
string|null
Get the feed modification date
Inherited from: \Zend_Feed_Reader_Feed_Atom::getDateModified()Type | Description |
---|---|
stringnull |

getDescription(
)
:
string|null
Get the feed description
Inherited from: \Zend_Feed_Reader_Feed_Atom::getDescription()Type | Description |
---|---|
stringnull |

getDomDocument(
)
:
\DOMDocument
Get the DOM
Inherited from: \Zend_Feed_Reader_FeedAbstract::getDomDocument()Type | Description |
---|---|
\DOMDocument |

getElement(
)
:
\DOMElement
Get the DOMElement representing the items/feed element
Inherited from: \Zend_Feed_Reader_FeedAbstract::getElement()Type | Description |
---|---|
\DOMElement |

getEncoding(
)
:
string
Get the Feed's encoding
Inherited from: \Zend_Feed_Reader_FeedAbstract::getEncoding()Type | Description |
---|---|
string |

getExtension(
string $name
)
:
\Zend_Feed_Reader_Extension_FeedAbstract
Return an Extension object with the matching name (postfixed with _Feed)
Inherited from: \Zend_Feed_Reader_FeedAbstract::getExtension()Name | Type | Description |
---|---|---|
$name | string |
Type | Description |
---|---|
\Zend_Feed_Reader_Extension_FeedAbstract |

getFeedLink(
)
:
string|null
Get a link to the feed's XML Url
Inherited from: \Zend_Feed_Reader_Feed_Atom::getFeedLink()Type | Description |
---|---|
stringnull |

getGenerator(
)
:
string|null
Get the feed generator entry
Inherited from: \Zend_Feed_Reader_Feed_Atom::getGenerator()Type | Description |
---|---|
stringnull |

getHubs(
)
:
array|null
Get an array of any supported Pusubhubbub endpoints
Inherited from: \Zend_Feed_Reader_Feed_Atom::getHubs()Type | Description |
---|---|
arraynull |

getId(
)
:
string|null
Get the feed ID
Inherited from: \Zend_Feed_Reader_Feed_Atom::getId()Type | Description |
---|---|
stringnull |

getImage(
)
:
array|null
Get feed image data
Inherited from: \Zend_Feed_Reader_Feed_Atom::getImage()Type | Description |
---|---|
arraynull |

getLanguage(
)
:
string|null
Get the feed language
Inherited from: \Zend_Feed_Reader_Feed_Atom::getLanguage()Type | Description |
---|---|
stringnull |

getLastBuildDate(
)
:
string|null
Get the feed lastBuild date. This is not implemented in Atom.
Inherited from: \Zend_Feed_Reader_Feed_Atom::getLastBuildDate()Type | Description |
---|---|
stringnull |

getLink(
)
:
string|null
Get a link to the source website
Inherited from: \Zend_Feed_Reader_Feed_Atom::getLink()Type | Description |
---|---|
stringnull |

getOriginalSourceUri(
)
:
string|null
Get an original source URI for the feed being parsed. Returns null if unset or the feed was not imported from a URI.
Inherited from: \Zend_Feed_Reader_FeedAbstract::getOriginalSourceUri()Type | Description |
---|---|
stringnull |

getTitle(
)
:
string|null
Get the feed title
Inherited from: \Zend_Feed_Reader_Feed_Atom::getTitle()Type | Description |
---|---|
stringnull |

getType(
)
:
string
Get the feed type
Inherited from: \Zend_Feed_Reader_FeedAbstract::getType()Type | Description |
---|---|
string |

getXpath(
)
:
\DOMXPath
Get the DOMXPath object for this feed
Inherited from: \Zend_Feed_Reader_FeedAbstract::getXpath()Type | Description |
---|---|
\DOMXPath |

saveXml(
)
:
string
Get feed as xml
Inherited from: \Zend_Feed_Reader_FeedAbstract::saveXml()Type | Description |
---|---|
string |

setOriginalSourceUri(
string $uri
)
:
void
Set an original source URI for the feed being parsed. This value is returned from getFeedLink() method if the feed does not carry a self-referencing URI.
Inherited from: \Zend_Feed_Reader_FeedAbstract::setOriginalSourceUri()Name | Type | Description |
---|---|---|
$uri | string |