create()
create(\DOMDocument $doc, $uri = null) : \Horde_Feed_Base
Create a Feed object based on a DOMDocument.
Parameters
\DOMDocument | $doc | The DOMDocument object to import. |
$uri |
Throws
- \Horde_Feed_Exception
Returns
\Horde_Feed_Base —The feed object imported from $doc