Feed/Entry/Abstract.php
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 [email protected] 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_Feed
- Version
- $Id$
\Zend_Feed_Entry_Abstract
Package: Zend_Feed
Throws
Zend_Feed_Entry_Abstract represents a single entry in an Atom or RSS
feed.
- Parent(s)
- \Zend_Feed_Element
- Children
- \Zend_Feed_Entry_Rss
- \Zend_Feed_Entry_Atom
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Properties
string $_rootElement
Root XML element for entries. Subclasses must define this to a
non-null value.
Details
- Type
- string
Methods
__construct(string $uri = null, \SimpleXMLElement | \DOMNode | string $element = null) : void
Zend_Feed_Entry_Abstract constructor
The Zend_Feed_Entry_Abstract constructor takes the URI of the feed the entry
is part of, and optionally an XML construct (usually a
SimpleXMLElement, but it can be an XML string or a DOMNode as
well) that contains the contents of the entry.
ParametersName | Type | Description |
---|---|---|
$uri | string | |
$element | \SimpleXMLElement | \DOMNode | string |
Exception | Description |
---|---|
\Zend_Feed_Exception |