Constructor: Primarily triggers the registration of core extensions and loads those appropriate to this data container.
Set a single author
The following option keys are supported: ‘name’ => (string) The name ‘email’ => (string) An optional email ‘uri’ => (string) An optional and valid URI
Parameters: | array – |
---|---|
Throws ExceptionInvalidArgumentException: | |
If any value of $author not follow the format. | |
Return type: | Entry |
Set an array with feed authors
Parameters: | array – |
---|---|
Return type: | Entry |
Set the feed character encoding
Parameters: | string – |
---|---|
Throws ExceptionInvalidArgumentException: | |
Return type: | Entry |
Set the copyright entry
Parameters: | string – |
---|---|
Throws ExceptionInvalidArgumentException: | |
Return type: | Entry |
Set the entry’s content
Parameters: | string – |
---|---|
Throws ExceptionInvalidArgumentException: | |
Return type: | Entry |
Set the feed creation date
Parameters: | string|null|DateTime – |
---|---|
Throws ExceptionInvalidArgumentException: | |
Return type: | Entry |
Set the feed modification date
Parameters: | string|null|DateTime – |
---|---|
Throws ExceptionInvalidArgumentException: | |
Return type: | Entry |
Set the feed description
Parameters: | string – |
---|---|
Throws ExceptionInvalidArgumentException: | |
Return type: | Entry |
Set the feed ID
Parameters: | string – |
---|---|
Throws ExceptionInvalidArgumentException: | |
Return type: | Entry |
Set a link to the HTML source of this entry
Parameters: | string – |
---|---|
Throws ExceptionInvalidArgumentException: | |
Return type: | Entry |
Set the number of comments associated with this entry
Parameters: | int – |
---|---|
Throws ExceptionInvalidArgumentException: | |
Return type: | Entry |
Set a link to a HTML page containing comments associated with this entry
Parameters: | string – |
---|---|
Throws ExceptionInvalidArgumentException: | |
Return type: | Entry |
Set a link to an XML feed for any comments associated with this entry
Parameters: | array – |
---|---|
Throws ExceptionInvalidArgumentException: | |
Return type: | Entry |
Set a links to an XML feed for any comments associated with this entry. Each link is an array with keys “uri” and “type”, where type is one of: “atom”, “rss” or “rdf”.
Parameters: | array – |
---|---|
Return type: | Entry |
Set the feed title
Parameters: | string – |
---|---|
Throws ExceptionInvalidArgumentException: | |
Return type: | Entry |
Get the number of comments/replies for current entry
Return type: | integer |
---|
Returns a URI pointing to the HTML page where comments can be made on this entry
Return type: | string |
---|
Returns an array of URIs pointing to a feed of all comments for this entry where the array keys indicate the feed type (atom, rss or rdf).
Return type: | string |
---|
Add a entry category
Parameters: | array – |
---|---|
Throws ExceptionInvalidArgumentException: | |
Return type: | Entry |
Set an array of entry categories
Parameters: | array – |
---|---|
Return type: | Entry |
Adds an enclosure to the entry. The array parameter may contain the keys ‘uri’, ‘type’ and ‘length’. Only ‘uri’ is required for Atom, though the others must also be provided or RSS rendering (where they are required) will throw an Exception.
Parameters: | array – |
---|---|
Throws ExceptionInvalidArgumentException: | |
Return type: | Entry |
Retrieve an array of all enclosures to be added to entry.
Return type: | array |
---|
Unset a specific data point
Parameters: | string – |
---|---|
Return type: | Entry |
Return an Extension object with the matching name (postfixed with _Entry)
Parameters: | string – |
---|---|
Return type: | object |
Set the current feed type being exported to “rss” or “atom”. This allows other objects to gracefully choose whether to execute or not, depending on their appropriateness for the current type, e.g. renderers.
Parameters: | string – |
---|---|
Return type: | Entry |
Retrieve the current or last feed type exported.
Return type: | string Value will be “rss” or “atom” |
---|
Method overloading: call given method on first extension implementing it
Parameters: |
|
---|---|
Return type: | mixed |
Throws : | ExceptionBadMethodCallException if no extensions implements the method |
Creates a new Zend_Feed_Writer_Source data container for use. This is NOT added to the current feed automatically, but is necessary to create a container with some initial values preset based on the current feed data.
Return type: | Source |
---|