Zend_Feed_Abstract::__construct
Feed constructor
The Zend_Feed_Abstract constructor takes the URI of a feed or a feed represented as a string and loads it as XML.
Signature
public function __construct([string
$uri = NULL,
[string
$string = NULL,
[Zend_Feed_Builder_Interface
$builder = NULL]]] )
Parameters
$uri
— string- The full URI of the feed to load, or NULL if not retrieved via HTTP or as an array.
$string
— string- The feed as a string, or NULL if retrieved via HTTP or as an array.
$builder
— Zend_Feed_Builder_Interface- The feed as a builder instance or NULL if retrieved as a string or via HTTP.
Returns
- void
Errors/Exceptions
-
Zend_Feed_Exception
- If loading the feed failed.