AtomRenderer
Extends DocumentRendererAtomRenderer is a feed that implements the atom specification
Please note that just by using this class you won't automatically produce valid atom files. For example, you have to specify either an editor for the feed or an author for every single feed item.
link | |
---|---|
since |
3.5 |
property-read FeedDocument |
Reference to the Document object that instantiated the renderer |
package |
Joomla CMS |
Methods
__construct
Class constructor
__construct(\Joomla\CMS\Document\Document doc) :
since |
1.7.0 |
---|
Arguments
- doc
Document
A reference to the Document object that instantiated the renderer
Response
mixed
_relToAbs
Convert links in a text from relative to absolute
_relToAbs( text) :
since |
1.7.0 |
---|
Arguments
- text
string
The text processed
Response
string
Text with converted links
getContentType
Return the content type of the renderer
getContentType() :
since |
1.7.0 |
---|
Response
string
The contentType
render
Render the feed.
render( name = '', mixed||string|int params = null, content = null) :
see | DocumentRenderer::render() |
---|---|
since |
3.5 |
Arguments
- name
string
The name of the element to render- params
array<string|int, mixed>
Array of values- content
string
Override the output of the renderer
Response
string
The output of the script
Properties
_doc
Reference to the Document object that instantiated the renderer
_doc
Reference to the Document object that instantiated the renderer
_mime
Document mime type
since |
3.5 |
---|
Type(s)
string